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

不要跳过基线:混合专家模型中动态专家跳过的受控比较

Don't Skip the Baseline: A Controlled Comparison of Dynamic Expert Skipping in MoEs

Technical University of Munich(慕尼黑工业大学);Tensordyne(滕森丁公司);ETH Zurich(苏黎世联邦理工学院);Ulm University(乌尔姆大学)

Jakob Steimle, Thomas Elsken, Daniel Ehrhardt, Lukas Rinder, Daniel Cremers, Xi Wang

AI总结:

该研究对比了MoE模型的动态专家跳过方法与静态基线,发现静态基线难以被持续超越,动态方法增益微小,建议采用无校准的静态k减少作为动态方法的基准。

摘要:

越来越多的研究提出了混合专家(MoE)模型的动态专家跳过方法,这些方法在推理过程中调整每个 token 激活的专家数量,旨在在保持模型质量的同时进一步减少活跃参数数量。这些方法添加了校准重要性分数、专家间相似度指标或学习到的每个 token 分配器,以识别要跳过的专家。然而,不同的校准机制、不同的有效专家数量减少幅度以及评估套件使得比较变得困难。我们将四种代表性的现有方法归类为统一分类法,并将它们与一个自然简单的基线——静态减少专家数量 k(即所有层和所有 token 的减少 k 相同)——进行基准测试。我们在匹配专家计算预算的情况下,在两个现代 MoE(Gemma4-26B-A4B 和 Qwen3-30B-A3B)的纯文本设置以及一个当代视觉语言模型(Qwen3-VL)的多模态设置中,对这些方法进行了公平比较。令人惊讶的是,我们发现这个简单基线在不同模型、模态、基准和校准设置下都难以被持续超越。我们测试的方法通常表现不如基线,且当存在增益时也很微小。我们进一步发现,在校准中实现(或优化的)有效 k 可能与测试中的有效 k 存在差异,导致推理时计算量的高估或低估。基于这些发现,我们建议采用无校准的每模态静态 k 减少,并在保留的模型和模态上验证了这一点。我们进一步认为,在匹配测量计算量下的静态控制是任何动态跳过方法都必须超越的基线。

英文摘要:

A growing body of work proposes dynamic expert-skipping methods for Mixture-of-Experts (MoE) models that adjust the number of experts activated per token during inference, aiming to preserve model quality while further reducing the number of active parameters. These methods have added calibrated importance scores, inter-expert similarity metrics, or learned per-token allocators in order to identify experts to skip. However, different calibration regimes, different reductions in the effective number of experts, and evaluation suites make comparisons difficult. We classify four representative prior methods into a unified taxonomy and benchmark them against a natural, simple baseline: statically reducing the number of experts $k$ (i.e., same reduced $k$ across all layers and tokens). We provide a fair comparison of these methods at matched expert-compute budget, on two modern MoEs (Gemma4-26B-A4B and Qwen3-30B-A3B) in a text-only setting and a contemporary vision-language model (Qwen3-VL) in a multimodal setting. Surprisingly, we find that the simple baseline is hard to outperform consistently across models, modalities, benchmarks, and calibration settings. The methods we benchmark often underperform the baseline and achieved gains, when present, are minor. We further find that the effective $k$ achieved (or optimized for) in calibration can diverge from the effective $k$ in testing, resulting in over- or under-estimating the compute at inference time. Based on these findings, we recommend a calibration-free per-modality static $k$ reduction and validate this on a held-out model and modality. We further argue that a static control at matched measured compute is the baseline any dynamic skipping method must beat.

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

↑