A Margin Perspective on LoRA: Robustness to Catastrophic Forgetting and Adapter Merging (MaLoRA)
Not on the map. Why?
Abstract (arXiv)
Low-rank adaptation (LoRA) is the de facto method for parameter-efficient fine-tuning of large neural networks, achieving strong task adaptation with minimal trainable parameters and low optimization cost. Beyond this efficiency, practitioners have observed two striking properties: textitrobustness to catastrophic forgetting and the ability to textitmerge independently trained adapters into a single model that performs competitively across multiple tasks. These properties are central to continual and multi-task learning, yet remain poorly understood. In this work, we provide a theoretical explanation through a unified textitmargin-based perspective. We analyze LoRA in multiclass linear classification under a near-orthogonal task regime with ℓ2-regularization, and characterize the optimal LoRA adapter across regularization regimes. Our analysis shows that, in an intermediate regime of regularization parameters, the optimal adapter aligns with the max-margin solution on the fine-tuning data. Building on this characterization, we derive two key consequences. First, we obtain closed-form expressions for the margins on pre-training and fine-tuning data, revealing a precise margin trade-off: the regularization parameter controls the balance between retention and adaptation. Second, we analyze adapter merging, proving that merged models achieve positive margin on each task and deriving optimal mixing coefficients that balance margins across tasks and maximize the margin over their union. These results lead to a simple, training-free merging rule, which we term textitmargin-based LoRA merging (MaLoRA). Experiments on modern architectures and real datasets validate our theoretical predictions, showing that MaLoRA matches or outperforms several adapter-merging baselines across a range of vision and language classification tasks.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 18 of its 62 references that are in the map. Submitted 10 Nov 2026.
Builds on
18 of 62 references.
References · 18
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 31,277
- 2017Decoupled Weight Decay Regularizationcited by 2,165
- 2022Editing Models with Task Arithmeticcited by 1,272
- 2017Deeper, Broader and Artier Domain Generalizationcited by 998
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 916
- 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 425
- 2023LoraHub: Efficient Cross-Task Generalization via Dynamic LoRA Compositioncited by 404
- 2024LoRA Learns Less and Forgets Lesscited by 387
- 2019Gradient Descent Maximizes the Margin of Homogeneous Neural Networkscited by 339
- 2023The Expressive Power of Low-Rank Adaptationcited by 111
- 2024LoraRetriever: Input-Aware LoRA Retrieval and Composition for Mixed Tasks in the Wildcited by 73
- 2024LoRA Training in the NTK Regime has No Spurious Local Minimacited by 54
6 more
- 2022Implicit Bias in Leaky ReLU Networks Trained on High-Dimensional Datacited by 48
- 2023Neural Collapse for Unconstrained Feature Model under Cross-entropy Loss with Imbalanced Datacited by 41
- 2024LoRA-Flow: Dynamic LoRA Fusion for Large Language Models in Generative Taskscited by 41
- 2023Continual Learning with Low Rank Adaptationcited by 33
- 2022Few-Shot Adaptation of Pre-Trained Networks for Domain Shiftcited by 20
- 2025Understanding the Learning Dynamics of LoRA: A Gradient Flow Perspective on Low-Rank Adaptation in Matrix Factorizationcited by 16
Built on by
Not cited yet.