NeurIPS 2026QuestionsPapersAreasAboutMarkdown

A Margin Perspective on LoRA: Robustness to Catastrophic Forgetting and Adapter Merging (MaLoRA)

Ziqing Xu, Hancheng Min, Lachlan MacDonald, Salma Tarmoun, Enrique Mallada, Weijie Su, Rene Vidal

NeurIPS page · OpenReview · Open on the map

Category: Interpretability & Model Adaptation › Continual Low-Rank Adapter Learning · Type: new method · Keywords: LoRA, margin analysis, catastrophic forgetting, adapter merging, multi-task learning, theoretical analysis

Areas: Continual Learning & Adaptation › Catastrophic Forgetting and Unlearning › Continual Learning

Summary

MaLoRA provides a margin-based theoretical analysis of LoRA, yielding a training-free merging rule that balances retention and adaptation while preserving performance across tasks.

Explained to a 5-year-old

Big computers need helpers to learn new things. These helpers are tiny and only change a small part of the big computer. The helpers can learn new tasks without forgetting what they already know. They can also be combined so one computer can do many tasks at once. Researchers looked at why these helpers work so well by thinking about how confident the computer is about its answers.

Explained to a 5-year-old, longer

Big computers, like the ones that talk to us, are huge and need a lot of work to learn new things. To save work, people make tiny helpers called adapters that only change a small part of the big computer. These helpers are good at learning new tasks without forgetting what they already know. They can also be combined, so one big computer can do many different tasks at once. The researchers wanted to understand why these helpers work so well. They looked at the helpers from a new angle, thinking about how confident the computer is about its answers. They studied simple situations where the tasks are not too mixed up and used a kind of safety rule. They discovered that the best helper lines up with the most confident answer on the new task. They also found a way to mix helpers together so each task stays confident. This mixing rule does not need extra training, making it easy to use. The researchers tested their ideas on pictures and words, and the helpers performed as well as or better than other methods.

For a technical reader

The paper analyzes LoRA using a margin-based framework, deriving closed-form expressions for retention and adaptation margins under L2 regularization. It proves that merged adapters maintain positive margins on each task and provides optimal mixing coefficients for combining them. The resulting training-free merging rule is validated on vision and language tasks, matching or exceeding baseline adapters.

Problem

Adapting large neural networks to new tasks efficiently while avoiding catastrophic forgetting and enabling merging of multiple adapters is challenging. Existing methods lack a clear theoretical understanding of why LoRA exhibits robustness to forgetting and merging, and how to optimally combine adapters.

Method

The authors analyze LoRA from a margin perspective, studying its behavior in multiclass linear classification under near-orthogonal tasks with L2 regularization. They derive closed-form margin expressions and optimal mixing coefficients for merging adapters, leading to a simple training-free merging rule.

Results

The approach matches or outperforms existing adapter-merging baselines on vision and language classification tasks.

Contributions

The paper provides a unified margin-based theoretical analysis of LoRA, revealing how regularization balances retention and adaptation, and derives optimal merging coefficients leading to a training-free merging rule.

Limitations and assumptions

The theoretical analysis assumes near-orthogonal tasks and L2 regularization, and experiments are limited to vision and language classification tasks.

Practical relevance

The training-free merging rule enables efficient multi-task deployment of LoRA adapters without additional training, facilitating continual learning and resource-constrained applications.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction