How Inner Optimizers Shape Replica Scaling
cs.LG, cs.AI
Submitted: 2026-10-13
Updated: 2026-10-13
License: http://creativecommons.org/licenses/by/4.0/
The gist: Training large language models (LLMs) across geographically distributed and poorly interconnected compute pools or data centers has become a topic of significant interest.
Abstract
Training large language models (LLMs) across geographically distributed and poorly interconnected compute pools or data centers has become a topic of significant interest. This has led to increased study of local optimization methods such as DiLoco for LLMs, especially those that use local (or inner) adaptive or preconditioned optimizers, which are critical for high-performance LLM training. However, a central challenge remains: it is well known that increasing the number of model replicas (replica scaling) while fixing the total training budget leads to monotonically decreasing performance. Existing work has empirically demonstrated that the choice of inner optimizer (Muon v.s. AdamW) can significantly improve this trend, but offers only limited explanation of the performance difference. In this work, we consider a range of inner-optimizers and identify two important factors that impact replica scaling: (1) the covariance structure of the pseudo-gradients and (2) the impact of batch size on the pseudogradient's noise scale. Based on these insights, we theoretically and empirically demonstrate that whitening-based pre-conditioning is a powerful inner-optimizer desideratum. Our empirical evaluation extends the results to reveal that whitening-based inner-optimizers achieve strong replica scaling (for 8-96 replicas), with performance relative to DP improving as parameters and data are scaled.
Sources
- Communication-Efficient Language Model Training Scales Reliably and Robustly: Scaling Laws for DiLoCo
- Covariance estimation under one-bit quantization
- DiLoCo: Distributed Low-Communication Training of Language Models
- Streaming DiLoCo with overlapping communication: Towards a Distributed Free Lunch
- A Stable Whitening Optimizer for Efficient Neural Network Training
- Can Model Merging Improve Aggregation in DiLoCo?
- Optimal whitening and decorrelation
- SOAP, Muon, and Beyond: Pushing LLM Pretraining Scales
- DataComp-LM: In search of the next generation of training sets for language models
- Asynchronous Local-SGD Training for Language Modeling
- Decoupled Weight Decay Regularization
- On the SDEs and Scaling Rules for Adaptive Gradient Algorithms
- No Task Left Behind: Isotropic Model Merging with Common and Task-Specific Subspaces
- Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wasteful
- Overcoming the Communication-Performance Tradeoff in LLM Pretraining
- Local SGD Converges Fast and Communicates Little
- MuLoCo: Muon is a practical inner optimizer for DiLoCo
- On the Unreasonable Effectiveness of Federated Averaging with Heterogeneous Data
- Fantastic Pretraining Optimizers and Where to Find Them
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks