DiffMoE: Dynamic Token Selection for Scalable Diffusion Transformers

Minglei Shi, Ziyang Yuan, Haotian Yang, Xintao Wang, Mingwu Zheng +8 more
3/18/2025
cs.CVcs.AI

No official code found. Best implementation: facebookresearch/DiT (8,676 stars, last commit 2024-05-31).

Abstract

Diffusion models have demonstrated remarkable success in various image generation tasks, but their performance is often limited by the uniform processing of inputs across varying conditions and noise levels. To address this limitation, we propose a novel approach that leverages the inherent heterogeneity of the diffusion process. Our method, DiffMoE, introduces a batch-level global token pool that enables experts to access global token distributions during training, promoting specialized expert behavior. To unleash the full potential of the diffusion process, DiffMoE incorporates a capacity predictor that dynamically allocates computational resources based on noise levels and sample complexity. Through comprehensive evaluation, DiffMoE achieves state-of-the-art performance among diffusion models on ImageNet benchmark, substantially outperforming both dense architectures with 3x activated parameters and existing MoE approaches while maintaining 1x activated parameters. The effectiveness of our approach extends beyond class-conditional generation to more challenging tasks such as text-to-image generation, demonstrating its broad applicability across different diffusion model applications. Project Page: https://shiml20.github.io/DiffMoE/

View on arXivView PDF

Code Implementations(1)

Official PyTorch Implementation of "Scalable Diffusion Models with Transformers"

8,676816Python, Jupyter NotebookDec 16, 20222 years agoNOASSERTION

Similar Papers

Cite this paper

@article{shi2025diffmoe,
  title  = {DiffMoE: Dynamic Token Selection for Scalable Diffusion Transformers},
  author = {Minglei Shi and Ziyang Yuan and Haotian Yang and Xintao Wang and Mingwu Zheng and Xin Tao and Wenliang Zhao and Wenzhao Zheng and Jie Zhou and Jiwen Lu and Pengfei Wan and Di Zhang and Kun Gai},
  year   = {2025},
  eprint = {2503.14487},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.14487v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.14487.svg)](https://codeofpaper.com/paper/2503.14487)

Discussion