Scaling Diffusion Transformers Efficiently via μP

Chenyu Zheng, Xinyu Zhang, Rongzhen Wang, Wei Huang, Zhi Tian, Jun Zhu, Chongxuan Li · DOI

Abstract

Scaling Diffusion Transformers (DiTs) to billions of parameters typically requires expensive hyperparameter tuning. This work demonstrates that Maximal Update Parametrization (μP) effectively enables zero-shot hyperparameter transfer from small proxy models to large-scale DiTs. By applying μP to architectures like MMDiT-18B, researchers achieve state-of-the-art performance with significantly reduced tuning costs—as low as 3% of traditional methods—and up to 2.9x faster convergence.

Introduction

In generative AI, scaling laws suggest that larger models yield superior performance. However, as Diffusion Transformers (DiTs) scale from millions to billions of parameters, they become increasingly sensitive to hyperparameters (HPs), particularly the learning rate. Finding the optimal "Goldilocks" zone for a 20-billion-parameter model often necessitates multiple, prohibitively expensive training runs. While Maximal Update Parametrization (μP) has addressed this for autoregressive Large Language Models (LLMs) by making optimal learning rates independent of model width, its applicability to DiTs—which utilize different architectures like adaptive LayerNorm and iterative denoising objectives—remained unproven until now.

Methodology: Bridging μP and Diffusion

The researchers bridged the gap between μP theory and diffusion physics through a two-pronged approach:

  1. Theoretical Proof: Utilizing the "Tensor Programs" framework, the authors rigorously proved that mainstream diffusion architectures—including U-ViT, DiT, PixArt-α, and MMDiT—adhere to the same scaling rules as vanilla Transformers. This confirms that "abc-parameterization" (adjusting multipliers, initialization, and learning rates based on width) is directly applicable.
  2. μTransfer Workflow: The process involves finding the optimal learning rate on a small "proxy" model (e.g., 0.18B parameters) via a standard sweep and then directly applying that rate to a "target" model (e.g., 18B parameters) using μP scaling rules. A key technical detail involves fixing the attention mechanism's "head dimension" while scaling the number of heads to prevent attention collapse in wider models.

Experimental Setup and Datasets

The findings were validated across several high-stakes benchmarks:

  • ImageNet (256x256): For systematic study of transferability across widths and batch sizes.
  • SA-1B (Segment Anything): Used with SAM-LLaVA captions to train PixArt-α models.
  • Large-Scale Internal Data: A collection of 820 million image-text pairs used for the flagship MMDiT-18B model.
  • Human Evaluation: A benchmark of 150 prompts and 22,500 alignment tests conducted by experts to judge text-to-image fidelity.

Key Results and Efficiency

The application of μP yielded significant improvements in both training efficiency and model quality:

Samples from MMDiT-μP-18B and efficiency of μP search.
  • Efficiency Gains: For PixArt-α, the cost of finding optimal HPs was only 5.5% of a single training run. For the 18B model, the μP-transferred hyperparameters outperformed manually tuned settings while using only 3% of the typical tuning compute budget.
  • Performance: The μP-tuned MMDiT-18B achieved an alignment accuracy of 0.715, surpassing the baseline of 0.703. Furthermore, the models exhibited 2.9x faster convergence due to the stability provided by larger learning rates.
  • Qualitative Superiority: Visual results demonstrate that μP models handle complex semantic prompts with higher spatial accuracy and fidelity compared to standard baselines.

Conclusion

This research confirms that μP is a robust, architecture-agnostic solution for scaling Diffusion Transformers. By enabling cheap, small-scale proxy tuning that transfers perfectly to giant models, it lowers the barrier to entry for developing state-of-the-art generative models. Future work will explore the minimum viable size for proxy models and the interaction of μP with emerging optimizers.

Summary updated

BibTeX
@misc{zheng2025scaling,
  author = {Chenyu Zheng and Xinyu Zhang and Rongzhen Wang and Wei Huang and Zhi Tian and Weilin Huang and Jun Zhu and Chongxuan Li},
  title = {{Scaling Diffusion Transformers Efficiently via μP}},
  year = {2025},
  eprint = {2505.15270},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.15270},
}
Figure