arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.13996cs.AI
收藏

DTop-p MoE:面向基础模型预训练的稀疏度可控动态Top-p MoE

DTop-p MoE: Sparsity-Controlled Dynamic Top-p MoE for Foundation Model Pre-training

University of Electronic Science and Technology of China(电子科技大学)

Can Jin, Hongwu Peng, Mingcan Xiang, Qixin Zhang, Xiangchi Yuan, Amit Hasan, Ohi Dibua, Yifan Gong, Yan Kang, Dimitris N. Metaxas

AI总结:

提出DTop-p动态路由机制,通过比例积分控制器学习Top-p概率阈值并采用动态路由归一化,在全局稀疏约束下实现层间专家选择,一致优于Top-k和固定Top-p基线,且FLOPs与Top-k MoE相当。

摘要:

稀疏混合专家架构对于高效扩展模型容量至关重要,但标准的Top-$k$路由施加了固定的稀疏模式,忽略了令牌难度和层特定计算需求的内在差异。Top-$p$路由更具自适应性,因为它选择专家直到其累积路由概率达到阈值,允许置信令牌使用更少的专家,而模糊令牌则招募更多专家。然而,我们证明,现有的具有固定全局概率阈值的朴素Top-$p$实现相比Top-$k$仅带来边际收益,存在超参数敏感性,并导致不可控的计算成本。在本文中,我们提出**DTop-$p$**,一种稀疏度可控的动态路由机制,它使用比例积分控制器学习Top-$p$概率阈值,并采用动态路由归一化来在全局稀疏约束下支持逐层专家选择。在大语言模型和扩散Transformer上的大量实验表明,**DTop-$p$**在匹配Top-$k$ MoE平均FLOPs的同时,始终优于Top-$k$和固定Top-$p$基线。我们的分析证实,**DTop-$p$**在专家粒度、总专家容量、模型大小和数据集大小方面表现出强大的可扩展性,为基础模型预训练提供了一个鲁棒且高效的MoE框架。

英文摘要:

Sparse Mixture-of-Experts architectures are essential for scaling model capacity efficiently, yet the standard Top-$k$ routing imposes a rigid sparsity pattern that ignores the intrinsic variance in token difficulty and layer-specific computational needs. Top-$p$ routing is more adaptive because it selects experts until their cumulative routing probability reaches a threshold, allowing confident tokens to use fewer experts and ambiguous tokens to recruit more. However, we demonstrate that existing naive Top-$p$ implementations with fixed global probability thresholds provide only marginal gains over Top-$k$, suffer from hyperparameter sensitivity, and result in uncontrolled computational costs. In this paper, we propose **DTop-$p$**, a sparsity-controllable dynamic routing mechanism that learns the Top-$p$ probability threshold with a Proportional-Integral controller and uses dynamic routing normalization to support layer-wise expert selection under a global sparsity constraint. Extensive experiments on Large Language Models and Diffusion Transformers demonstrate that **DTop-$p$** consistently outperforms both Top-$k$ and fixed Top-$p$ baselines while matching the average FLOPs of Top-$k$ MoE. Our analysis confirms that **DTop-$p$** exhibits strong scaling properties across expert granularity, total expert capacity, model size, and dataset size, offering a robust and efficient MoE framework for foundation model pre-training.

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

↑