Scaling Diffusion Transformers Efficiently via μP

Chenyu Zheng, Xin-Yu Zhang, Rongzheng Wang, Wei Huang, Zhi Tian +3 more
5/1/2025
8 citations
diffusion-flowtransformer-attention

Official code: ML-GSAI/Scaling-Diffusion-Transformers-muP (101 stars).

Abstract

Diffusion Transformers have emerged as the foundation for vision generative models, but their scalability is limited by the high cost of hyperparameter (HP) tuning at large scales. Recently, Maximal Update Parametrization ($\mu$P) was proposed for vanilla Transformers, which enables stable HP transfer from small to large language models, and dramatically reduces tuning costs.

Show full abstract

However, it remains unclear whether $\mu$P of vanilla Transformers extends to diffusion Transformers, which differ architecturally and objectively. In this work, we generalize standard $\mu$P to diffusion Transformers and validate its effectiveness through large-scale experiments. First, we rigorously prove that $\mu$P of mainstream diffusion Transformers, including U-ViT, DiT, PixArt-$\alpha$, and MMDiT, aligns with that of the vanilla Transformer, enabling the direct application of existing $\mu$P methodologies. Leveraging this result, we systematically demonstrate that DiT-$\mu$P enjoys robust HP transferability. Notably, DiT-XL-2-$\mu$P with transferred learning rate achieves 2.9 times faster convergence than the original DiT-XL-2. Finally, we validate the effectiveness of $\mu$P on text-to-image generation by scaling PixArt-$\alpha$ from 0.04B to 0.61B and MMDiT from 0.18B to 18B. In both cases, models under $\mu$P outperform their respective baselines while requiring small tuning cost, only 5.5% of one training run for PixArt-$\alpha$ and 3% of consumption by human experts for MMDiT-18B. These results establish $\mu$P as a principled and efficient framework for scaling diffusion Transformers.

View on arXivView PDF

Code Implementations(1)

[NeurIPS 2025] Official implementation for our paper "Scaling Diffusion Transformers Efficiently via μP".

1012

Similar Papers

Cite this paper

@article{zheng2025scaling,
  title  = {Scaling Diffusion Transformers Efficiently via μP},
  author = {Chenyu Zheng and Xin-Yu Zhang and Rongzheng Wang and Wei Huang and Zhi Tian and Wei-Lin Huang and Jun Zhu and Chong-Xuan Li},
  year   = {2025},
  eprint = {2505.15270},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2505.15270},
  url    = {https://doi.org/10.48550/arXiv.2505.15270},
  journal = {Neural Information Processing Systems}
}

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/2505.15270.svg)](https://codeofpaper.com/paper/2505.15270)

Discussion