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

MoE-Sieve:基于路由的LoRA用于高效的MoE微调

MoE-Sieve: Routing-Guided LoRA for Efficient MoE Fine-Tuning

Andrea Manzoni

AI总结:

本文提出MoE-Sieve,通过路由指导的LoRA微调方法,仅训练高频路由专家,显著减少参数和训练时间,同时保持性能。

摘要:

标准的MoE模型LoRA微调会为每个专家应用适配器,但我们的分析显示每层专家路由高度倾斜:少量专家处理大部分token,而许多专家很少被激活('冷')。我们提出MoE-Sieve,一种基于路由的LoRA微调框架,并通过系统性的路由分析研究不同架构和任务。方法简单:在小样本集上分析路由次数,选择每层最常路由的top-k专家,并仅对这些专家应用LoRA。在两个架构不同的MoE模型和三个多样任务上,仅训练每层top 25%的路由专家仍能与完整LoRA竞争,平均差异在±1个百分点内。这将LoRA可训练参数减少70-73%,适配器检查点大小减少71-73%,训练时间减少高达50%。我们还观察到专家数量与种子到种子方差之间非单调关系,与假设一致,即适应冷专家可能引入梯度噪声而不提高准确性。进一步消融实验显示,在匹配预算下随机选择专家比2.5个百分点差,表明路由信号重要,而贪心每层预算优化不如均匀top-k。

英文摘要:

Standard LoRA fine-tuning of Mixture-of-Experts (MoE) models applies adapters to every expert, yet our profiling shows that per-layer expert routing is highly skewed: a small subset of experts handles most tokens in each layer, while many others are rarely activated ("cold"). We propose MoE-Sieve, a simple routing-guided framework for LoRA fine-tuning, and pair it with a systematic profiling study of expert routing across architectures and tasks. The method is simple: profile routing counts on a small calibration set, select the top-k most-routed experts per layer, and apply LoRA only to those experts. Across two architecturally distinct MoE models and three diverse tasks, tuning only the top 25% routed experts per layer remains competitive with full LoRA, with mean differences within +/-1 percentage point across all conditions. This reduces LoRA trainable parameters by 70-73%, adapter checkpoint size by 71-73%, and wall-clock training time by up to 50%. We also observe a non-monotonic relationship between expert count and seed-to-seed variance, consistent with the hypothesis that adapting cold experts can introduce gradient noise without improving accuracy. Further ablations show that random expert selection at matched budget is about 2.5 percentage points worse, indicating that the routing signal matters, while greedy per-layer budget optimization does not improve over uniform top-k.

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

↑