用不同结构的适配器构建混合专家模型,提升大模型微调效果。
MoA: Heterogeneous Mixture of Adapters for Parameter-Efficient Fine-Tuning of Large Language Models
- 采用结构各异的适配器组成混合专家,实现动态融合与分工。
- 在多个任务上超越传统同构方法,参数效率更高,性能更优。
- 适合需要高效微调大模型的研究者和工业应用开发者。
近期研究将低秩适配(LoRA)与专家混合(MoE)结合,以进一步提升大语言模型(LLM)参数高效微调(PEFT)的效果。现有方法采用同构的MoE-LoRA架构,即所有LoRA专家结构相似或相同,但常导致表征坍缩和专家负载不均,影响模型潜力。为此,我们提出异构混合适配器(MoA)方法,动态整合具有不同结构的适配器专家,利用其互补的表征能力促进专家专业化,增强预训练知识向下游任务的有效迁移。MoA支持两种变体:(i) 软性MoA通过加权融合所有专家输出实现细粒度整合;(ii) 稀疏MoA根据贡献稀疏激活专家,性能损失可忽略。实验表明,异构MoA在性能和参数效率上均优于同构MoE-LoRA方法。项目代码见https://github.com/DCDmllm/MoA。
原文摘要 · Abstract (English)
Recent studies integrate Low-Rank Adaptation (LoRA) and Mixture-of-Experts (MoE) to further enhance the performance of parameter-efficient fine-tuning (PEFT) methods in Large Language Model (LLM) applications. Existing methods employ \emph{homogeneous} MoE-LoRA architectures composed of LoRA experts with either similar or identical structures and capacities. However, these approaches often suffer from representation collapse and expert load imbalance, which negatively impact the potential of LLMs. To address these challenges, we propose a \emph{heterogeneous} \textbf{Mixture-of-Adapters (MoA)} approach. This method dynamically integrates PEFT adapter experts with diverse structures, leveraging their complementary representational capabilities to foster expert specialization, thereby enhancing the effective transfer of pre-trained knowledge to downstream tasks. MoA supports two variants: \textbf{(i)} \textit{Soft MoA} achieves fine-grained integration by performing a weighted fusion of all expert outputs; \textbf{(ii)} \textit{Sparse MoA} activates adapter experts sparsely based on their contribution, achieving this with negligible performance degradation. Experimental results demonstrate that heterogeneous MoA outperforms homogeneous MoE-LoRA methods in both performance and parameter efficiency. Our project is available at https://github.com/DCDmllm/MoA.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。