MESH Optimizes Memory for Mixture-of-Experts Training.

Masato Fujitake· August 6, 2026 View original

Key takeaways

  • MESH is a memory-efficient optimizer for training Mixture-of-Experts models.
  • It addresses the unreliability of direct Sinkhorn application to MoE experts.
  • MESH uses hidden momentum to restore temporal gradient signals without full state.
  • It significantly reduces memory footprint with minimal impact on model performance.

Who benefits

AI/MLCloud ComputingResearchSoftware DevelopmentData Centers

Summary

This research introduces MESH, a memory-efficient Sinkhorn optimization method for training Mixture-of-Experts (MoE) models. MESH addresses the unreliability of direct Sinkhorn application to MoE by incorporating hidden momentum for expert matrices, significantly reducing optimizer state memory with minimal performance degradation.

Training Mixture-of-Experts (MoE) models, which are increasingly popular for scaling large language models, often faces significant memory constraints due to the optimizer state required for their numerous parameters. While memory-efficient optimizers like Sinkhorn gradient descent exist for dense Transformer matrices, directly applying them to MoE models has proven unreliable, leading to substantial performance degradation. This paper investigates the reasons behind this failure, specifically in the context of routed MoE expert matrices. It identifies that the conditional and temporally varying nature of expert gradients is poorly handled by stateless Sinkhorn normalization. To address this, the researchers propose MESH (Memory-Efficient Sinkhorn Optimization for Mixture-of-Experts Training), which introduces a hidden-momentum Sinkhorn update specifically for MoE experts. MESH restores a crucial temporal first-moment signal throughout the gradient-buffer lifecycle without needing to store the full expert first moment as optimizer state. An optional block-preconditioned variant further refines the memory-quality trade-off. Experiments demonstrate that MESH reduces optimizer-state memory by over 60% and peak PyTorch CUDA allocation by about 12.6% compared to AdamW, with only a modest gap in evaluation loss. The core finding is that temporal smoothing before matrix normalization is key for MoE experts.

Why it matters

AI engineers and researchers can use MESH to train larger and more complex Mixture-of-Experts models with reduced memory footprints, making advanced LLMs more accessible and cost-effective to develop and deploy.

How to implement this in your domain

  1. 1Evaluate current MoE training pipelines for memory bottlenecks, particularly related to optimizer state.
  2. 2Explore integrating MESH or similar hidden-momentum Sinkhorn updates for MoE expert matrices.
  3. 3Experiment with MESH's optional block-preconditioned variant to further optimize the memory-quality frontier.
  4. 4Benchmark the memory savings and performance impact of MESH against standard optimizers like AdamW on relevant MoE training tasks.
  5. 5Collaborate with research teams to adapt and deploy MESH in large-scale LLM pretraining efforts.

Original post by Masato Fujitake

"arXiv:2608.04407v1 Announce Type: new Abstract: Memory-efficient matrix optimizers such as Sinkhorn gradient descent remove most AdamW optimizer state for dense Transformer matrices, but direct application to Mixture-of-Experts (MoE) training is unreliable. We study this failure…"

View on X

Originally posted by Masato Fujitake on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses