NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Dynamic Diffusion Transformer

Wangbo Zhao, Yizeng Han, Jiasheng Tang, Kai Wang, Yibing Song, Gao Huang, Fan Wang, Yang You

TL;DR

Dynamic Diffusion Transformer (DyDiT) significantly boosts the efficiency of image generation by moving away from the "static" inference paradigm. By dynamically adjusting model width across different timesteps and skipping redundant computations in simple spatial regions, DyDiT reduces FLOPs by up to 51% and accelerates generation by 1.73× with negligible impact on image quality.

The Cost of Static Inference

Diffusion Transformers (DiT) have become a cornerstone of modern generative AI, powering high-quality image and video generation models. However, they are computationally expensive. The authors identify a major source of this waste: static inference.

Currently, a standard DiT model uses the exact same amount of compute (model width and depth) for every single step of the denoising process and for every single patch of the image. The authors observe two main inefficiencies:

  1. Temporal Redundancy: Predicting noise is much easier at the beginning of the process (when the image is mostly noise) than at the end. A small model can often do the job of a large one during these "easy" timesteps.
  2. Spatial Redundancy: Some parts of an image (like a clear blue sky) are much easier to denoise than complex textures (like a bird’s feathers). Treating every pixel with equal complexity is highly inefficient.
Motivation and Concept of DyDiT

As shown above, the performance gap between a small (DiT-S) and a large (DiT-XL) model vanishes as the process nears the pure noise distribution ($t \to T$). This proves that high-capacity models are overkill for the initial stages of diffusion.

Methods: Making DiT Dynamic

To address these inefficiencies, the authors propose two primary mechanisms to make DiT "dynamic":

TDW and SDT Architectures
  • Timestep-wise Dynamic Width (TDW): The model uses small "router" modules conditioned on the current timestep. These routers decide which attention heads and MLP (Multi-Layer Perceptron) channel groups to activate. At "easy" timesteps, the model effectively "shrinks" itself to save power. Because this decision is the same for the entire batch at a given timestep, it is highly hardware-friendly for GPU processing.
  • Spatial-wise Dynamic Token (SDT): This strategy targets spatial redundancy. A token router identifies image patches where noise prediction is "easy." These tokens are allowed to bypass the computationally heavy MLP blocks, focusing the model's energy on the most complex parts of the visual scene.
  • FLOPs-Aware Training: To train these routers, the authors introduce a specialized loss function that penalizes the model for exceeding a target computational budget ($\lambda$).
  • Plug-and-Play Fine-tuning: Crucially, DyDiT doesn't require training from scratch. It can be adapted from a pre-trained DiT model with less than 3% of the original training iterations.

Key Results

The researchers evaluated DyDiT across several benchmarks, including ImageNet (256×256 and 512×512), fine-grained datasets (Food-101, Artbench, Stanford Cars), and MS-COCO for text-to-image tasks.

  • Efficiency vs. Quality: On ImageNet (256×256), DyDiT-XL reduced FLOPs by 51% and achieved a 1.73× speedup while maintaining a competitive FID score of 2.07 (which is slightly better than the original static DiT-XL's 2.27 in some configurations).
  • Fine-tuning Speed: The model reached peak performance with only 200,000 additional iterations, compared to the 7,000,000 iterations required for the original pre-training.
  • Scalability: Interestingly, the efficiency gains of DyDiT actually improve as the base model gets larger. This suggests that larger models contain even more redundancy that can be exploited.
  • Compatibility: DyDiT is orthogonal to other acceleration methods. When combined with efficient samplers like DPM-Solver++ or caching techniques like DeepCache, it pushes generation speeds even further.

Limitations and Future Work

While highly effective for image generation, the current study focuses primarily on static images. Extending this to video generation—where temporal redundancy is even higher—is a promising next step. Additionally, while DyDiT works well with most samplers, the authors observed some instability when combining it with Latent Consistency Models (LCM) at very low FLOP ratios, suggesting a need for more specialized training for distilled models. Future work could also explore how dynamic computation handles conditional inputs like depth maps or sketches.

Summary updated

BibTeX
@inproceedings{zhao2025dynamic,
  author = {Wangbo Zhao and Yizeng Han and Jiasheng Tang and Kai Wang and Yibing Song and Gao Huang and Fan Wang and Yang You},
  title = {{Dynamic Diffusion Transformer}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=taHwqSrbrb},
}
Figure