Accurate and Efficient Low-Rank Model Merging in Core Space
Aniello Panariello, Daniel Marczak, Simone Magistri, Angelo Porrello, Bartłomiej Twardowski, Andrew D. Bagdanov, Simone Calderara, Joost van de Weijer
TL;DR
This work tackles the challenge of merging multiple LoRA-based adaptations without sacrificing the efficiency of low-rank updates. It introduces Core Space merging, a lossless shared subspace built from reference bases derived via SVD, enabling compact, aligned representations $M^{(t)}$ for each task and allowing merges to be performed in a reduced $Tr\times Tr$ space. The framework preserves information, offers favorable computational complexity, and yields state-of-the-art results across vision and language benchmarks while delivering substantial speedups over existing methods. Its compatibility with various merging strategies and extension to VeRA highlight its practicality for scalable, multi-task fine-tuning of large models.
Abstract
In this paper, we address the challenges associated with merging low-rank adaptations of large neural networks. With the rise of parameter-efficient adaptation techniques, such as Low-Rank Adaptation (LoRA), model fine-tuning has become more accessible. While fine-tuning models with LoRA is highly efficient, existing merging methods often sacrifice this efficiency by merging fully-sized weight matrices. We propose the Core Space merging framework, which enables the merging of LoRA-adapted models within a common alignment basis, thereby preserving the efficiency of low-rank adaptation while substantially improving accuracy across tasks. We further provide a formal proof that projection into Core Space ensures no loss of information and provide a complexity analysis showing the efficiency gains. Extensive empirical results demonstrate that Core Space significantly improves existing merging techniques and achieves state-of-the-art results on both vision and language tasks while utilizing a fraction of the computational resources. Codebase is available at https://github.com/apanariello4/core-space-merging.
