TL;DR
Dion3 is a full-stack optimization of the popular Muon optimizer that reduces its massive computational and communication overhead by up to 6×. By combining a novel Gram Newton-Schulz algorithm, custom symmetric GPU kernels, megabatched communication, and a fractional update rule, Dion3 delivers the step-efficiency of Muon at a fraction of the cost—all while matching or even exceeding model quality.
What Problem Does This Paper Address?
The Muon optimizer has recently gained traction for training frontier Large Language Models (LLMs) like Kimi K2 and GLM-5. Unlike traditional optimizers like AdamW, Muon uses an orthogonalization step (polar decomposition) that allows models to learn in fewer total training steps.
However, this comes with a massive catch: approximating this orthogonalization requires the Newton-Schulz method, which relies on cubic-time ($O(n^3)$) matrix multiplications. As models scale, this computational overhead explodes. Furthermore, in modern distributed training setups where model weights are sharded across multiple GPUs (e.g., using PyTorch FSDP), devices must frequently communicate to perform these matrix operations, creating severe communication bottlenecks. Dion3 aims to eliminate these overheads across every layer of the hardware and software stack.
Methods
Dion3 introduces four distinct, compounding improvements to make orthogonal updates practical at scale:
- Gram Newton-Schulz: Instead of running iterations directly on the large, often highly rectangular momentum matrix $X$, this mathematically equivalent reformulation computes the smaller $n \times n$ Gram matrix $XX^\top$ and iterates on that. This drastically cuts down on expensive rectangular matrix multiplications.
- Symmetric GPU Kernels: Written in CuteDSL for NVIDIA Hopper and Blackwell architectures, these custom kernels exploit the inherent symmetry of the Gram matrix operations, cutting the required floating-point operations (FLOPs) in half for those steps.
- The Dion3 Fractional Update Rule: Instead of orthogonalizing the entire momentum matrix at every single step, Dion3 subsamples a fraction $f$ (e.g., 25% or 12.5%) of the rows or columns. It uses an error feedback mechanism to ensure omitted rows aren't forgotten, boosting their priority in future steps.
- Megabatching: Rather than communicating matrix-by-matrix, Dion3 groups all matrices of the same shape into a single communication batch. This reduces the number of all-to-all communication rounds to a small constant ($O(1)$), independent of model depth.
Datasets
The authors evaluated Dion3 across several configurations:
- ClimbMix: Used to train dense transformers at 1B (100B tokens), and 3B, 4B, 7B, and 14B scales (10B tokens).
- FineWeb-Edu: Used for smaller-scale architectural ablation studies (Llama-430M, Qwen-600M, Gemma-1B, and a custom 1B Mixture-of-Experts).
- Downstream Evaluation: Models were tested on a suite of 12 standard benchmarks, including ARC (Easy/Challenge), BoolQ, COPA, HellaSwag, LAMBADA, MMLU, OpenBookQA, PIQA, RTE, TruthfulQA, and WinoGrande.
Key Insights and Ideas
- Exploiting Symmetry at the Hardware Level: Standard Newton-Schulz generates symmetric intermediate matrices but treats them as standard dense matrices. Shifting the math to the Gram matrix allows custom hardware-level schedulers to skip computing the upper triangle entirely, yielding a "free" 2× speedup for large matrix sizes.
- The "Free Lunch" of Fractional Updates: Subsampling rows doesn't just speed up the optimizer by reducing matrix dimensions; it also acts as a regularizer. Surprisingly, Dion3 with fractional updates ($f < 1$) actually outperforms full Muon/NorMuon in final validation loss and downstream accuracy.
- Tailored for Modern Architectures: Modern LLM architectures (like MoEs or Grouped-Query Attention) use highly asymmetric, rectangular weight matrices. Gram Newton-Schulz is uniquely suited for these because its runtime scales much better with high aspect ratios compared to standard Newton-Schulz.
Key Results
- Massive Overhead Reduction: Stacking these contributions together reduces Muon's optimizer step time from an expensive 26× relative to AdamW down to just 4×.
- Superior Model Quality: At the 14B parameter scale, Dion3 ($f=1/4$) achieved a lower validation loss (-0.027) and a +0.7 percentage point improvement in downstream accuracy over the NorMuon baseline.
- Bandwidth Savings: The fractional update rule directly scales down the distributed communication volume by $1/f$, which is crucial for clusters bound by data-center network bandwidth.
Limitations and Future Work
- Altered Optimization Trajectory: Because the fractional update rule explicitly changes the optimization path, more work is needed to ensure this regularization effect generalizes reliably across different modalities (like vision or audio) and varied network architectures.
- Small-Scale Kernel Overhead: At smaller model scales, the extra kernel launches required by row selection can dominate the runtime. While the authors successfully mitigate this using CUDA graph capture and replay, it remains an implementation detail that practitioners must handle carefully.
Summary updated