Flattening Every Memory Peak in Long-Context Mixture-of-Experts Training
On the map: Mixture-of-experts → Efficient MoE training and inference systems
Abstract (arXiv)
Training a Mixture-of-Experts (MoE) model at long context or large batch size fails as soon as any one component's peak allocation exceeds device memory, so the target is every peak at once, not the average footprint. Four are left unbounded by the parallelism plans in common use, and each grows differently: expert dispatch with the routing matrix, the vocabulary projection with tokens times vocabulary, gradient checkpoint boundaries with depth times sequence length, and optimizer state with parameter count. Which one runs out first changes with the model, the context length, and the device count, so lowering the largest only exposes the next. We bound all four with schedules whose GPU working set is fixed at launch: PipelinedLLEP extends least-loaded expert parallelism with a cap on the tokens each source contributes to a dispatch chunk, Ring-DTP circulates activations or weight shards around a ring at the vocabulary projection and folds each block of logits into an online log-sum-exp, Selective checkpoint offload (SCO) keeps the one long-lived tensor of each checkpoint boundary in CPU memory, and OffloadStreamAdamW turns the serial CPU Adam update of optimizer offload into a bucket pipeline. All four change only the order and granularity of computation and data movement, so the loss and gradients stay exact. In matched component tests, they cut the MoE dispatch peak by up to 59.3% without losing throughput, the vocabulary projection peak by 86.6%, and the offloaded optimizer step by 2.05× faster. Composed on MoE models from 120B to 667B parameters, they train at 1M context length, 8--32× the reach of a tuned FSDP2 baseline, and up to 10.4× its throughput.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Efficient MoE training and inference systems, one of 12 directions in Mixture-of-experts. Builds on 28 of its 38 references that are in the map. First posted on arXiv 13 Sep 2026.
Builds on
28 of 38 references.
Closest ancestors · 6
Same direction, newest first
- 2026Mixture-of-Parallelisms: Towards Memory-Efficient Training Stack for Mixture-of-Experts Models2 Jul
- 2026Least-Loaded Expert Parallelism: Load Balancing An Imbalanced Mixture-of-Experts23 Jan
- 2022MegaBlocks: Efficient Sparse Training with Mixture-of-Experts29 Nov
- 2022Accelerating Distributed MoE Training and Inference with Lina31 Oct
- 2022Tutel: Adaptive Mixture-of-Experts at Scale7 Jun
- 2022DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scale14 Jan
Other references · 22
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
- 2016Training Deep Nets with Sublinear Memory Costcited by 848
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
- 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 457
- 20218-bit Optimizers via Block-wise Quantizationcited by 403
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 341
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 302
- 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 256
10 more
- 2023DeepSpeed Ulysses: System Optimizations for Enabling Training of Extreme Long Sequence Transformer Modelscited by 245
- 2018Online normalizer calculation for softmaxcited by 162
- 2024Adam-mini: Use Fewer Learning Rates To Gain Morecited by 137
- 2024Liger Kernel: Efficient Triton Kernels for LLM Trainingcited by 130
- 2019Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerializationcited by 91
- 2024TorchTitan: One-stop PyTorch native solution for production ready LLM pre-trainingcited by 85
- 2023FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device Placementcited by 53
- 2020Dynamic Tensor Rematerializationcited by 46
- 2024Cut Your Losses in Large-Vocabulary Language Modelscited by 40
- 2025Nemotron-Math: Efficient Long-Context Distillation of Mathematical Reasoning from Multi-Mode Supervisioncited by 26
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024ExpertFlow: Efficient Mixture-of-Experts Inference via Predictive Expert Caching and Token Scheduling
- 2026Scalable Training of Mixture-of-Experts Models with Megatron Core
- 2026MELINOE: Fine-Tuning Enables Memory-Efficient Inference for Mixture-of-Experts Models
- 2025Capacity-Aware Inference: Mitigating the Straggler Effect in Mixture of Experts
- 2025BuddyMoE: Exploiting Expert Redundancy to Accelerate Memory-Constrained Mixture-of-Experts Inference
- 2026Speculating Experts Accelerates Inference for Mixture-of-Experts
- 2025Not All Models Suit Expert Offloading: On Local Routing Consistency of Mixture-of-Expert Models
- 2026Where Should Optimizer State Live? Tiered State Allocation for Memory-Efficient Mixture-of-Experts Training