Routing Matters in MoE: Scaling Diffusion Transformers with Explicit Routing Guidance
本文提出了一种名为ProMoE的MoE框架,通过引入显式路由指导来促进专家专业化,从而有效地扩展扩散模型(DiT)的容量。
更新于 2026-03-21。作者:Yujie Wei、Shiwei Zhang、Hangjie Yuan、Yujin Han、Zhekai Chen、Jiayu Wang、Difan Zou、Xihui Liu、Yingya Zhang、Yu Liu、Hongming Shan。
中文摘要
混合专家(MoE)已成为一种强大的范式,能够在保持计算效率的同时扩展模型容量。尽管它在大型语言模型(LLMs)中取得了显著的成效,但将MoE应用于扩散变换器(DiTs)的现有尝试只带来了有限的收益。我们把这归因于语言和视觉标记之间的基本差异。语言标记语义密集,标记间差异明显,而视觉标记则表现出空间冗余和功能异质性,这阻碍了视觉MoE中的专家专业化。为此,我们提出了ProMoE,这是一种MoE框架,它包含一个两步路由器,具有明确的路由指导,以促进专家专业化。具体来说,这种指导鼓励路由器根据功能角色通过条件路由将图像标记分为条件集和无条件集,并通过基于语义内容的可学习原型进行原型路由来细化条件图像标记的分配。此外,原型路由在潜在空间中基于相似性的专家分配提供了一种自然机制,以纳入显式的语义指导,我们验证了这种指导对视觉MoE至关重要。在此基础上,我们提出了一种路由对比损失,它明确增强了原型路由过程,促进了专家内部的一致性和专家之间的多样性。在ImageNet基准上的大量实验表明,ProMoE在Rectified Flow和DDPM训练目标下都超越了最先进的方法。代码和模型将公开提供。
英文摘要
Mixture-of-Experts (MoE) has emerged as a powerful paradigm for scaling model capacity while preserving computational efficiency. Despite its notable success in large language models (LLMs), existing attempts to apply MoE to Diffusion Transformers (DiTs) have yielded limited gains. We attribute this gap to fundamental differences between language and visual tokens. Language tokens are semantically dense with pronounced inter-token variation, while visual tokens exhibit spatial redundancy and functional heterogeneity, hindering expert specialization in vision MoE. To this end, we present ProMoE, an MoE framework featuring a two-step router with explicit routing guidance that promotes expert specialization. Specifically, this guidance encourages the router to partition image tokens into conditional and unconditional sets via conditional routing according to their functional roles, and refine the assignments of conditional image tokens through prototypical routing with learnable prototypes based on semantic content. Moreover, the similarity-based expert allocation in latent space enabled by prototypical routing offers a natural mechanism for incorporating explicit semantic guidance, and we validate that such guidance is crucial for vision MoE. Building on this, we propose a routing contrastive loss that explicitly enhances the prototypical routing process, promoting intra-expert coherence and inter-expert diversity. Extensive experiments on ImageNet benchmark demonstrate that ProMoE surpasses state-of-the-art methods under both Rectified Flow and DDPM training objectives. Code and models will be made publicly available.
解读
一句话总结
本文提出了一种名为ProMoE的MoE框架,通过引入显式路由指导来促进专家专业化,从而有效地扩展扩散模型(DiT)的容量。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:尽管MoE在大型语言模型(LLMs)中取得了显著成功,但将其应用于扩散模型(DiT)时效果有限。
- 现有方案不足:视觉MoE中专家专业化的困难,因为视觉标记具有空间冗余和功能异质性,阻碍了有效的专家多样化。
- 研究目标:通过引入显式路由指导来提高DiT模型中MoE的有效性。
问题2:论文的核心创新点是什么?
- 技术创新:提出了ProMoE框架,包括一个两步路由器,用于促进专家专业化。
- 方法改进:引入了条件路由和原型路由,并通过路由对比损失来增强语义路由指导。
- 优势:提高了视觉MoE的性能,同时保持了参数效率。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在ImageNet基准数据集上进行了广泛的实验。
- 性能提升:ProMoE在Rectified Flow和DDPM训练目标下均优于现有方法,具有更低的FID和更高的IS。
- 对比结果:ProMoE在参数效率方面优于具有更多参数的密集模型和现有MoE方法。
问题4:这个研究的实际应用价值是什么?
- 应用场景:图像生成、图像编辑和其他视觉任务。
- 实施建议:将ProMoE应用于需要大规模模型和高效计算的场景。
- 局限与展望:尽管ProMoE在图像生成方面表现出色,但仍需进一步研究以扩展到其他模态和任务。
来源
机器可读索引:llms.txt