ELVIA.Evidence Atlas
ICML 2025ELVIA assessment Major

Canonical Rank Adaptation: An Efficient Fine-Tuning Strategy for Vision Transformers

Lokesh Veeramacheneni, Moritz Wolter, Hilde Kuehne, Juergen Gall

ELVIA analysis

Independent review pending

The core CP fine-tuning parameterization is dimensionally consistent, but the scalar-loss gradients stated in Section 3.3 are tensor Jacobians without the required chain-rule contraction. An admissible rank-one example gives true derivatives 18 and 36 where the displayed objects have an active entry 1. This is a Major defect in a derivation directly concerning the central method. The released training interface also selects checkpoints using test labels and fails to restore training mode after intermediate evaluation. Test-based checkpoint selection is Major for the frozen release’s core evaluation protocol; the training-mode defect remains Minor. Their connection to the historical reported runs is unresolved. The inspected source uses ordinary autograd, which is important counterevidence against inferring incorrect training gradients. Scientific adjudication remains pending.

Problem 1. Scalar-loss gradients omit the chain rule

Major
Evidence and reasoning

Problem statement

Section 3.3, pp. 5–6, explicitly introduces a loss function LL and states its gradients with respect to λr\lambda_r and individual factor vectors in Equations (12)–(20). For example, the coefficient gradient is given as the outer product of the factors. This is an order-mm tensor, although the derivative of a scalar loss with respect to scalar λr\lambda_r must be scalar. Factor derivatives are similarly given as outer products involving an identity matrix, which are Jacobians of the tensor update, not factor-shaped gradients of L.L.

Differentiable scalar loss; effective W=W0+α\alpha sum(lambda outer factors). FFN l=1l=1,d2,R1,shape9x2x2; α=3,\alpha=3,λ1=2\lambda_1=2,all factors first basis vectors.

Proof

Assessment: Major; outcome: issue found.

Let G=∇WeffLG=\nabla_{W_{\rm eff}}L for a differentiable scalar loss. Direct differentiation of the displayed formula gives ∂L∂λr=α⟨G,◯j=1mar(j)⟩,[∇ar(k)L]t=αλr ⁣∑{ij:j≠k}Gi1…ik−1tik+1…im∏j≠kaijr(j).\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 λr.\lambda_r.

For an explicit example satisfying the paper’s dimensions, take the feed-forward formulation with l=1,l=1, dmodel=2,d_{\rm model}=2, R=1,R=1, and hence shape 9×2×2.9\times2\times2. Let all three factors be their first standard basis vectors, α=3,\alpha=3, λ1=2,\lambda_1=2, and L=12∥Weff−W0∥F2.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)(1,1,1) is nonzero, equal to 6.6. Therefore L=18,L=18, ∂L/∂λ1=18,\partial L/\partial\lambda_1=18, and ∇a1(k)L=36e1\nabla_{a_1^{(k)}}L=36e_1 for each factor. The corresponding entry of the printed outer product or uncontracted Jacobian is 1;1; it also has the wrong output shape. Exact rational central differences of this quadratic loss reproduce 1818 and 36,36, without author-code execution (`verification/0293/check.py` and `check.json`).

□\square

Possible revision

For G=dL/dW, coefficient gradient α\alpha inner(G,outer factors); factor gradient α\alpha lambda contraction(G,other factors).

Problem 2. Released training selects checkpoints using test labels

Major
Evidence and reasoning

Problem statement

Section 4.1, p. 6, describes the VTAB-1k protocol with 800800 training and 200200 validation samples. The released training route in `image_classification/vit_cp.py`, around lines 152152–198,198, calls `get_data(evaluate=True)` and passes its second loader into `train`. In `image_classification/vtab.py`, lines 8383–94,94, this choice maps the first loader to `train800val200.txt` and the second to `test.txt`. The finding assumes those named lists have their advertised split meanings and the ordinary training branch is used. No dataset bytes were inspected.

Ordinary training branch; train800val200/test file names have advertised split meanings.

Proof

Assessment: Major for the frozen release’s core evaluation protocol; historical empirical impact: Needs Evidence.

Inside `train`, lines 5757–68,68, epochs 10,10, 20,20, …, 9090 trigger evaluation on that second loader; a higher score updates `args.best_acc` and saves the associated checkpoint. Final evaluation also participates in the comparison, and the reported accuracy is the retained best value. Thus the procedure both chooses a checkpoint and reports a maximum using labels from `test.txt`. For evaluated accuracies a^1,…,a^J,\widehat a_1,\ldots,\widehat a_J, the reported statistic is max⁡ja^j,\max_j\widehat a_j, which is pathwise at least each individual score. It is not an untouched evaluation of a checkpoint selected independently of test labels.

Combining the 800800 and 200200 samples for a final fit can be legitimate after model selection; that fact alone is not the defect. The available `evaluate=False` branch provides a validation loader, but this training entry point does not select it. These observations come from reading the complete training and loader files, with archive correspondence independently checked in `a1.json`.

This is a Major defect in the frozen release’s core evaluation protocol: test labels determine both checkpoint selection and the reported maximum. The direct dependency is test-loader labels to checkpoint choice to the reported VTAB accuracy, so the procedure no longer supplies an independent held-out evaluation. The magnitude of selection bias cannot be determined without predictions or reruns. The present commit is not bound to the historical runs underlying Table 2, so those scores are not declared contaminated. This provenance limitation bounds attribution to historical experiments; it does not remove the demonstrated failure of the inspected core evaluation procedure. A protocol using validation scores for selection and one final held-out test evaluation would remove this selection path; a corrected end-to-end training run has not been verified.

□\square

Possible revision

Select by validation and use final test once; complete revised run not performed.

Problem 3. Evaluation mode persists into subsequent training

Minor
Evidence and reasoning

Problem statement

Training loop performs100epochs with intermediate evaluation.

First periodic evaluation reached; dropout-sensitive modules exist as declared.

Proof

Assessment: Minor; outcome: issue found in the release.

In `vit_cp.py`, `model.train()` is called before the epoch loop. The first intermediate `test()` calls `model.eval()`, and neither its return path nor subsequent epochs restore training mode. The next optimizer updates therefore run in evaluation mode. The inspected CaRA forward path contains dropout, so this changes the training-time stochastic behavior after the first intermediate evaluation. Gradients continue to run: evaluation mode does not itself disable autograd.

This trace is independent of which split the evaluation loader contains. The source does not document such a schedule as intentional. Its numerical effect and connection to historical experiments remain unknown. Restoring the prior training state after evaluation is the local proposed correction, but no author code was edited or executed and no training outcome is certified.

□\square

Possible revision

Restore prior training state after evaluation; no author code modified or run.

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

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.

Published ICML 2025 proceedings PDF (PMLR 267); PDF p. 1, Abstract

Actual review scope

The recorded inspection concerns these source locations: PDF pp. 5–6 Eqs12–20 PDF pp. 13–14 AppendixA; image_classification/vit_cp.py lines57–68,152–198 image_classification/vtab.py lines83–94 PDF p. 6 Section 4.1; image_classification/vit_cp.py lines19–20,57–75 src/cara/cara.py dropout forward.

Submit an author revisionContribute a review