arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.16712cs.LG
收藏

通过稀疏高秩适配器实现快速切换与多适配器融合

Rapid Switching and Multi-Adapter Fusion via Sparse High Rank Adapters

Qualcomm AI Research(高通人工智能研究部门);Qualcomm Technologies, Inc.(高通技术公司)
Kartikeya Bhardwaj, Nilesh Prasad Pandey, Sweta Priyadarshi, Viswanath Ganapathy, Rafael Esteves, Shreya Kadambi, Shubhankar Borse, Paul Whatmough, Risheek Garr… 展开作者

Kartikeya Bhardwaj, Nilesh Prasad Pandey, Sweta Priyadarshi, Viswanath Ganapathy, Rafael Esteves, Shreya Kadambi, Shubhankar Borse, Paul Whatmough, Risheek Garrepalli, Mart Van Baalen, Harris Teague, Markus Nagel

AI总结:

提出稀疏高秩适配器SHiRA,通过微调1-2%基础模型权重实现无推理开销的快速切换与低概念损失的多适配器融合,性能优于LoRA且可与DoRA等现有技术结合。

摘要:

本文提出稀疏高秩适配器(SHiRA),直接微调基础模型1-2%的权重而保持其他权重不变,从而得到高度稀疏的适配器。这种高稀疏性不产生推理开销,支持在融合模式下直接快速切换,并显著减少多适配器融合时的概念损失。我们在LVMs和LLMs上的大量实验表明,仅微调基础模型1-2%的参数即可满足许多适配器任务需求,且显著优于低秩适配(LoRA)。我们还证明SHiRA与DoRA等先进LoRA方法正交,可轻松与现有技术结合。

英文摘要:

In this paper, we propose Sparse High Rank Adapters (SHiRA) that directly finetune 1-2% of the base model weights while leaving others unchanged, thus, resulting in a highly sparse adapter. This high sparsity incurs no inference overhead, enables rapid switching directly in the fused mode, and significantly reduces concept-loss during multi-adapter fusion. Our extensive experiments on LVMs and LLMs demonstrate that finetuning merely 1-2% parameters in the base model is sufficient for many adapter tasks and significantly outperforms Low Rank Adaptation (LoRA). We also show that SHiRA is orthogonal to advanced LoRA methods such as DoRA and can be easily combined with existing techniques.

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

↑