2025-08-27 · 专家 · 机器学习 · 自然语言处理

Optimal Sparsity of Mixture-of-Experts Language Models for Reasoning Tasks

这篇论文研究了混合专家语言模型(MoE)在推理任务中的最优稀疏度,发现稀疏度对记忆和推理能力有不同影响,并提出了优化稀疏度的方法。

更新于 2025-08-29。作者:Taishi Nakamura、Satoki Ishikawa、Masaki Kawamura、Takumi Okamoto、Daisuke Nohara、Jun Suzuki、Rio Yokota。

中文摘要

经验缩放定律推动了大型语言模型(LLMs)的演变,然而,每当模型架构或数据管道发生变化时,它们的系数就会发生改变。混合专家(MoE)模型,现在是最先进系统中的一种标准模型,引入了一个新的稀疏性维度,而当前的密集模型前沿却忽略了这一点。我们研究了MoE稀疏性如何影响两个不同的能力区域:记忆和推理。我们训练了一系列MoE Transformers,这些模型的总体参数、活动参数和top-k路由系统性地变化,同时保持计算预算固定。对于每个模型,我们记录了预训练损失、下游任务损失和任务准确率,这使得我们能够将训练-测试泛化差距与损失-准确率差距分开。记忆基准随着总体参数的增多而单调提高,与训练损失相似。相比之下,推理性能在总体参数和训练损失继续提高的情况下,会趋于饱和,甚至可能下降。当活动参数保持不变时,仅改变top-k对性能的影响很小,而经典超参数,如学习率和初始化,与稀疏性以相同的方式调节泛化差距。无论是后训练强化学习(GRPO)还是额外的测试时计算,都无法挽救过于稀疏模型的推理缺陷。我们的模型检查点、代码和日志在https://github.com/rioyokotalab/optimal-sparsity上开源。

英文摘要

Empirical scaling laws have driven the evolution of large language models (LLMs), yet their coefficients shift whenever the model architecture or data pipeline changes. Mixture-of-Experts (MoE) models, now standard in state-of-the-art systems, introduce a new sparsity dimension that current dense-model frontiers overlook. We investigate how MoE sparsity influences two distinct capability regimes: memorization and reasoning. We train families of MoE Transformers that systematically vary total parameters, active parameters, and top-k routing while holding the compute budget fixed. For every model we record pre-training loss, downstream task loss, and task accuracy, allowing us to separate the train-test generalization gap from the loss-accuracy gap. Memorization benchmarks improve monotonically with total parameters, mirroring training loss. By contrast, reasoning performance saturates and can even regress despite continued gains in both total parameters and training loss. Altering top-k alone has little effect when active parameters are constant, and classic hyperparameters such as learning rate and initialization modulate the generalization gap in the same direction as sparsity. Neither post-training reinforcement learning (GRPO) nor extra test-time compute rescues the reasoning deficit of overly sparse models. Our model checkpoints, code and logs are open-source at https://github.com/rioyokotalab/optimal-sparsity.

解读

一句话总结

这篇论文研究了混合专家语言模型(MoE)在推理任务中的最优稀疏度,发现稀疏度对记忆和推理能力有不同影响,并提出了优化稀疏度的方法。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt