DiffMoE: Dynamic Token Selection for Scalable Diffusion Transformers
Minglei Shi, Ziyang Yuan, Haotian Yang, Xintao Wang, Mingwu Zheng, Xin Tao, Wenliang Zhao, Wenzhao Zheng, Jie Zhou, Jiwen Lu, Pengfei Wan, Di Zhang, Kun Gai
TL;DR
DiffMoE tackles the inefficiency of uniform input processing in diffusion transformers by introducing a batch-level global token pool and a dynamic capacity predictor for inference. The method enables cross-sample token interaction and adaptive resource allocation, yielding state-of-the-art performance on ImageNet diffusion tasks while maintaining parameter efficiency. It demonstrates strong results in text-to-image generation and provides detailed analysis of dynamic computation, scaling behavior, and inference trade-offs. Collectively, DiffMoE offers a scalable framework for diffusion models with broad applicability, including high-quality text-conditioned generation, while highlighting practical considerations for deployment and evaluation.
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/
