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

自适应和细粒度模块级专家剪枝用于高效的LoRA-MoE微调

Adaptive and Fine-grained Module-wise Expert Pruning for Efficient LoRA-MoE Fine-Tuning

School of Computer Science and Technology, University of Science and Technology of China, China(计算机科学与技术学院,中国科学技术大学);Suzhou Institute for Advanced Research, University of Science and Technology of China, China(苏州先进研究院,中国科学技术大学)

Weihang Li, Jianchun Liu, Hongli Xu

AI总结:

本文提出DMEP框架,通过动态模块级专家剪枝优化LoRA-MoE微调,减少冗余参数并提升训练效率,实验表明在多个推理基准上参数减少35%-43%,训练吞吐量提升约10%。

摘要:

LoRA-MoE已成为参数高效微调的有效范式,结合了LoRA的低训练成本与MoE的增强适应能力。然而,现有LoRA-MoE框架通常采用固定且统一的专家配置,忽视了异构Transformer模块(如注意力查询/键投影和MLP门控网络)的差异化功能角色和容量需求。这种设计导致局部过度配置、冗余可训练参数和不必要的优化器状态开销。此外,先前方法在整个训练过程中强制专家负载平衡。虽然早期阶段有益,但一旦路由模式稳定,这种约束会变得限制性,限制专家在下游任务上的专业化。本文提出DMEP,一种基于动态模块级专家剪枝的LoRA-MoE微调框架。DMEP在训练过程中跟踪专家利用率,并按模块物理移除低效专家,产生更紧凑的专家结构,适应不同模块。修剪后的模型继续训练,无需负载平衡约束,使剩余专家能完全专注于下游任务并发展专业知识。通过联合适应模块级专家容量并消除不必要的平衡,DMEP提高了参数效率和训练效率。在多个推理基准的广泛实验中,DMEP将可训练参数减少35%-43%,训练吞吐量提高约10%,同时保持或超越均匀LoRA-MoE基线的下游推理准确性。

英文摘要:

LoRA-MoE has emerged as an effective paradigm for parameter-efficient fine-tuning, combining the low training cost of LoRA with the increased adaptation capacity of Mixture-of-Experts (MoE). However, existing LoRA-MoE frameworks typically adopt a fixed and uniform expert configuration across heterogeneous Transformer modules (\eg, attention query/key projections and MLP gating networks), ignoring their distinct functional roles and capacity requirements. This design leads to localized over-provisioning, redundant trainable parameters, and unnecessary optimizer-state overhead. Moreover, prior methods enforce load balancing among experts throughout training. Although beneficial in the early stage, this constraint becomes restrictive once routing patterns stabilize, limiting expert specialization on downstream tasks. In this paper, we propose DMEP, a novel LoRA-MoE fine-tuning framework based on Dynamic Module-wise Expert Pruning. DMEP tracks expert utilization during training and physically removes low-utility experts on a per-module basis, yielding a more compact expert structure tailored to different modules. The pruned model then continues training without the load-balancing constraint, freeing the remaining experts to focus entirely on the downstream task and develop specialized expertise. By jointly adapting module-wise expert capacity and eliminating unnecessary balancing, DMEP improves both parameter efficiency and training efficiency. Extensive experiments on multiple reasoning benchmarks show that DMEP reduces trainable parameters by 35\%--43\% and improves training throughput by about 10\%, while maintaining or surpassing the downstream reasoning accuracy of uniform LoRA-MoE baselines.

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

↑