TL;DR
While the matrix-aware optimizer Muon offers superior step efficiency over AdamW when training Diffusion Transformers (DiTs), its heavy computational and communication overhead bottlenecks wall-clock performance at scale. This paper introduces Periodic Row-wise Muon, an optimization strategy that alternates expensive spectral updates with cheap row-wise normalization. This approach slashes optimizer time by up to 54.3% and cuts communication volume by 66.7%, successfully translating Muon's algorithmic advantages into massive end-to-end training speedups for models up to 15 billion parameters.
What Problem Does This Paper Address?
As Diffusion Transformers (DiTs) scale up to deliver state-of-the-art image and video generation, training them becomes incredibly resource-intensive. Traditional optimizers like AdamW update weights coordinate-by-coordinate. Recently, a matrix-aware optimizer called Muon emerged as a powerful alternative. By treating weight tensors as matrices and applying a 5-step Newton-Schulz (NS5) iteration to their momentum, Muon generates updates with a global spectral structure, drastically reducing the number of training steps required to achieve high-quality results.
However, there is a catch: at large scales (billions of parameters), running NS5 at every single step introduces severe systems bottlenecks. In a distributed setup, it requires all-gathering full momentum matrices across GPUs and executing heavy matrix multiplications. This massive compute and communication overhead frequently offsets Muon's step-efficiency gains, making it slower than AdamW in actual wall-clock time. This paper tackles the challenge of preserving Muon's generational quality advantages while eliminating its steep systems-level penalties.
Methods
The authors propose Periodic Row-wise Muon, which relaxes the requirement of imposing global spectral geometry at every single optimization step. The method alternates between two complementary matrix geometries:
- Refresh Steps (Every $K$ steps): The optimizer performs the full, vanilla Muon NS5 spectral update to couple rows and singular directions globally.
- Non-Refresh Steps (The other $K-1$ steps): The optimizer replaces NS5 with a low-cost Row-wise constrained Normalization (RowNorm) operator. RowNorm normalizes each row independently based on the current momentum, providing local scale control and maintaining stability between refreshes without needing global coupling.
To maximize hardware efficiency, the authors co-designed a distributed execution strategy:
- On non-refresh steps, RowNorm operates directly on sharded momentum. For tall matrices, only the norm statistics (scalars) are all-reduced across ranks rather than the entire matrix, dropping communication volume significantly.
- On refresh steps, they introduce a bucketed all-gather pipeline that overlaps the communication of upcoming weight matrices with the NS5 computation of already available buckets, hiding communication latency.
Datasets
- GPIC-Full (Giant Permissive Image Corpus): A large-scale text-to-image dataset containing 100 million training image-text pairs, 200K validation examples, and 1M test examples. Captions were enhanced using Qwen3-VL-4B-Instruct to ensure high-quality detail.
Key Insights and Ideas
- Spectral Stability: The ideal polar direction of a momentum matrix is locally stable. If momentum changes moderately between steps, the underlying spectral structure doesn't shift drastically. Therefore, you don't need to re-compute global spectral geometry at every step.
- Alternating Geometries: Alternating between global spectral updates and independent row-wise updates acts as an effective regularizer, keeping the optimization trajectory stable while drastically reducing per-step FLOPs.
- Communication Asymmetry: Shifting intermediate steps to RowNorm changes the communication complexity for tall matrices from an all-gather of the full matrix ($O(mn)$) to a simple sum-reduction of row statistics ($O(n)$), bypassing the primary distributed training bottleneck.
Key Results
The authors evaluated their method on DiT models ranging from 1.3B to 15B parameters, comparing it against AdamW and vanilla Muon.
- Generative Quality Boost: Across all scales, Muon-based approaches improved the best observed FD-DINO score (a key metric for generative quality) over AdamW by 12.9–19.1%.
- Maintained or Improved Fidelity: Periodic Row-wise Muon remained within 0.5% of vanilla Muon's generative quality on 1.3B–4B models and actually improved it by 4.5% on the 9B model.
- Wall-Clock Efficiency: Compared to vanilla Muon, the periodic variant reduced optimizer time by 46.9–54.3% and total end-to-end step time by 15.7–24.3%.
- Drastic Communication Savings: It achieved a flat 66.7% reduction in logical optimizer-communication volume across all scales.
- Faster Time-to-Quality: Periodic Row-wise Muon reached its peak generative quality with 33.7% (1.3B), 36.1% (4B), 64.8% (9B), and 57.4% (15B) less active training time compared to vanilla Muon.
Limitations and Future Work
- Scope of Evaluation: The benchmarks were restricted to a single DiT architecture family, one dataset (GPIC), a fixed resolution (512x512), and a specific hardware configuration (32 nodes of H100 GPUs). Performance under different parallelism strategies or model families remains to be verified.
- Static Hyperparameters: The refresh period ($K=3$) and the RowNorm scaling factor ($\gamma=0.15$) were held constant globally. The authors note that exploring layer-wise or adaptive schedules for these parameters is a promising direction for future work.
- Remaining Bottlenecks: Even though communication is minimized on intermediate steps, the periodic "refresh" steps still require full momentum materialization and communication.
Summary updated