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

SiRA:低秩适配的稀疏混合

SiRA: Sparse Mixture of Low Rank Adaptation

Google(谷歌)

Yun Zhu, Nevan Wichers, Chu-Cheng Lin, Xinyi Wang, Tianlong Chen, Lei Shu, Han Lu, Canoee Liu, Liangchen Luo, Jindong Chen, Lei Meng

AI总结:

针对参数高效微调中增加参数无效的问题,提出SiRA,利用稀疏专家混合和专家丢弃提升LoRA性能,实验证明其在单任务和多任务上优于现有方法。

摘要:

参数高效微调已成为将大型语言模型适配到下游任务的重要方法。以往的大多数工作考虑添加密集的可训练参数,其中所有参数都用于适配特定任务。我们通过LoRA的实例发现,这在经验上效果不佳,即引入更多可训练参数并无帮助。受此启发,我们研究利用“稀疏”计算的重要性,并提出SiRA:低秩适配的稀疏混合。SiRA利用稀疏专家混合(SMoE)来提升LoRA的性能。具体而言,它强制使用前k个专家路由,并设置容量限制,限制每个专家可处理的最大令牌数。我们在门控网络之上提出了一种新颖且简单的专家丢弃方法,以减少过拟合问题。通过大量实验,我们验证了SiRA在多种单任务和多任务设置下均优于LoRA和其他混合专家方法。

英文摘要:

Parameter Efficient Tuning has been an prominent approach to adapt the Large Language Model to downstream tasks. Most previous works considers adding the dense trainable parameters, where all parameters are used to adapt certain task. We found this less effective empirically using the example of LoRA that introducing more trainable parameters does not help. Motivated by this we investigate the importance of leveraging "sparse" computation and propose SiRA: sparse mixture of low rank adaption. SiRA leverages the Sparse Mixture of Expert(SMoE) to boost the performance of LoRA. Specifically it enforces the top $k$ experts routing with a capacity limit restricting the maximum number of tokens each expert can process. We propose a novel and simple expert dropout on top of gating network to reduce the over-fitting issue. Through extensive experiments, we verify SiRA performs better than LoRA and other mixture of expert approaches across different single tasks and multitask settings.

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

↑