MoE-Mamba

MoE-Mamba combines state-space models (Mamba) with Mixture-of-Experts to scale LLMs more efficiently than either Mamba or Transformer-MoE alone.
Ask this paper
SSM + MoE hybrid: Interleaves Mamba blocks with sparse MoE blocks, combining Mamba's linear-time sequence modeling with MoE's parameter scaling.
2.2x training speedup: Reaches the same loss as plain Mamba in 2.2x fewer training steps at equal parameter count, while preserving Mamba's inference-time advantages over transformers.
Beats Transformer-MoE: Outperforms Transformer-MoE baselines at comparable compute, suggesting that the SSM backbone is a better partner for sparse experts than attention for many long-context workloads.
Scaling signal: Serves as an early proof-of-concept that sparse-expert scaling is architecture-agnostic and will be a key lever for non-transformer foundation models going forward.
Abstract
State Space Models (SSMs) have become serious contenders in the field of sequential modeling, challenging the dominance of Transformers. At the same time, Mixture of Experts (MoE) has significantly improved Transformer-based Large Language Models, including recent state-of-the-art open models. We propose that to unlock the potential of SSMs for scaling, they should be combined with MoE. We showcase this on Mamba, a recent SSM-based model that achieves remarkable performance. Our model, MoE-Mamba, outperforms both Mamba and baseline Transformer-MoE. In particular, MoE-Mamba reaches the same performance as Mamba in $2.35\times$ fewer training steps while preserving the inference performance gains of Mamba against Transformer.