ELVIA.Evidence Atlas
← Back to analysis

AI context

ELVIA analysis of: Canonical Rank Adaptation: An Efficient Fine-Tuning Strategy for Vision Transformers — Problem 1: Scalar-loss gradients omit the chain rule

Original paper: Lokesh Veeramacheneni; Moritz Wolter; Hilde Kuehne; Juergen Gall. Canonical Rank Adaptation: An Efficient Fine-Tuning Strategy for Vision Transformers. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/veeramacheneni25a.html
Source version: Published ICML 2025 proceedings PDF (PMLR 267)
Source location: PDF pp. 5–6 Eqs12–20 PDF pp. 13–14 AppendixA

Question: What does the recorded analysis establish about “Scalar-loss gradients omit the chain rule”?
Bounded finding:
Appendix A, pp. 13–14, differentiates the tensor-valued update \(\mathcal F_z\) rather than scalar \(L\), and explicitly absorbs \(\lambda_z\) into the first factor after Equation (23). Those statements supply a valid Jacobian interpretation and explain the origin of the displayed objects. They do not make the main-text equations gradients of an arbitrary scalar loss in the original coordinates, where the coefficient is separately learned. The source retains a separate trainable coefficient. Source-page images `s05.png` and `s13.png` were inspected to exclude an extraction error.
The invalid derivation directly concerns optimization of the paper’s principal parameterization and supports Major under the specified calibration. Equations the displayed formula–the displayed formula are a locally verified correction by the chain rule, with no changed parameter domain. This does not establish an erroneous benchmark computation: Section 3.3 says autograd is used, and the inspected source reconstructs CP tensors with TensorLy’s PyTorch backend, applies the scale in the forward pass, and calls `loss.backward()`. It does not implement the erroneous displayed expressions as a custom backward rule. The CP construction and empirical results may survive this derivation error.
Missing upstream gradient contraction, scale and original-coordinate coefficient factors. Invalid derivation directly concerns core method; does not establish wrong autograd gradients or benchmark scores.

Recorded check:
Assessment: Major; outcome: issue found.
Let \(G=\nabla_{W_{\rm eff}}L\) for a differentiable scalar loss. Direct differentiation of the displayed formula gives \[\begin{aligned}
 \frac{\partial L}{\partial\lambda_r}
 &=\alpha\left\langle G,\bigcirc_{j=1}^{m}a_r^{(j)}\right\rangle,\\
 \left[\nabla_{a_r^{(k)}}L\right]_t
 &=\alpha\lambda_r\!
 \sum_{\{i_j:j\ne k\}}
 G_{i_1\ldots i_{k-1}t i_{k+1}\ldots i_m}
 \prod_{j\ne k}a_{i_jr}^{(j)}.\end{aligned}\] These formulas include the upstream loss gradient, its contraction over tensor indices, and the forward scale. In the original independent-parameter coordinates, the factor derivative also includes \(\lambda_r\).
For an explicit example satisfying the paper’s dimensions, take the feed-forward formulation with \(l=1\), \(d_{\rm model}=2\), \(R=1\), and hence shape \(9\times2\times2\). Let all three factors be their first standard basis vectors, \(\alpha=3\), \(\lambda_1=2\), and \[L=\tfrac12\|W_{\rm eff}-W_0\|_F^2.\] No paper assumption excludes this differentiable loss or these parameter values. Only update entry \((1,1,1)\) is nonzero, equal to \(6\). Therefore \(L=18\), \(\partial L/\partial\lambda_1=18\), and \(\nabla_{a_1^{(k)}}L=36e_1\) for each factor. The corresponding entry of the printed outer product or uncontracted Jacobian is \(1\); it also has the wrong output shape. Exact rational central differences of this quadratic loss reproduce 18 and 36, without author-code execution (`verification/0293/check.py` and `check.json`).

Case-wide limitations:
- Scalar-loss gradients omit the chain rule — Counterevidence: AppendixA validly computes tensor-update Jacobians and absorbs lambda into first factor. Current implementation uses autograd and separate lambda, not displayed custom backward.
- Released training selects checkpoints using test labels — Counterevidence: Combined1000-sample final fit may be legitimate; other branch offers validation; commit not bound to historical paper runs.
- Evaluation mode persists into subsequent training — Counterevidence: Autograd continues; no measured effect or historical provenance; possible intentional schedule not documented.
- Limitations: No author code/tests/training/weight or dataset downloads.
- Limitations: Historical run provenance not established.
- Limitations: Swin/GLUE and saliency experiments not reproduced; AppendixD tables not comprehensively recalculated.
- Limitations: External OpenReview supplementary discovery unavailable.
- The original report's complete scope, counterevidence and unresolved questions are retained below.
- This import checks publication format and identity; it does not repeat scientific review.
- Independent human scientific review is pending; author adoption has not been requested.
Source problem ID: p1
Source report index: 1

Original source excerpts (verbatim):
Experimentally, CaRA outperforms existing Parameter-Efficient Fine-Tuning (PEFT) methods in visual classification benchmarks such as the Visual Task Adaptation Benchmark (VTAB)-1k and the Fine-Grained Visual Categorization (FGVC) benchmark.
Source: Published ICML 2025 proceedings PDF (PMLR 267)
Locator: PDF p. 1, Abstract
Source PDF SHA-256: 83d16e616b221a18926cc03ed30f50ad5b9988d99bbd93128cbcee1d40056436

Review status: Independent review pending
Case: icml2025-0293-canonical-rank-adaptation-an-efficient-fine-tuning-strategy-for-vi
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0293-canonical-rank-adaptation-an-efficient-fine-tuning-strategy-for-vi.html#problem-1
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0293-canonical-rank-adaptation-an-efficient-fine-tuning-strategy-for-vi/records/icml2025-0293-canonical-rank-adaptation-an-efficient-fine-tuning-strategy-for-vi.r1.json
Canonical record SHA-256: 99b1eb294c12c7ae0488746b5159dcfaba7c2fe68eb157f2d9acce587bee426a
The page follows the latest revision; the versioned record identifies this snapshot.