Sonar-MoE: In-Backward Expert Updates for Memory-Efficient Mixture-of-Experts Training
Avni Mittal, Avinash Anand, Ashutosh Kumar, Dikshant Kukreja, Kritarth Prasad, Chaitanya Lakhchaura, Rishitej Reddy Vyalla, Erik Cambria,
Key points
From the paper's conclusion- We introduce Sonar-MoE, which updates each expert tensor during the backward pass and frees its gradient right away.
Abstract
Most parameters of a Mixture-of-Experts (MoE) model belong to its experts, and standard training keeps every expert gradient in GPU memory until the optimizer step. This memory grows with the number and size of the experts, so it rises as MoE models scale. We introduce Sonar-MoE, which updates each expert tensor during the backward pass and frees its gradient right away. It brings optimizer-in-backward from dense models to batched MoE expert tensors, so the GPU never holds more than one layer of expert gradients. When we fine-tune OLMoE-1B-7B and Granite-3.1-3B-A800M in bf16 with two expert-kernel backends, Sonar-MoE lowers peak memory by 19% to 22%. Its updates are bitwise identical to standard training without expert gradient clipping, and held-out loss stays within 0.003 of all baselines. Each step also takes 17% to 23% less time than standard training with global-norm clipping. Updating whole batched tensors rather than individual experts is what keeps Sonar-MoE fast, as it avoids a 20% to 72% slowdown while using the same memory. Sonar-MoE matches optimizer-in-backward over all parameters in memory and speed while still clipping the dense parameters.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Supercharging Olmo-core for Efficient and Scalable MoE TrainingarXiv · 2026
- OOM: Offload-Optimized Full-Parameter MoE Training via Memory-Execution Co-DesignarXiv · 2026
- Memory-Efficient Expert Routing for Distributed MoE TrainingarXiv · 2026
- CIERA: Cross-Iteration Exponent Reuse for Lossless Allgather in Sharded MoE TrainingarXiv · 2026
- Multi-GPU MoE Inference with Adaptive Expert OffloadingarXiv · 2026
- MatMoE: Matryoshka Mixture-of-Experts with Dynamic Mixed-Precision Quantization for Efficient InferencearXiv · 2026