π€ AI Summary
To address poor scalability, uneven expert utilization, and shallow-layer training difficulties in diffusion Transformers with Mixture-of-Experts (MoE), this paper proposes Expert Raceβa dynamic sparse routing mechanism. It introduces a joint, race-style matching between tokens and experts to enable precise expert assignment for critical tokens. Additionally, we design layer-adaptive regularization and a router similarity loss to mitigate mode collapse and accelerate convergence in shallow layers. Notably, Expert Race is the first MoE routing framework to incorporate competitive racing principles. Evaluated on ImageNet image generation, it significantly improves FID scores and training stability, while increasing expert utilization by 37%. These results demonstrate superior scalability and generalization capability compared to prior MoE approaches in diffusion-based generative modeling.
π Abstract
Diffusion models have emerged as mainstream framework in visual generation. Building upon this success, the integration of Mixture of Experts (MoE) methods has shown promise in enhancing model scalability and performance. In this paper, we introduce Race-DiT, a novel MoE model for diffusion transformers with a flexible routing strategy, Expert Race. By allowing tokens and experts to compete together and select the top candidates, the model learns to dynamically assign experts to critical tokens. Additionally, we propose per-layer regularization to address challenges in shallow layer learning, and router similarity loss to prevent mode collapse, ensuring better expert utilization. Extensive experiments on ImageNet validate the effectiveness of our approach, showcasing significant performance gains while promising scaling properties.