循环专家混合的缩放定律
研究论文 · 2026/10/01
循环Transformer和混合专家(MoE)提供了互补的高效扩展路径:循环在固定参数下增加计算深度,而MoE稀疏性在固定激活计算下扩展总容量。然而,现有的扩展定律仅孤立地建模循环或稀疏性。在这项工作中,我们引入了Loop Scaling Laws,这是第一个同时建模循环、稀疏性以及模型规模与数据的扩展定律。其核心是一个有界的、稀疏性条件化的循环映射,刻画了循环带来的有效参数增益以及稀疏性如何提升这一增益。该定律比先前替代方案更准确地预测循环模型的留出损失,并将标准密集和MoE扩展定律作为特例恢复。除了预测,拟合的定律为在计算和内存约束下设计循环MoE模型提供了原则性基础。下游评估进一步展示了两个轴的互补优势:稀疏性带来约3倍的激活参数效率,循环在推理上带来约2倍的总参数效率,联合扩展进一步推进性能前沿。作为实际扩展,我们表明这些增益在万亿token规模下依然成立:在匹配训练计算下,一个使用定律推导循环的循环MoE在推理基准上匹配约2倍大的非循环MoE,同时通过循环实现测试时扩展。
该研究提出了首个统一循环与稀疏性的扩展定律,为高效扩展大模型提供了新的理论工具和实用设计原则,并在万亿token规模上验证了其有效性,对推动大模型效率前沿具有重要意义。
Looped transformers and Mixture-of-Experts (MoE) offer complementary routes to efficient scaling: recurrence increases computational depth at fixed parameters, while MoE sparsity expands total capacity at fixed active compute. Yet existing scaling laws model recurrence or sparsity in isolation. In this work, we introduce Loop Scaling Laws, the first scaling law to jointly model recurrence and sparsity alongside model size and data. At its core is a bounded, sparsity-conditional recurrence mapping that characterizes the effective-parameter gain from looping and how sparsity raises this gain. The laws predict the held-out loss of looped models more accurately than prior alternatives, and recover the standard dense and MoE scaling laws as special cases. Beyond prediction, the fitted laws provide a principled foundation for designing looped MoE models under compute and memory constraints. Downstream evaluations further demonstrate the complementary benefits of the two axes: sparsity delivers ~3x active-parameter efficiency, recurrence yields ~2x total-parameter efficiency on reasoning, and joint scaling further advances the performance frontier. As a practical extension, we show these gains hold at trillion-token scale: at matched training compute, a looped MoE with law-derived recurrence matches a ~2x larger non-looped MoE on the reasoning benchmarks, while enabling test-time scaling through recurrence.