arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2505.22934cs.CLcs.AIcs.LG
收藏

解开LoRA干扰:用于鲁棒模型合并的正交子空间

Unraveling LoRA Interference: Orthogonal Subspaces for Robust Model Merging

University of Michigan Ann Arbor(密歇根大学安娜堡分校)

Haobo Zhang, Jiayu Zhou

AI总结:

针对LoRA微调模型合并时性能下降的问题,提出通过微调前约束LoRA子空间正交性来减少任务间干扰的方法OSRM,可无缝集成现有合并算法,提升合并性能并保持单任务准确率。

摘要:

针对单个任务微调大型语言模型(LM)虽然性能强劲,但部署和存储成本高昂。近期研究探索模型合并,将多个任务特定模型组合成单个多任务模型,无需额外训练。然而,现有合并方法对于使用低秩适应(LoRA)微调的模型往往失败,导致性能显著下降。本文表明,这一问题源于模型参数与数据分布之间先前被忽视的相互作用。我们提出用于鲁棒模型合并的正交子空间(OSRM),在微调*之前*约束LoRA子空间,确保与一个任务相关的更新不会对其他任务的输出产生不利偏移。我们的方法可以无缝集成到大多数现有合并算法中,减少任务间的意外干扰。在八个数据集上使用三种广泛使用的LM和两种大型LM进行的广泛实验表明,我们的方法不仅提升了合并性能,还保持了单任务准确率。此外,我们的方法对合并的超参数表现出更强的鲁棒性。这些结果突显了数据-参数交互在模型合并中的重要性,并为合并LoRA模型提供了一种即插即用的解决方案。

英文摘要:

Fine-tuning large language models (LMs) for individual tasks yields strong performance but is expensive for deployment and storage. Recent works explore model merging to combine multiple task-specific models into a single multi-task model without additional training. However, existing merging methods often fail for models fine-tuned with low-rank adaptation (LoRA), due to significant performance degradation. In this paper, we show that this issue arises from a previously overlooked interplay between model parameters and data distributions. We propose Orthogonal Subspaces for Robust model Merging (OSRM) to constrain the LoRA subspace *prior* to fine-tuning, ensuring that updates relevant to one task do not adversely shift outputs for others. Our approach can seamlessly integrate with most existing merging algorithms, reducing the unintended interference among tasks. Extensive experiments on eight datasets, tested with three widely used LMs and two large LMs, demonstrate that our method not only boosts merging performance but also preserves single-task accuracy. Furthermore, our approach exhibits greater robustness to the hyperparameters of merging. These results highlight the importance of data-parameter interaction in model merging and offer a plug-and-play solution for merging LoRA models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑