MuLoCo: Muon is a practical inner optimizer for DiLoCo

Benjamin Thérien, Xiaolong Huang, Aaron Defazio, Irina Rish, Eugene Belilovsky

TL;DR

MuLoCo improves the scalability of distributed LLM training by replacing the standard AdamW inner optimizer in the DiLoCo framework with Muon, a second-order optimizer that takes orthonormalized steps. This simple swap results in "directionally correct" updates that resist destructive interference during averaging, allowing MuLoCo to maintain high performance as worker counts increase and support significantly larger critical batch sizes.

What Problem Does This Paper Address?

Training the next generation of 2-15 trillion parameter models is a logistical nightmare. Standard data-parallel (DP) training requires all accelerators to communicate at every single step, creating a massive bottleneck on anything but the most expensive, tightly interconnected hardware.

The DiLoCo (Distributed Low-Communication) framework offers a solution: workers train independently for several hundred steps ($H$) before averaging their weights. However, DiLoCo has a "worker scaling" problem—its performance degrades significantly as you increase the number of workers ($K$). The authors of MuLoCo hypothesize that this is because the inner optimizer (traditionally AdamW) produces updates that are too "noisy" or poorly aligned, leading to destructive interference when those updates are averaged across many workers.

Methods

The authors introduce MuLoCo, which stands for Muon as a practical inner optimizer for DiLoCo.

  • The Inner Optimizer (Muon): Unlike AdamW, Muon uses a quintic Newton-Schulz iteration to ensure its weight updates are orthonormal. This means the updates have a stable Frobenius norm and are more consistently aligned.
  • The Outer Optimizer: After $H$ local steps, the parameter differences (pseudogradients) from all workers are averaged. MuLoCo then applies a Nesterov SGD update as the "outer" optimizer to move the global model.
  • Communication Efficiency: The authors evaluate MuLoCo alongside techniques like quantization (reducing bit-width) and streaming (partitioning layer communication) to further minimize bandwidth requirements.

Datasets

The models were pre-trained on the high-quality portion of the Nemotron-CC dataset. To evaluate downstream performance, the authors used a suite of standard zero-shot benchmarks: MMLU, WinoGrande, HellaSwag, PIQA, ARC-E, ARC-C, and OBQA.

Key Insights and Ideas

  • Directional Alignment is Key: The "aha moment" is that Muon's orthonormal steps lead to pseudogradients that are much more aligned with the "true" gradient than AdamW's. As shown in Figure 2, MuLoCo's updates maintain higher cosine similarity to a single-worker baseline as more workers are added. MuLoCo maintains better update alignment than DiLoCo as worker count increases.
MuLoCo maintains better update alignment than DiLoCo as worker count increases.
  • The Interference Gap: The authors define a new metric, the "top-S interference gap," to quantify the loss of spectral mass during averaging. They found that while DiLoCo's interference grows with more workers, MuLoCo's actually shrinks, explaining its superior scaling.
  • MuLoCo $K=1$ is a Pareto Powerhouse: Even with just one worker, the combination of Muon and the outer Nesterov momentum creates a training-time-efficiency monster. It reaches the same loss as standard DP AdamW while requiring up to 4.5x fewer sequential steps.
  • Larger Critical Batch Size (CBS): MuLoCo can "absorb" much larger batches before hitting diminishing returns. This is crucial for scaling training across multiple data centers where communication is slow but compute is plentiful.

Key Results

  • Superior Scaling: Consistently across scales (150M to 3.1B), MuLoCo outperforms DiLoCo. For $K > 2$ workers, MuLoCo's advantage over its data-parallel baseline is strictly better than DiLoCo's.
  • 15B Scale Success: At the 15B parameter scale, $K=16$ MuLoCo nearly matches single-worker performance, while $K=1$ MuLoCo matches the best-performing baseline while using a massive 16M token batch size.
  • Lossless Compression: MuLoCo achieves lossless performance even when updates are compressed to 4-bit quantization.
  • Wall-Clock Speedups: In a simulated bandwidth-constrained environment (10 Gbit/s), MuLoCo reached target loss in ~23 hours, whereas standard data-parallel methods would take over 60 hours due to communication overhead. MuLoCo dominates DiLoCo and DP baselines in wall-clock time under networking constraints.
MuLoCo dominates DiLoCo and DP baselines in wall-clock time under networking constraints.

Limitations and Future Work

  • Architecture Scope: The study focused exclusively on dense transformers. The authors note that performance on Mixture-of-Experts (MoE) or State Space Models (SSMs) remains to be seen.
  • Outer Optimizer: The authors only explored Nesterov SGD for the outer optimizer; other choices might yield further gains.
  • Theoretical Proofs: While the empirical evidence is strong and backed by spectral analysis, the paper does not provide a formal proof of convergence for the MuLoCo algorithm.
  • Maximum Scale: While 15B is significant, the scaling laws were extrapolated from smaller models; testing at the 100B+ scale is a natural next step.

Summary updated

BibTeX
@inproceedings{therien2026muloco,
  author = {Benjamin Thérien and Xiaolong Huang and Aaron Defazio and Irina Rish and Eugene Belilovsky},
  title = {{MuLoCo: Muon is a practical inner optimizer for DiLoCo}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=OBXBXSgwcD},
}
Figure