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

让LoRA更出色:通过自适应奇异值和专家混合优化对齐提升LoRA

Make LoRA Great Again: Boosting LoRA with Adaptive Singular Values and Mixture-of-Experts Optimization Alignment

School of Computer Science \& Technology, Huazhong University of Science;The Chinese University of Hong Kong;Zhejiang University

Chenghao Fan, Zhenyi Lu, Sichen Liu, Chengfeng Gu, Xiaoye Qu, Wei Wei, Yu Cheng

AI总结:

GOAT通过自适应奇异值和专家混合优化对齐提升LoRA性能,实现在多个任务上的最优表现。

摘要:

尽管低秩适应(LoRA)能够为大语言模型(LLMs)实现参数高效的微调,但其性能往往无法达到全微调(Full FT)。当前方法通过初始化静态奇异值分解(SVD)子集来优化LoRA,导致难以充分利用预训练知识。另一个改进LoRA的方法是引入专家混合(MoE)架构。然而,权重错位和复杂的梯度动态使在LoRA MoE架构之前采用SVD变得困难。为缓解这些问题,我们提出了Great LoRA Mixture-of-Experts(GOAT)框架,该框架(1)通过SVD结构的MoE自适应整合相关先验知识,(2)通过推导理论缩放因子对齐优化与全微调MoE。我们证明了适当缩放(不修改架构或训练算法)可以提升LoRA MoE的效率和性能。在25个数据集上的实验,包括自然语言理解、常识推理、图像分类和自然语言生成,展示了GOAT的最先进性能,缩小了与全微调之间的差距。

英文摘要:

While Low-Rank Adaptation (LoRA) enables parameter-efficient fine-tuning for Large Language Models (LLMs), its performance often falls short of Full Fine-Tuning (Full FT). Current methods optimize LoRA by initializing with static singular value decomposition (SVD) subsets, leading to suboptimal leveraging of pre-trained knowledge. Another path for improving LoRA is incorporating a Mixture-of-Experts (MoE) architecture. However, weight misalignment and complex gradient dynamics make it challenging to adopt SVD prior to the LoRA MoE architecture. To mitigate these issues, we propose \underline{G}reat L\underline{o}R\underline{A} Mixture-of-Exper\underline{t} (GOAT), a framework that (1) adaptively integrates relevant priors using an SVD-structured MoE, and (2) aligns optimization with full fine-tuned MoE by deriving a theoretical scaling factor. We demonstrate that proper scaling, without modifying the architecture or training algorithms, boosts LoRA MoE's efficiency and performance. Experiments across 25 datasets, including natural language understanding, commonsense reasoning, image classification, and natural language generation, demonstrate GOAT's state-of-the-art performance, closing the gap with Full FT.

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

↑