# Sonar-MoE: In-Backward Expert Updates for Memory-Efficient Mixture-of-Experts Training

DevFeed: [Sonar-MoE: In-Backward Expert Updates for Memory-Efficient Mixture-of-Experts Training](<https://devfeed.tech/articles/sonar-moe-in-backward-expert-updates-for-memory-efficient-mixture-of-experts-training-114811.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.03577>)

Author: Avni Mittal, Avinash Anand, Ashutosh Kumar, Dikshant Kukreja, Kritarth Prasad, Chaitanya Lakhchaura, Rishitej Reddy Vyalla, Erik Cambria, Zhengkui Wang, Rajiv Ratn Shah

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Mixture of Experts (MoE)](<https://devfeed.tech/topics/mixture-of-experts-moe.md>)

Tags: [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cs-pf](<https://devfeed.tech/tags/cs-pf.md>), [experts](<https://devfeed.tech/tags/experts.md>), [memory](<https://devfeed.tech/tags/memory.md>), [mixture-of-experts](<https://devfeed.tech/tags/mixture-of-experts.md>), [moe](<https://devfeed.tech/tags/moe.md>), [sonar](<https://devfeed.tech/tags/sonar.md>), [training](<https://devfeed.tech/tags/training.md>), [updates](<https://devfeed.tech/tags/updates.md>)

## AI overview

Sonar-MoE reduces GPU memory use in MoE fine-tuning by updating each batched expert tensor during the backward pass and freeing its gradient immediately, limiting retained expert gradients to one layer. In bf16 experiments on OLMoE-1B-7B and Granite-3.1-3B-A800M with two expert-kernel backends, it cut peak memory by 19-22% and step time by 17-23% versus standard training with global-norm clipping. Updates were bitwise identical to standard training without expert gradient clipping, and held-out loss stayed within 0.003 of all baselines. Updating whole batched tensors avoids the 20-72% slowdown reported for updating individual experts at the same memory use. The method matches optimizer-in-backward over all parameters in memory and speed while retaining clipping for dense parameters.

## Source excerpt

arXiv:2611.03577v1 Announce Type: new 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.