核心空间中准确且高效的低秩模型合并
Accurate and Efficient Low-Rank Model Merging in Core Space
AI总结:
本文提出核心空间合并框架,通过在共同对齐基上合并LoRA适应模型,提升跨任务准确性并保持低秩适应效率,同时显著降低计算资源消耗。
摘要:
本文针对合并大型神经网络的低秩适应方案所面临的挑战进行了探讨。随着参数高效适应技术(如低秩适应LoRA)的兴起,模型微调变得更加可行。尽管使用LoRA进行模型微调非常高效,但现有合并方法往往通过合并完整尺寸的权重矩阵而牺牲了这种效率。我们提出了核心空间合并框架,该框架能够在共同对齐基的基础上合并LoRA适应模型,从而在保持低秩适应效率的同时,显著提升跨任务的准确性。我们进一步提供了一个形式证明,证明在核心空间中的投影不会导致信息损失,并提供了一项复杂度分析,展示了效率的提升。广泛的实证结果表明,核心空间显著改进了现有合并技术,并在视觉和语言任务上取得了最先进的结果,同时仅使用了少量的计算资源。代码库可在https://github.com/apanariello4/core-space-merging上获得。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。