TL;DR
Training Mixture-of-Experts (MoE) models across loosely connected machines with infrequent synchronization (DiLoCo) works surprisingly well: the extra validation-loss penalty specific to MoEs is tiny (0.02–0.03) and doesn't grow even when workers train apart for 256 steps. Routers naturally stay aligned (94–97% agreement late in training), and special router-focused fixes aren't needed. The one trap to avoid is syncing the expert layers less often than the shared layers—save bandwidth by syncing everything less often, not by letting the experts fall behind.
What Problem Does This Paper Address?
Modern large language models are increasingly Mixture-of-Experts (MoE) models, where each token is routed to only a few specialized "experts" rather than passing through the entire feed-forward network. Meanwhile, training across geographically distributed machines requires low-communication methods like DiLoCo (Distributed Low-Communication), where workers train independently for $H$ steps before averaging their updates.
On paper, MoEs and DiLoCo look like a risky match. Because each worker sees different tokens, its router might drift toward sending tokens to different experts than another worker's router. When the workers finally average their weights, you might end up with mismatched routers, overloaded experts, or blurred expert roles. Earlier work showed DiLoCo can train MoEs to good loss, but hadn't looked under the hood to see if routing breaks or how much of DiLoCo's cost is actually MoE-specific.
Methods
The authors run a controlled study of 35 training runs on a single NVIDIA T4 GPU, simulating 2 or 4 DiLoCo workers exactly by running them sequentially between syncs:
- Model & Control: A 78M-parameter Qwen3-MoE-style decoder (17M active parameters per token, 6 layers, 8 experts per layer, top-2 routing). Every MoE run is paired with a dense control of the exact same active size (17M) to separate general DiLoCo costs from MoE-specific costs.
- DiLoCo Setup: Workers train locally with AdamW for $H \in \{16, 64, 256\}$ steps, then combine updates via an outer SGD optimizer with Nesterov momentum (default learning rate 0.7, with checks at 0.4 and 1.0).
- Load Balancing: Compares standard auxiliary loss against auxiliary-loss-free bias balancing (testing both averaging the bias across workers and keeping it local).
- Sync Splits: Tests syncing the router $4\times$ more often, syncing the MoE layers $4\times$ less often, and weighting expert averages by token counts.
Datasets
All models are pretrained from scratch on FineWeb-Edu (sample-10BT) using the GPT-2 tokenizer. Four-worker runs process about 403M training tokens (201M for two workers), with every DiLoCo run reading the exact same token streams as its synchronous baseline. Final validation loss is measured on 8,192 held-out sequences (4.2M tokens), and routing behavior is probed every 256 steps on a fixed set of 32 held-out sequences.
Key Insights and Ideas
- The MoE-specific cost is small and flat: While syncing less often hurts both dense and MoE models, the extra penalty for being an MoE is only 0.02–0.03 in validation loss—and it stays flat from $H=16$ to $H=256$.
- Routers stay aligned on their own: Workers disagree mostly early in training. By the second half of training, routers pick the same top-2 experts 94–97% of the time, and merging actually improves probe loss slightly for $H \ge 64$. Load balance and expert specialization survive merging intact.
- The real failure is lagging MoE layers: Because experts hold ~72% of the parameters, syncing them $4\times$ less often looks like an easy bandwidth win. Instead, it is the one clear failure: experts drift 2.6–3.3$\times$ further from the shared copy, and when merged, they no longer fit the shared layers around them.
- Router-focused fixes aren't needed: Syncing the router $4\times$ more often halves router drift, and token-weighted expert averaging or keeping balancing biases local changes nothing measurably.
Key Results
- MoE extra cost: Across 4 workers, the MoE's validation-loss gap over its synchronous baseline is 0.187 ($H=16$), 0.252 ($H=64$), and 0.387 ($H=256$) with auxiliary loss—just +0.029, +0.030, and +0.033 above the dense model's gap.
- Lagging-experts penalty: Syncing MoE layers every $4H$ steps raises validation loss by +0.21 at $H=64$ (gap 0.465 vs. 0.252) and +0.95 at $H=256$ (gap 1.335 vs. 0.387). Worse, syncing everything every 256 steps sends less data (7.5 GB vs. 13.8 GB per worker) and achieves a better gap (0.387 vs. 0.465) than lagging experts at $H=64$.
- Load balancing: Auxiliary-loss-free balancing keeps its ~4$\times$ better final imbalance (0.019–0.030 vs. 0.095–0.136 for auxiliary loss), though it shows a short-lived imbalance spike (0.43–0.53) at the very first merges before settling.
Limitations and Future Work
The authors note several boundaries: the study uses one small model size (78M total, 8 experts) trained on ~400M tokens, and larger or more fine-grained MoEs could behave differently. Workers are simulated sequentially on one GPU, so wall-clock speedups and network stragglers aren't measured. All workers draw from the same data distribution (unlike federated learning, where data heterogeneity can drive router drift). Finally, an unexplained imbalance spike appears at step 2,304 for $H=256$, and whether these pretraining findings hold for asynchronous reinforcement learning of MoEs is left for future work.
Summary updated