Reproduce “MESH: Memory-Efficient Sinkhorn Optimization for Mixture-of-Experts Training” 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

Masato Fujitake

MESH introduces a memory-efficient Sinkhorn optimization method that reintroduces temporal smoothing for routed expert gradients in Mixture-of-Experts (MoE) models using a hidden momentum accumulator. This approach reduces optimizer state memory by 62.5% and peak CUDA allocation by 12.6% compared to AdamW, achieving competitive model quality in MoE training.

Key insights

  • Routed MoE expert matrices are identified as a distinct 'difficult class' of parameters for memory-efficient optimizers, unlike dense layers or embeddings, due to their noisy and conditional gradient characteristics.
  • The primary cause of stateless Sinkhorn's failure in MoE training is the 'ordering problem,' where normalizing instantaneous noisy gradients amplifies noise instead of normalizing a smoothed signal.
  • A crucial missing component for effective memory-efficient MoE expert optimization is temporal smoothing (a first-moment signal) applied *before* matrix normalization.

Summary by alphaXiv.

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