[KongchangAI]
ConceptSonar MoE

Sonar-MoE

A memory optimization method for training mixture-of-experts (MoE) models. It extends the optimizer-in-backward strategy to batched expert tensors, updating expert parameters batch by batch during backpropagation and releasing gradients immediately, thereby reducing peak memory usage.

Timeline (last 90 days)

Nov 3

Sonar-MoE proposes directly updating expert tensors during backpropagation and immediately releasing the gradients after the update, thereby reducing peak memory by 19% to 22%.

Unverified50%
Nov 3

Sonar-MoE was validated on two models, OLMoE-1B-7B and Granite-3.1-3B-A800M, both using bf16 precision and two expert kernel backends.

Unverified50%
Nov 3

Without expert gradient clipping, Sonar-MoE's updates are bitwise identical to standard training, with the held-out set loss gap remaining within 0.003.

Unverified50%
Nov 3

Sonar-MoE is 17% to 23% faster per training step than standard training with global norm clipping.

Unverified50%
Nov 3

Updating each expert individually results in a 20% to 72% slowdown, and memory usage is not lower than batched updating.

Unverified50%
Nov 3

Sonar-MoE only performs in-backward updates on expert parameters, while dense parameters retain the conventional gradient clipping procedure, and its memory and speed match those of the optimizer-in-backward approach applied to all parameters.

Unverified50%
Nov 3

Sonar-MoE provides researchers and engineering teams who need to fine-tune large MoE models on limited GPUs with a memory optimization option that does not change the model architecture and does not sacrifice convergence quality.

Unverified50%

All Facts (7)

Source Articles