TL;DR
When fine-tuning large language models, standard adapters like LoRA modify weights freely without preserving their underlying geometric symmetries. CORA (Coherent Orthogonal Rotation Adaptation) instead breaks weight matrices into thin row slices, decomposes them via Singular Value Decomposition (SVD), and rotates each slice's input and output coordinate frames together using a single shared rotation alongside a tiny scaling vector. The result? Better reasoning and coding performance than LoRA and DoRA while training just one-sixth to one-eighth of the parameters—and zero inference overhead once merged.
What Problem Does This Paper Address?
Adapting massive pretrained models from scratch is prohibitively expensive, which is why Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA have taken over. LoRA freezes the base weight $W_0$ and learns a cheap low-rank update $\Delta W = BA$. While practical, this leaves an open geometric question: how should an adapter actually steer a pretrained matrix?
Every matrix can be viewed through its SVD ($W_0 = U_0 \Sigma_0 V_0^\top$) as three distinct components: an input coordinate basis ($V_0$), singular values that scale signals ($\Sigma_0$), and an output coordinate basis ($U_0$). Recent SVD-based adapters initialize updates using parts of this decomposition, while orthogonal fine-tuning methods (like OFT) rotate only one basis and freeze the singular values entirely.
Theoretical work on "low-disruption" fine-tuning suggests a cleaner path: rotating both the left ($U_0$) and right ($V_0$) bases using the exact same orthogonal matrix, while gently scaling the singular values. However, learning a full $d \times d$ rotation matrix for a giant LLM layer would require millions of parameters—more than LoRA itself! The authors tackle how to enforce this coupled geometric structure on a tiny parameter budget.
Methods
CORA makes coherent rotation cheap by applying it locally to row slices rather than the entire matrix at once:
- Offline Truncation & Slicing: Given an $m \times k$ weight matrix $W_0$, CORA extracts its top-$r$ singular components ($W_{\text{lr}}$) and freezes the remaining residual ($W_0 - W_{\text{lr}}$). It then chops $W_{\text{lr}}$ horizontally into $s = m/r$ contiguous row slices of height $r$, computing and caching each slice's mini-SVD ($W_i = U_i \Sigma_i V_i^\top$).
- Coherent Rotation + Shared Scale: During training, each slice learns one $r \times r$ orthogonal rotation matrix (generated cleanly from skew-symmetric free parameters via a Cayley map, avoiding expensive orthogonality penalties). Crucially, this single rotation updates both $U_i$ and $V_i$ simultaneously. Meanwhile, a single learnable vector $\boldsymbol{\delta} \in \mathbb{R}^r$, shared across all slices of the layer, multiplicatively nudges the singular values.
- Zero-Cost Deployment: Initialized at zero, CORA recovers the exact pretrained model at step zero, and once training finishes, the adapted slices merge seamlessly back into a standard dense matrix for inference.
Because each $r \times r$ skew-symmetric generator only needs $r(r-1)/2$ numbers, CORA uses just $\frac{1}{2}m(r-1) + r$ parameters per matrix—completely independent of the input dimension $k$, and roughly one-quarter of LoRA's parameter count at the same rank.
Datasets
The authors rely on established instruction-tuning benchmarks (no new datasets are introduced):
- Commonsense Reasoning: Trained on
commonsense_170k; evaluated across BoolQ, PIQA, SIQA, HellaSwag, WinoGrande, ARC-Easy, ARC-Challenge, and OpenBookQA. - Code Generation: Trained on CodeAlpaca; evaluated via HumanEval (Pass@1).
- Mathematical Reasoning: Trained on MetaMathQA; evaluated on GSM8K and MATH.
Key Insights and Ideas
- Full fine-tuning naturally rotates frames together: Is tying the left and right rotations an artificial constraint? Diagnostics across 60,480 slices of fully fine-tuned LLaMA-3.2-3B models reveal that standard, unconstrained training naturally moves a slice's left and right singular frames in near-lockstep (a normalized discrepancy of ~0.016, compared to $\sqrt{2} \approx 1.41$ for independent rotations). CORA bakes an organic phenomenon directly into its architecture.
- Dropping the right-side rotation hurts badly: In controlled coding ablations on Mistral-7B, keeping the exact same trainable parameters while simply omitting the coupled right-frame rotation drops HumanEval accuracy by 2.4 to 9.8 points. Both sides of the rotation genuinely matter.
- Math gives us an exact "disruption" meter: The authors prove an exact mathematical identity showing that the displacement cost of mixing two singular directions within a slice is weighted by the squared gap between their singular values. Mixing directions with similar singular values barely disturbs the pretrained weights.
- Tiny spectral nudges unlock low ranks: Learned singular-value adjustments ($\boldsymbol{\delta}$) have a median magnitude of just 0.09%–0.22%, almost never swapping singular-value orderings—yet including $\boldsymbol{\delta}$ boosts commonsense accuracy at rank $r=8$ by a whopping 13.8 points.
Key Results
- Commonsense Reasoning: On LLaMA-2-7B, CORA ($r=16$, 6.6M params) hits 81.8%, beating LoRA (77.6%) and DoRA (79.7%) despite their ~57M parameter budgets. On LLaMA-3-8B, CORA ($r=16$, 10.3M params) scores 86.5%, topping DoRA's 85.2% (63M params).
- Code Generation: On HumanEval, CORA reaches 48.2% on LLaMA-3-8B ($r=16$, 10.3M params) and 40.9% on Mistral-7B ($r=32$, 21.3M params), outperforming published LoRA, DoRA, LoRI-D, and DiaBlo baselines (which use 44M–122M params).
- Math Reasoning: CORA matches or beats Gaussian LoRA on GSM8K across LLaMA-2-7B (62.0% at 27.6M params vs. LoRA's 60.6% at 113M), Mistral-7B (70.0%), and Gemma-7B (75.1%), though PiSSA remains stronger on the harder MATH benchmark. Furthermore, adapting principal singular components substantially outperforms adapting minor components (70.0/18.0 vs. 61.9/15.1 on Mistral-7B).
Limitations and Future Work
- Unmeasured Wall-Clock & Memory Costs: Saving trainable parameters isn't completely free—CORA requires offline SVD preprocessing and caching frozen slice factors during training (~85.9 MB in BF16 for LLaMA-2-7B at $r=16$). End-to-end preprocessing times, training throughput (step times for Cayley linear solves), and peak GPU memory were not benchmarked.
- Comparison Scope: Most baseline scores were pulled from published literature rather than re-run in paired, head-to-head pipelines, and experiments top out at 13B-parameter models on instruction-tuning tasks. Future directions are not explicitly discussed in the paper.
Summary updated