Canonical Rank Adaptation: An Efficient Fine-Tuning Strategy for Vision Transformers
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
MajorEvidence and reasoning
Problem statement
Section 3.3, pp. 5–6, explicitly introduces a loss function and states its gradients with respect to 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- tensor, although the derivative of a scalar loss with respect to scalar 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
Differentiable scalar loss; effective W=W0+ sum(lambda outer factors). FFN ,d2,R1,shape9x2x2; ,all factors first basis vectors.
Proof
Assessment: Major; outcome: issue found.
Let for a differentiable scalar loss. Direct differentiation of the displayed formula gives 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
For an explicit example satisfying the paper’s dimensions, take the feed-forward formulation with and hence shape Let all three factors be their first standard basis vectors, and No paper assumption excludes this differentiable loss or these parameter values. Only update entry is nonzero, equal to Therefore and for each factor. The corresponding entry of the printed outer product or uncontracted Jacobian is it also has the wrong output shape. Exact rational central differences of this quadratic loss reproduce and without author-code execution (`verification/0293/check.py` and `check.json`).
Possible revision
For G=dL/dW, coefficient gradient inner(G,outer factors); factor gradient lambda contraction(G,other factors).
Problem 2. Released training selects checkpoints using test labels
MajorEvidence and reasoning
Problem statement
Section 4.1, p. 6, describes the VTAB-1k protocol with training and validation samples. The released training route in `image_classification/vit_cp.py`, around lines – calls `get_data(evaluate=True)` and passes its second loader into `train`. In `image_classification/vtab.py`, lines – 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 – epochs …, 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 the reported statistic is which is pathwise at least each individual score. It is not an untouched evaluation of a checkpoint selected independently of test labels.
Combining the and 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.
Possible revision
Select by validation and use final test once; complete revised run not performed.
Problem 3. Evaluation mode persists into subsequent training
MinorEvidence 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.
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.