Mixture-of-Experts (MoE) models reduce computation through sparse expert activation, but deployment still requires storing a large number of expert parameters. We study post-training expert pruning using task-domain calibration data as a subset-selection problem: given a pretrained MoE layer, select a fixed number of experts that best reconstruct its original output. Exact subset search is combinatorial and becomes intractable for modern MoE models with many experts per layer. We develop OptEP, a scalable continuous relaxation that directly optimizes differentiable expert-selection variables, followed by a lightweight reconstruction-based update of the retained expert weights. Across multiple MoE architectures and tasks spanning mathematical reasoning and code generation, our approach improves over the strongest existing expert-pruning baselines, with absolute accuracy gains of up to 15.05% on Qwen3-30B-A3B, 14.55% on Qwen3-235B-A22B, 11.06% on GLM-4.5-Air, and 16.20% on Mixtral-8x7B. The improvements are particularly pronounced under aggressive pruning, demonstrating that reconstruction-driven expert selection and weight adaptation can preserve substantially more of the original model's performance while reducing the number of retained experts.
Figures & tables
Method
Math (MATH-500)
Coding (LiveCodeBench)
s=32
s=48
s=64
s=48
s=64
s=96
Random
0.00
0.00
0.00
0.00
0.00
0.00
Frequency
1.40
19.27
66.33
0.00
1.87
61.44
EASY-EP
31.73
93.73
94.60
17.54
54.73
61.07
REAP
76.07
91.93
94.73
38.43
52.49
59.83
M-SMoE
1.33
1.00
1.07
0.00
0.00
59.83
Table 1: Expert pruning results for Qwen3-30B-A3B on math (MATH-500 pass@1) and coding (LiveCodeBench pass@1). Results are mean accuracy in % over three calibration seeds.
Method
Math (MATH-500)
Coding (LiveCodeBench)
s=32
s=48
s=64
s=48
s=64
s=96
Random
0.67
1.13
0.60
0.00
0.00
0.00
Frequency
0.07
0.27
93.20
0.00
45.52
64.43
EASY-EP
71.33
93.20
95.20
41.67
56.97
61.19
REAP
84.07
93.60
96.07
41.17
61.69
64.68
M-SMoE
0.67
0.13
60.07
0.00
27.11
64.68
Table 2: Expert pruning results for Qwen3-235B-A22B on math (MATH-500 pass@1) and coding (LiveCodeBench pass@1). Results are mean accuracy in % over three calibration seeds.
Method
Math (MATH-500)
Coding (LiveCodeBench)
s=32
s=48
s=64
s=64
s=80
s=96
Random
1.40
5.13
27.07
0.50
3.48
22.39
Frequency
26.47
56.93
74.87
3.23
14.68
32.21
EASY-EP
71.80
92.07
95.53
45.77
54.85
64.30
REAP
75.87
93.73
96.60
49.88
59.33
64.18
M-SMoE
2.47
27.53
67.27
1.24
9.33
27.49
Table 3: Expert pruning results for GLM-4.5-Air on math (MATH-500 pass1) and coding (LiveCodeBench pass1). Results are mean accuracy in % over three calibration seeds.
Method
Math (GSM8K)
Coding (MBPP)
s=4
s=6
s=4
s=6
Random
3.08
20.15
7.74
40.25
Frequency
8.75
8.96
18.71
37.51
EASY-EP
7.01
25.26
28.70
47.57
REAP
11.45
23.55
25.07
44.49
M-SMoE
10.63
30.51
24.45
38.05
Table 4: Expert pruning results for Mixtral-8x7B-v0.1 on math (GSM8K flexible extraction) and coding (MBPP standard pass@1). Results are mean accuracy in % over five seeds.
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
Method
Experts retained per layer
s=32
s=48
s=64
Random
0.00±0.00
0.00±0.00
0.00±0.00
Frequency
1.40±0.12
19.27±4.48
66.33±7.80
EASY-EP
31.73±4.68
93.73±0.13
94.60±0.40
REAP
76.07±3.21
91.93±0.58
94.73±0.24
M-SMoE
1.33±0.29
1.00±0.31
1.07±0.41
Appendix
Table 5: Expert pruning on Qwen3-30B-A3B, evaluated on MATH-500. Results are mean accuracy ± standard error over three calibration seeds.
Method
Experts retained per layer
s=48
s=64
s=96
Random
0.00±0.00
0.00±0.00
0.00±0.00
Frequency
0.00±0.00
1.87±0.43
61.44±0.25
EASY-EP
17.54±1.92
54.73±0.97
61.07±0.69
REAP
38.43±1.68
52.49±0.76
59.83±1.06
M-SMoE
0.00±0.00
0.00±0.00
59.83±0.90
Appendix
Table 6: Expert pruning on Qwen3-30B-A3B, evaluated on LiveCodeBench v4–v5. Results are mean accuracy ± standard error over three calibration seeds.
Method
Experts retained per layer
s=32
s=48
s=64
Random
0.67±0.29
1.13±0.07
0.60±0.00
Frequency
0.07±0.07
0.27±0.07
93.20±0.46
EASY-EP
71.33±7.64
93.20±0.92
95.20±0.50
REAP
84.07±2.42
93.60±0.23
96.07±0.37
M-SMoE
0.67±0.29
0.13±0.07
60.07±13.75
Appendix
Table 7: Expert pruning on Qwen3-235B-A22B, evaluated on MATH-500. Results are mean accuracy ± standard error over three calibration seeds.
Method
Experts retained per layer
s=48
s=64
s=96
Random
0.00±0.00
0.00±0.00
0.00±0.00
Frequency
0.00±0.00
45.52±2.06
64.43±2.37
EASY-EP
41.67±4.21
56.97±0.33
61.19±1.41
REAP
41.17±2.61
61.69±1.73
64.68±1.40
M-SMoE
0.00±0.00
27.11±2.52
64.68±1.76
Appendix
Table 8: Expert pruning on Qwen3-235B-A22B, evaluated on LiveCodeBench v4–v5. Results are mean accuracy ± standard error over three calibration seeds.
Method
Experts retained per layer
s=32
s=48
s=64
Random
1.40±0.12
5.13±0.64
27.07±6.89
Frequency
26.47±1.16
56.93±4.91
74.87±3.96
EASY-EP
71.80±2.66
92.07±1.07
95.53±0.79
REAP
75.87±2.03
93.73±0.07
96.60±0.31
M-SMoE
2.47±0.58
27.53±2.49
67.27±3.46
Appendix
Table 9: Expert pruning on GLM-4.5-Air, evaluated on MATH-500. Results are mean accuracy ± standard error over three calibration seeds.
Method
Experts retained per layer
s=64
s=80
s=96
Random
0.50±0.25
3.48±0.69
22.39±4.93
Frequency
3.24±0.25
14.68±1.51
32.21±2.00
EASY-EP
45.77±1.67
54.85±0.78
64.30±1.08
REAP
49.88±0.54
59.33±1.41
64.18±0.37
M-SMoE
1.24±0.12
9.33±0.86
27.49±1.59
Appendix
Table 10: Expert pruning on GLM-4.5-Air, evaluated on LiveCodeBench v4–v5. Results are mean accuracy ± standard error over three calibration seeds.
Method
Math (GSM8K)
Coding (MBPP)
s=4
s=6
s=4
s=6
Random
3.08±1.44
20.15±2.13
7.74±4.68
40.25±0.66
Frequency
8.75±0.48
8.96±0.24
18.71±0.40
37.51±0.60
EASY-EP
7.01±0.24
25.26±0.15
28.70±0.96
47.57±0.34
REAP
11.45±0.79
23.55±0.55
25.07±0.72
44.49±0.21
M-SMoE
10.63±2.33
30.51±0.38
24.45±0.65
38.05±0.38
Appendix
Table 11: Expert pruning results for Mixtral-8x7B-v0.1 on math (GSM8K flexible extraction) and coding (MBPP standard pass@1). Results are mean accuracy ± standard error in % over five seeds.
Mixture-of-Experts (MoE) models enable efficient scaling of large language models but face critical deployment challenges due to massive memory requirements. Existing pruning methods either incur prohibitive search costs or neglect the dynamic interdependencies between experts. To address these challenges, we present OMP-MoE, a novel training-free compression framework for reducing expert redundancy in MoE-based LLMs. Based on observations of expert contribution patterns, we reformulate the pruning problem as a sparse signal reconstruction task solved through Orthogonal Matching Pursuit. Specifically, our method first treats individual expert contributions as dictionary atoms and selects experts that greedily minimize reconstruction error with linear computational complexity. Then, we optimize cross-layer expert allocation through a water-filling strategy that accounts for both reconstruction quality and routing stability. Finally, we introduce OMP-MoE†, an adaptive inference mechanism that dynamically adjusts expert activation based on energy prediction. Comprehensive experiments on Qwen, DeepSeek-V2, GPT-OSS, and Mixtral MoE demonstrate consistent improvements over existing methods at 25-50% pruning ratios. For Qwen3-30B-A3B at 50% compression, we retain 93.3% of original performance, achieving 33× faster search and 1.55× inference speedup. Codes will be available after acceptance.
Dezhi Li, Lujun Li, Qiyuan Zhu +4
The Hong Kong University of Science and Technology
Mixture-of-Experts (MoE) language models suffer from large parameter counts, which create a significant memory bottleneck. Expert pruning is the most direct approach for reducing this parameter count, yet existing methods make pruning decisions for each expert independently, and assume experts' contributions are purely additive. In reality, expert usage in MoEs is inherently cooperative. We derive HOPE (Higher-Order Pruning of Experts), a second-order pruning objective which provably minimizes an upper bound on the error resulting from pruning. We show that REAP (a state-of-the-art first-order pruning method) is a special case of HOPE where interaction terms are ignored. Across three frontier MoE models (up to 122B parameters), two distinct calibration sets, and multiple benchmarks (including math, instruction following, coding, and an agentic suite), we demonstrate that HOPE produces better pruning decisions than existing methods, and its advantage is most pronounced at high pruning rates and on challenging agentic workloads. At 50% pruning, HOPE outperforms all baselines and achieves an average rank of 1.58 out of 5 methods (versus 2.42 for the next-best method, REAP), with gains of up to +6.1% on agentic coding. Over all conditions, HOPE again achieves the best average rank and surpasses every other method in the majority of head-to-head comparisons. By preserving cooperative expert structure that first-order methods ignore, HOPE enables aggressive compression with minimal degradation, particularly on complex tasks where diverse expert combinations are invoked over long sequences.
Fine-grained mixture-of-experts (MoE) architectures have become a mainstream design for open-weight LLMs, with hundreds of experts and increasingly many selected per token. This shift makes dynamic expert pruning an attractive route to cheaper inference. Yet existing evidence comes largely from coarser architectures and likelihood-scored multiple-choice benchmarks, leaving three central questions open in the fine-grained regime: how redundant per-token expert selection is, how effectively existing pruning methods exploit that redundancy, and what governs a model's sensitivity to pruning. We fill this gap with a systematic empirical study of twelve fine-grained MoE checkpoints spanning nine architecture families, with a core suite of eleven benchmarks covering knowledge QA, mathematics, code generation, and general reasoning. We find that expert selection is far more redundant than the field's operating points assume: uniformly retaining about two thirds of the selected experts preserves 98.8% of unpruned performance on average, requiring only a one-integer change and delivering 1.2-1.7x measured speedup across two serving backends. This simple baseline leaves little room for dynamic allocation at conservative budgets: even the best published rules differ from it by under 1% at matched expert budgets. Their value emerges under aggressive pruning, where the best rules recover up to 3.0% over uniform truncation, with gains concentrated in the generative tasks that suffer the sharpest degradation. Sensitivity to aggressive pruning also depends on the model: larger and thinking models are more resilient, whereas multimodal models are more vulnerable. Together, these findings reveal how much expert computation fine-grained MoEs can dispense with, and establish when dynamic allocation earns its complexity, informing both practical deployment and future pruning methods.
Yuanteng Chen, Qiwei Lai, Chen Tianqi +7
Institute of Automation, Chinese Academy of Sciences · School of Artificial Intelligence, University of Chinese Academy of Sciences · Zhongguancun Academy +1