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

AdaMoLE:采用自适应低秩适配专家混合的大语言模型微调方法

AdaMoLE: Fine-Tuning Large Language Models with Adaptive Mixture of Low-Rank Adaptation Experts

School of Computational Science and Engineering(计算科学与工程学院);Georgia Institute of Technology(佐治亚理工学院);University of Macau(澳门大学)

Zefang Liu, Jiahua Luo

AI总结:

该研究提出AdaMoLE微调方法,通过专用阈值网络动态调整LoRA专家激活阈值,结合门控机制自适应选专家,在多类任务上性能优于基线,且不增加专家数量,为LLM优化提供新方向。

摘要:

我们提出了AdaMoLE,这是一种通过自适应低秩适配(LoRA)专家混合来微调大语言模型(LLMs)的新方法。不同于采用静态top-k策略激活专家的传统方法,AdaMoLE通过专用阈值网络动态调整激活阈值,自适应响应不同任务的各异复杂度。通过将层中的单个LoRA替换为多个LoRA专家,并整合带阈值机制的门控函数,AdaMoLE可根据输入上下文有效选择并激活最合适的专家。我们在多种常识推理与自然语言处理任务上开展了广泛评估,结果表明AdaMoLE的性能优于基线。这一性能提升凸显了AdaMoLE自适应选择LoRA专家的优势,可在不增加专家数量的前提下提升模型效果。实验验证不仅证实了AdaMoLE是增强LLMs的一种可靠方法,也为自适应专家选择机制的未来研究提供了有价值的方向,有望拓展在各类语言处理任务中优化模型性能的思路。

英文摘要:

We introduce AdaMoLE, a novel method for fine-tuning large language models (LLMs) through an Adaptive Mixture of Low-Rank Adaptation (LoRA) Experts. Moving beyond conventional methods that employ a static top-k strategy for activating experts, AdaMoLE dynamically adjusts the activation threshold using a dedicated threshold network, adaptively responding to the varying complexities of different tasks. By replacing a single LoRA in a layer with multiple LoRA experts and integrating a gating function with the threshold mechanism, AdaMoLE effectively selects and activates the most appropriate experts based on the input context. Our extensive evaluations across a variety of commonsense reasoning and natural language processing tasks show that AdaMoLE exceeds baseline performance. This enhancement highlights the advantages of AdaMoLE's adaptive selection of LoRA experts, improving model effectiveness without a corresponding increase in the expert count. The experimental validation not only confirms AdaMoLE as a robust approach for enhancing LLMs but also suggests valuable directions for future research in adaptive expert selection mechanisms, potentially broadening the scope for optimizing model performance across diverse language processing tasks.

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

↑