跳到正文
arXiv cs.AI· Huanyi Xie, Liangyu Wang, Youming Tao, Xinhai Wang, Di Wang·· 3 天前AI 评分39

ZOMoE:通过单侧估计与专家重放稳定 MoE 的零阶微调

Stabilizing Zeroth-Order Fine-Tuning of Mixture-of-Experts via One-Sided Estimation and Expert Replay

AI 导读

arXiv 论文提出 ZOMoE,一种针对稀疏 MoE 模型的零阶微调算法,用专家重放加单侧估计解决参数扰动导致专家切换、污染有限差分估计的问题。每次更新先用无扰动前向记录被选专家索引,扰动查询复用索引并冻结 router 参数,且不增加额外前向查询。在两个稀疏 MoE 骨干和六个下游任务上,ZOMoE 在所评测零阶方法中取得最高平均准确率,加速损失下降且几乎无额外内存与运行时开销。

正文 · 原文

View PDF HTML (experimental)

Abstract:Zeroth-order (ZO) optimization enables memory-efficient fine-tuning through forward loss queries. In sparse mixture-of-experts (MoE) models, however, parameter perturbations can change the experts selected for a token. This path inconsistency mixes continuous parameter effects with discrete routing changes in finite-difference estimates. We propose ZOMoE, a ZO fine-tuning algorithm that combines expert replay with one-sided estimation. At each update, an unperturbed forward pass records the selected expert indices. Perturbed queries reuse these indices while recomputing routing coefficients and other continuous computations. The next update begins with a fresh unperturbed forward pass to refresh expert selections; router parameters remain frozen. The recording pass also supplies a shared loss baseline, so replay adds no forward queries to the one-sided estimator. Mathematically, we isolate the term introduced by expert switching in the finite-difference estimate and show that expert replay removes this term. Across two sparse MoE backbones and six downstream tasks, ZOMoE achieves the highest average accuracy among the evaluated ZO methods, accelerates loss descent, and adds negligible memory or runtime overhead.
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI)
Cite as: arXiv:2612.03361 [cs.LG]
  (or arXiv:2612.03361v1 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2612.03361

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Huanyi Xie [view email]
[v1] Wed, 2 Dec 2026 08:05:53 UTC (599 KB)

来源:arXiv cs.AI · arxiv.org