2025-02-25 · 专家 · 机器学习 · 自然语言处理

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

本文提出了一种名为GOAT的框架,通过自适应地整合SVD结构化的先验知识和通过理论缩放来对齐优化,显著提高了LoRA MoE的效率和性能,实现了在25个数据集上的最先进性能,缩小了与全微调(Full FT)的性能差距。

更新于 2025-02-25。作者:Chenghao Fan、Zhenyi Lu、Sichen Liu、Xiaoye Qu、Wei Wei、Chengfeng Gu、Yu Cheng。

中文摘要

尽管低秩适应(LoRA)使得大型语言模型(LLMs)的参数高效微调成为可能,但其性能通常低于全微调(Full FT)。当前的方法通过使用静态奇异值分解(SVD)子集进行初始化来优化LoRA,这导致了预训练知识的次优利用。提高LoRA性能的另一条途径是采用混合专家(MoE)架构。然而,权重错位和复杂的梯度动态使得在LoRA MoE架构之前采用SVD变得具有挑战性。为了缓解这些问题,我们提出了Great LoRA Mixture-of-Expert(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 Great LoRA Mixture-of-Expert (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.

解读

一句话总结

本文提出了一种名为GOAT的框架,通过自适应地整合SVD结构化的先验知识和通过理论缩放来对齐优化,显著提高了LoRA MoE的效率和性能,实现了在25个数据集上的最先进性能,缩小了与全微调(Full FT)的性能差距。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源