[Paper Review] Chain of LoRA: Efficient Fine-tuning of Language Models via Residual Learning
COLA iteratively learns a chain of low-rank LoRA modules, merges them progressively into the backbone, and reinitializes for new modules, achieving better generalization than LoRA with no extra compute during inference.
Fine-tuning is the primary methodology for tailoring pre-trained large language models to specific tasks. As the model's scale and the diversity of tasks expand, parameter-efficient fine-tuning methods are of paramount importance. One of the most widely used family of methods is low-rank adaptation (LoRA) and its variants. LoRA encodes weight update as the product of two low-rank matrices. Despite its advantages, LoRA falls short of full-parameter fine-tuning in terms of generalization error for certain tasks. We introduce Chain of LoRA (COLA), an iterative optimization framework inspired by the Frank-Wolfe algorithm, to bridge the gap between LoRA and full parameter fine-tuning, without incurring additional computational costs or memory overheads. COLA employs a residual learning procedure where it merges learned LoRA modules into the pre-trained language model parameters and re-initilize optimization for new born LoRA modules. We provide theoretical convergence guarantees as well as empirical results to validate the effectiveness of our algorithm. Across various models (OPT and llama-2) and seven benchmarking tasks, we demonstrate that COLA can consistently outperform LoRA without additional computational or memory costs.
Motivation & Objective
- Motivate parameter-efficient fine-tuning as models grow and task diversity expands.
- Close the generalization gap between LoRA and full-parameter fine-tuning without extra cost.
- Develop an iterative residual-learning framework that merges learned modules into the backbone to improve adaptation.
Proposed method
- Form a chain of LoRA modules to approximate the task-specific weight update as a sum of low-rank terms.
- At each step: train a new LoRA (A_i, B_i) while keeping previous backbone weights fixed.
- Tie a knot by merging the current LoRA (B_i A_i) into the frozen backbone weights, then Extend the chain by reinitializing a new LoRA for the residual.
Experimental results
Research questions
- RQ1Can a chain of residual LoRA updates close the generalization gap with LoRA while maintaining the same computational footprint?
- RQ2Does iterative merging and extension (COLA) yield better task adaptation across different model architectures and datasets?
- RQ3What convergence properties does COLA exhibit in the nonconvex, stochastic optimization setting?
Key findings
- COLA consistently outperforms LoRA across seven tasks on OPT-1.3B with the same training budget.
- On OPT-1.3B, COLA achieves a relative 6.47% test accuracy gain on WSC over LoRA.
- On OPT-1.3B, COLA achieves relative improvements of 1.95% (BoolQ) and 2.29% (RTE) over LoRA.
- On Llama2-7B, COLA improves RTE from 82.09 to 85.70, a relative gain of 4.40%.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.