Scaling Diffusion Transformers Efficiently via $μ$P
Chenyu Zheng, Xinyu Zhang, Rongzhen Wang, Wei Huang, Zhi Tian, Weilin Huang, Jun Zhu, Chongxuan Li
TL;DR
This work generalizes Maximal Update Parametrization ($\mu$P) to diffusion Transformers, proving that forward passes of mainstream variants (U-ViT, DiT, PixArt-$\alpha$, MMDiT) conform to the standard $\mu$P formulation via the NexorT program. It establishes robust base hyperparameter transferability across widths, batch sizes, and training steps, and introduces a $\mu$Transfer protocol to move optimal base HPs from proxy models to target scales. Empirically, $\mu$P accelerates training and reduces tuning costs across several large diffusion models, achieving up to 2.9x faster convergence (DiT-XL-2-$\mu$P) and efficient scaling of PixArt-$\alpha$ (0.04B to 0.61B) and MMDiT (0.18B to 18B) with only a few percent of tuning FLOPs. The results position $\mu$P as a principled, scalable framework for diffusion Transformers, enabling practical large-scale generative modeling with limited hyperparameter tuning.
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 ($μ$P) was proposed for vanilla Transformers, which enables stable HP transfer from small to large language models, and dramatically reduces tuning costs. However, it remains unclear whether $μ$P of vanilla Transformers extends to diffusion Transformers, which differ architecturally and objectively. In this work, we generalize standard $μ$P to diffusion Transformers and validate its effectiveness through large-scale experiments. First, we rigorously prove that $μ$P of mainstream diffusion Transformers, including U-ViT, DiT, PixArt-$α$, and MMDiT, aligns with that of the vanilla Transformer, enabling the direct application of existing $μ$P methodologies. Leveraging this result, we systematically demonstrate that DiT-$μ$P enjoys robust HP transferability. Notably, DiT-XL-2-$μ$P with transferred learning rate achieves 2.9 times faster convergence than the original DiT-XL-2. Finally, we validate the effectiveness of $μ$P on text-to-image generation by scaling PixArt-$α$ from 0.04B to 0.61B and MMDiT from 0.18B to 18B. In both cases, models under $μ$P outperform their respective baselines while requiring small tuning cost, only 5.5% of one training run for PixArt-$α$ and 3% of consumption by human experts for MMDiT-18B. These results establish $μ$P as a principled and efficient framework for scaling diffusion Transformers.
