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

AlphaLoRA:基于层训练质量分配LoRA专家

AlphaLoRA: Assigning LoRA Experts Based on Layer Training Quality

Dartmouth College(达特茅斯学院);Northwestern University(西北大学)

Peijun Qing, Chongyang Gao, Yefan Zhou, Xingjian Diao, Yaoqing Yang, Soroush Vosoughi

AI总结:

本文提出AlphaLoRA,一种基于层训练质量且无需训练的LoRA专家分配方法,利用HT-SR理论缓解MoE架构中的冗余,在十个基准上取得优异性能。

摘要:

参数高效微调方法,如低秩适应(LoRA),已知能增强大型语言模型(LLMs)的训练效率。由于LoRA参数有限,近期研究寻求将LoRA与混合专家模型结合,以提升在各种任务上的性能。然而,受传统MoE结构中观察到的冗余现象启发,以往研究在MoE架构内的LoRA专家间发现了类似的冗余,凸显了在不同层间非均匀分配LoRA专家的必要性。本文利用重尾自正则化(HT-SR)理论设计了一种细粒度的分配策略。我们的分析表明,每层的专家数量与层训练质量相关,且在不同层间表现出显著差异。基于此,我们提出AlphaLoRA,一种理论上合理且无需训练的LoRA专家分配方法,以进一步缓解冗余。在三个模型和十个语言处理与推理基准上的实验表明,AlphaLoRA在所有基线上均取得相当或更优的性能。代码可在 https://github.com/morelife2017/alphalora 获取。

英文摘要:

Parameter-efficient fine-tuning methods, such as Low-Rank Adaptation (LoRA), are known to enhance training efficiency in Large Language Models (LLMs). Due to the limited parameters of LoRA, recent studies seek to combine LoRA with Mixture-of-Experts (MoE) to boost performance across various tasks. However, inspired by the observed redundancy in traditional MoE structures, previous studies identify similar redundancy among LoRA experts within the MoE architecture, highlighting the necessity for non-uniform allocation of LoRA experts across different layers. In this paper, we leverage Heavy-Tailed Self-Regularization (HT-SR) Theory to design a fine-grained allocation strategy. Our analysis reveals that the number of experts per layer correlates with layer training quality, which exhibits significant variability across layers. Based on this, we introduce AlphaLoRA, a theoretically principled and training-free method for allocating LoRA experts to further mitigate redundancy. Experiments on three models across ten language processing and reasoning benchmarks demonstrate that AlphaLoRA achieves comparable or superior performance over all baselines. Our code is available at https://github.com/morelife2017/alphalora.

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

↑