Half the Experts, All the Code: One-Shot Domain Pruning of Mixture-of-Experts LLMs for Coding
On the map: Mixture-of-experts → MoE large language models
Abstract (arXiv)
The strongest open-weight coding models are mixture-of-experts (MoE) networks: most of their size comes from large pools of "expert" subnetworks, of which only a few act on any token. That pool is why these models do not fit on the machines most developers own, yet for a user who only wants coding help, most experts encode abilities that will never be invoked. We ask how many experts can be removed, and which, by pruning two recent open-weight MoE models from different families (Qwen3.6-35B-A3B and Gemma-4-26B-A4B) under five selection strategies, judged the way a user would: by whether the model still writes correct code. Half the experts can be removed from either model with no statistically detectable loss on the primary code benchmark, and the damage lands almost entirely on abilities outside coding, the intended trade. But the winning strategy flips between the two models, so a recipe validated on one family cannot be assumed to work on another. We further show that perplexity, the metric much of the pruning literature leans on, can rate a broken model above an intact one; that a lightweight fine-tune recovers about half of what aggressive pruning loses; and that against quantizing the full model to the same memory, pruning wins only where quantization would have to drop below 3 bits per weight. Five attempts to overturn that crossover, with failure criteria fixed in advance (better calibration, guarded selection, causal expert importance, failure attribution, and an agentic evaluation letting each model repair its failures from execution feedback), all leave it standing; the last shows single-shot benchmarks overstate compression penalties broadly, as one repair turn erases the 2-bit quantization penalty entirely. Expert pruning works, but it demands per-model validation on the task the model will actually serve.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in MoE large language models, one of 12 directions in Mixture-of-experts. Builds on 10 of its 13 references that are in the map. First posted on arXiv 18 Jul 2026.
Builds on
10 of 13 references.
Closest ancestors · 6
Same direction, newest first
- 2026How to Score Experts for One-Shot MoE Expert Pruning: A Unified Formulation and Selection Principle14 Jun
- 2026Less is MoE: Trimming Experts in Domain-Specialist Language Models4 Jun
- 2026Extracting Small Translation Specialists from LLMs by Aggressively Pruning Experts27 May
- 2025MoE Pathfinder: Trajectory-driven Expert Pruning20 Dec
- 2025REAP the Experts: Why Pruning Prevails for One-Shot MoE compression15 Oct
- 2025Cluster-Driven Expert Pruning for Mixture-of-Experts Large Language Models10 Apr
Other references · 4
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2025Domain-Specific Pruning of Large Mixture-of-Experts Models with Few-shot Demonstrationscited by 16
- 2026It Takes a MAESTRO To Prune Bad Expertscited by 2
- 2026On the Utility and Factual Reliability of Pruned Mixture-of-Experts Models in the Biomedical Domaincited by 1
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2026You Only Need 2/3 of the Chosen Experts: An Empirical Study of Dynamic Expert Pruning in Fine-Grained MoE LLMs
- 2025Exploiting the Experts: Unauthorized Compression in MoE-LLMs
- 2026Slicing and Dicing: Configuring Optimal Mixtures of Experts
- 2026Higher-order pruning of experts in mixture-of-experts language models
- 2025Advancing Expert Specialization for Better MoE
- 2024Towards Efficient Mixture of Experts: A Holistic Study of Compression Techniques
- 2026Scaling Multi-Node Mixture-of-Experts Inference Using Expert Activation Patterns
- 2024Diversifying the Expert Knowledge for Task-Agnostic Pruning in Sparse Mixture-of-Experts