REAP the Experts: Why Pruning Prevails for One-Shot MoE compression
Mike Lasby, Ivan Lazarevich, Nish Sinnadurai, Sean Lie, Yani Ioannou, Vithursan Thangarasa
TL;DR
This work analyzes memory-efficient sparsely activated Mixture-of-Experts (SMoE) models and shows that pruning—when guided by a router-aware saliency criterion—outperforms expert merging for generative tasks. It proves that merging creates an irreducible error by collapsing the router's input-dependent control into a static target, with the bound scaling as $ ext{E}[(g_i+g_j)^2] \, ext{Var}[r(x)] \, \|\Delta_{ij}\|^2$, where $\Delta_{ij}=f_i-f_j$ and $r(x)=\tfrac{g_i(x)}{g_i(x)+g_j(x)}$, while pruning yields an error proportional to $ \mathbb{E}[g_j(x)^2] \, \|\Delta_{ij}\|^2$ and preserves independent control. The authors introduce REAP, with saliency $S_j = \frac{1}{|\mathcal{X}_j|} \sum_{x\in\mathcal{X}_j} g_j(x) \|f_j(x)\|_2$, to selectively prune low-impact experts across 6 architectures from 20B to 1T parameters. Empirically, REAP consistently outperforms merging and other pruning methods on generative benchmarks (code generation, writing, reasoning), achieving near-lossless coding performance at 50% compression on Qwen3-Coder-480B and Kimi-K2, and demonstrating robustness and domain-specific calibration advantages for deployment in resource-constrained settings.
Abstract
Sparsely-activated Mixture-of-Experts (SMoE) models offer efficient pre-training and low latency but their large parameter counts create significant memory overhead, motivating research into expert compression. Contrary to recent findings favouring expert merging on discriminative benchmarks, we demonstrate that expert pruning is a superior strategy for generative tasks. We prove that merging introduces an irreducible error by causing a "functional subspace collapse", due to the loss of the router's independent, input-dependent control over experts. Leveraging this insight, we propose Router-weighted Expert Activation Pruning (REAP), a novel pruning criterion that considers both router gate-values and expert activation norms. Across a diverse set of SMoE models ranging from 20B to 1T parameters, REAP consistently outperforms merging and other pruning methods on generative benchmarks, especially at 50% compression. Notably, our method achieves near-lossless compression on code generation and tool-calling tasks with Qwen3-Coder-480B and Kimi-K2, even after pruning 50% of experts.
