Reproduce “Expert Coupling in MoE Pretraining: Reducing All-to-All Overhead with Correlated Placement and Token Shuffling” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Radha Gulhane, Quentin Anthony, Beren Millidge

The authors reduce communication in mixture-of-experts pretraining by grouping frequently co-selected experts on the same GPU, deduplicating token transfers, and shuffling tokens toward predicted next-layer experts within an existing collective. This preserves router choices and expert parameters. In one 12-layer MI300X setup, top-6 TP16 EP16 all-to-all time falls 2.63× and step time improves 1.34× over baseline; results are layout-specific.

Key insights

  • Router choices exhibit exploitable structure: correlated placement raises same-GPU top-2 expert placement from 12% to 53% at EP8, while token shuffling increases next-layer expert locality from 12.5% to 59% in the tested TP8/EP8 top-2 setup.
  • The communication optimizations leave routing decisions and model architecture unchanged; routing tables can be estimated from relatively small samples, with 4,096 tokens yielding results close to much larger samples.
  • Lower communication volume does not always translate proportionally into faster steps: link contention and the fraction of step time spent in all-to-all affect realized speedups.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.