TensorX
返回文献探索

Paper · arXiv 2311.09179

SiRA: Sparse Mixture of Low Rank Adaptation

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

9 upvotesNovember 15, 2023arXiv 预印本
AI 摘要

SiRA, a sparse mixture of low-rank adaptation with expert dropout and capacity limits, improves performance over LoRA and other mixture of expert methods in various tasks.

parameter efficient tuninglarge language modeldense trainable parametersLoRAsparse computationSiRAsparse mixture of low rank adaptionSparse Mixture of ExpertsSMoEexpert dropoutgating networkmultitask settings

Abstract

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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
SiRA: Sparse Mixture of Low Rank Adaptation | TensorX