TL;DR
Modern Mixture-of-Experts (MoE) language models save compute by only activating a fraction of their parameters per token, yet they still hog massive amounts of GPU memory because every single expert must sit in VRAM. Trying to prune redundant experts by searching for the optimal combination fails spectacularly as models scale to dozens of experts per layer, while naive, independent scoring works surprisingly well. This paper explains why—showing that cross-layer domino effects matter far more than within-layer teamwork—and introduces MoE-PBA, a fast, sequential pruning method that beats both global search and leading score-based baselines.
What Problem Does This Paper Address?
Mixture-of-Experts (MoE) models swap out standard Transformer feed-forward networks for a pool of specialized sub-networks ("experts") and a router that picks just a few per token. Inference is fast, but deployment is a memory headache: you still have to load the entire expert pool into memory. Fortunately, many experts are functionally redundant, making post-training expert pruning (permanently deleting underused experts) an attractive fix.
Historically, pruning methods split into two camps: search-based (optimizing expert combinations globally) and score-based (grading each expert in isolation and axing the lowest scorers). Search-based methods worked great on older, coarse-grained models like Mixtral-8x7B (8 experts per layer). However, modern "fine-grained" MoEs like Qwen3-30B pack 128 experts across 48 layers. Pruning 25% of them yields roughly $10^{1448}$ possible combinations.
Under this combinatorial explosion, global search algorithms choke and model accuracy collapses—yet simple score-based methods that completely ignore expert interactions remain unexpectedly strong. Why don't expert interactions seem to matter as much as we thought, and which interactions do we actually need to care about?
Methods
To untangle this mystery, the authors frame expert pruning as a constrained pseudo-Boolean optimization (PBO) problem—essentially a mathematical equation over binary switches ($1$ = drop expert, $0$ = keep) that outputs total model damage. In this polynomial expansion, first-order terms measure the damage of deleting a single expert alone, while higher-order terms capture non-additive synergies when dropping groups of experts together.
Guided by empirical diagnostics on these interaction terms, the authors propose MoE-PBA (Pseudo-Boolean Approximation), which combines two clean ideas:
- Prefix-Conditioned Cross-Layer Pruning (Novel): Instead of pruning all layers at once or completely independently, MoE-PBA works sequentially from layer $1$ to $L$. When evaluating layer $\ell$, it feeds in the perturbed hidden states produced by the already-pruned earlier layers ($1 \dots \ell-1$), comparing the output against the unpruned dense reference.
- Singleton-Additive Within-Layer Approximation: Within layer $\ell$, rather than searching over combinations of experts, MoE-PBA tests dropping just one expert at a time ($O(n)$ forward passes per layer), sums those individual damages, and cuts the $q$ least-damaging experts. (An optional, slower greedy refinement variant, MoE-PBA-G, picks experts one-by-one within the layer if you have spare compute).
Datasets
No new benchmarks are introduced; the authors use established datasets for calibration (128 packed 4096-token sequences) and zero-shot evaluation:
- Calibration:
evol-codealpaca-v1(for coding tasks) andtulu-3-sft-personas-math(for math and multiple-choice tasks). - Evaluation: EvalPlus and LiveCodeBench (coding); GSM8K and MATH-500 (math reasoning); MMLU and OpenBookQA (general knowledge/multiple-choice).
Key Insights and Ideas
- Within-layer synergy is mostly a myth in fine-grained MoEs: Diagnostic swap tests show that inside a single layer, the damage of removing multiple experts is almost entirely additive. Dropping four experts together hurts roughly as much as the sum of dropping each alone, explaining why naive score-based methods don't fall apart.
- Cross-layer drift is the real culprit: Pruning Layer 2 changes the hidden-state distribution fed into Layer 3's router and experts. Measuring submodularity across layers reveals that interaction effects grow noticeably stronger further downstream.
- Sequential conditioning hits the sweet spot: Simply updating the input hidden states as you march down the network captures the interactions that actually matter, dodging combinatorial search completely.
Key Results
Tested across four diverse MoEs—OLMoE-7B, DeepSeek-V2-Lite (16B), ERNIE-4.5 (21B), and Qwen3 (30B)—at 25% and 50% pruning ratios, MoE-PBA achieves the best overall rank in 5 out of 6 settings:
- Preserving reasoning & code: On OLMoE-7B (25% pruned), MoE-PBA reaches 0.176 Code Avg and 0.412 Math Avg, beating the top score-based baseline REAP (0.143 / 0.375) and crushing search baselines like EEP (0.085 / 0.271) and DiEP (0.000 / 0.006).
- Stronger under heavy pruning: On Qwen3-30B at 50% pruning (half of all experts deleted!), MoE-PBA retains 0.617 Code Avg (vs. 0.619 unpruned!) and 0.831 Math Avg (vs. REAP's 0.805, while search methods drop near zero).
- Speed: On OLMoE-7B, MoE-PBA finishes pruning in 1.08 hours, compared to 7.35 hours for EEP and 15.57 hours for $\text{MoE-I}^2$.
Limitations and Future Work
- Calibration bias: Because MoE-PBA minimizes output drift on a calibration set, it shines at domain-specific compression (e.g., preserving coding or math) but is less suited for purely task-agnostic pruning—models calibrated on math data showed mixed results when tested on general multiple-choice benchmarks.
- Pruning only: The framework strictly deletes whole experts under uniform layer budgets, leaving alternatives like expert merging or unstructured weight pruning for future exploration.
Summary updated