MuLoCo: Muon is a Practical Inner Optimizer for DiLoCo

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

The Distributed Training Bottleneck

Training the next generation of massive large language models (LLMs) presents significant logistical challenges. Standard data-parallel (DP) training requires accelerators to communicate at every single step, creating a severe bottleneck when training across different data centers or over constrained networks.

DiLoCo (Distributed Low-Communication) was proposed to mitigate this by allowing $K$ different workers to train locally for $H$ steps before averaging their weights. However, recent research has highlighted a major limitation: as the number of workers ($K$) increases, DiLoCo’s performance degrades. The authors of this paper hypothesize that the root cause lies in the choice of the "inner optimizer" (typically AdamW). They posit that AdamW produces "pseudogradients" that are too noisy or inconsistent, causing them to cancel each other out when averaged across multiple workers.

Introducing MuLoCo

To solve this scaling issue, the authors introduce MuLoCo (Muon inner optimizer DiLoCo). The core architectural change is straightforward but highly effective:

  1. Inner Optimizer: Instead of AdamW, each worker utilizes Muon. Muon is a second-order optimizer that uses Newton-Schulz iteration to "orthonormalize" its updates. This ensures that every step taken during local training is directionally stable and consistent.
  2. Outer Optimizer: After $H$ steps (the synchronization interval), the weight differences from all workers are averaged to create a "pseudogradient." This pseudogradient is then processed by a global outer optimizer (SGD with Nesterov momentum) to update the main model.

By leveraging orthonormalized steps, MuLoCo ensures that the updates from different workers remain directionally aligned, making the periodic averaging process significantly more effective.

Experimental Setup

To prove the method's scalability, the researchers pre-trained models ranging from 150M to 15B parameters on the high-quality portion of the Nemotron-CC dataset.

Evaluation was conducted using a held-out validation set from Nemotron-CC, alongside standard zero-shot benchmarks for the larger 3.1B and 15B models, including MMLU, HellaSwag, WinoGrande, PIQA, ARC-E, ARC-C, and OBQA.

Key Insights and Mechanisms

  • Directional Alignment: The critical discovery of the paper is that Muon’s steps are more mutually aligned than AdamW’s. When averaging AdamW updates from 16 different workers, the "spectrum" of the gradient collapses, washing out useful information. Muon, by contrast, maintains a healthy spectrum even at high worker counts.
  • The $K=1$ Phenomenon: Surprisingly, even with just one worker, MuLoCo outperforms standard data-parallel Muon. This suggests that the outer optimizer structure acts as a beneficial "lookahead" mechanism, conceptually similar to the Reptile algorithm used in meta-learning.
  • Massive Batch Scaling: MuLoCo significantly increases the Critical Batch Size (CBS)—the maximum batch size usable before compute speedups diminish. MuLoCo’s CBS is 2 to 4 times larger than DiLoCo’s, allowing practitioners to parallelize across many more GPUs to accelerate training.
  • Lossless Compression: The authors demonstrated that communication between workers could be quantized down to 4-bit precision with zero loss in performance, drastically reducing the bandwidth required to train across distant clusters.

Performance and Results

MuLoCo consistently scales better than DiLoCo across all tested worker counts ($K=1$ to $K=16$). At the 3.1B parameter scale, MuLoCo reaches the same loss as the AdamW baseline in roughly 4.5× fewer sequential steps.

Remarkably, despite Muon being a more mathematically complex optimizer, the actual wall-clock overhead compared to DiLoCo is less than 1%. The researchers also successfully extrapolated their findings to a 15B parameter model, showing that a 16-worker MuLoCo setup nearly matches the performance of a single-worker setup while enabling massive parallelism.

Limitations and Future Directions

While MuLoCo presents a major step forward for distributed training, the authors note a few limitations:

  • Architecture Scope: The study focused exclusively on dense transformers. It remains unknown if these benefits translate to Mixture-of-Experts (MoE) or State Space Models (SSMs).
  • Hyperparameter Extrapolation: For the 15B model, hyperparameters were extrapolated from smaller runs rather than fully swept, meaning the 15B results might actually under-report the method's true potential.
  • Outer Optimizer Variety: The study relied on Nesterov SGD as the outer optimizer. Exploring more sophisticated outer optimizers remains an open area for research.
  • Theoretical Proofs: While the empirical evidence is robust and the directional alignment theory is compelling, a formal theoretical convergence proof for this specific combination of optimizers is still needed.

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