Curvature-Guided LoRA: Matching Full Fine-Tuning in Function Space
Organizations: KTH, Stockholm, Sweden
Abstract
Parameter-efficient fine-tuning methods such as LoRA enable efficient adaptation of large pretrained models, but often lag behind full fine-tuning in both convergence speed and final performance. Recent approaches aim to reduce this gap by aligning LoRA parameter updates with those of full fine-tuning, but such parameter-space alignment only indirectly controls model predictions. Instead, we adopt a function-space perspective and formulate the prediction alignment problem, whose objective is to match the outputs of LoRA fine-tuning to those of full fine-tuning. We show that this objective naturally leads to a curvature-aware, second-order formulation, where optimal low-rank updates correspond to a Newton-like, curvature-whitened gradient. Based on this insight, we propose Curvature-Guided LoRA (CG-LoRA), an algorithm that selects adaptation directions using local curvature information. Our method is computationally efficient and avoids explicit second-order matrix construction. Experiments on standard natural language understanding benchmarks demonstrate improved performance and faster convergence compared to existing LoRA variants.
Figures & tables
| GSM8K | MMLU | HumanEval | |
| rsLoRA | |||
| LoRA-GA | |||
| LoRA-One | 45.20 ±0.15 | ||
| CG-LoRA (shift) | 53.44 ±0.24 | 43.65 ±0.36 | 20.73 ±0.29 |
| CG-LoRA (no shift) | 56.10 ±0.21 | 45.50 ±0.22 | 23.17 ±0.18 |
| LoRA training (memory) | CG-LoRA (memory) | CG-LoRA (init time) | LoRA-GA/One (memory) | LoRA-GA/One (init time) |
| 23 GiB | 17.7GiB | 20s | 18.8 GiB | 79s |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Algorithm | Computational cost | Memory cost |
| Algorithms 1 and 4 | Algos 2 + 3 | Algos 2 + 3 |
| Algorithm 2 | ||
| Algorithm 3 |
| CoLA | MRPC | |
| RoBERTa-base, Algo 4 | 80.76 ±0.45 | 85.04 ±1.70 |
| RoBERTa-base, Algo 1 | ||
| T5-base, Algo 4 | 80.24 ±0.61 | 85.94 ±0.50 |
| T5-base, Algo 1 | 79.89 ±0.19 |
Low-Rank Adaptation
Low-rank adaptation (LoRA) fine-tunes pretrained models with compact weight updates, reducing trainable parameters and deployment costs.
See all 542 papers