EvoESAP: Non-Uniform Expert Pruning for Sparse MoE

Zongfang Liu, Shengkun Tang, Boyang Sun, Zhiqiang Shen, Xin Yuan
3/6/2026
cs.LG

No official code found. Best implementation: ZongfangLiu/EvoESAP (5 stars, Apache-2.0, last commit 2026-03-31).

Abstract

Sparse Mixture-of-Experts (SMoE) language models achieve strong capability at low per-token compute, yet deployment remains memory- and throughput-bound because the full expert pool must be stored and served. Post-training expert pruning reduces this cost, but most methods focus on which experts to prune within each layer and default to a uniform layer-wise sparsity allocation, even though the allocation can strongly affect performance. We decouple pruning into within-layer expert ranking and across-layer budget allocation, and introduce \textbf{E}xpected \textbf{S}peculative \textbf{A}cceptance \textbf{P}roxy (\textbf{ESAP}), a speculative-decoding-inspired, teacher-forced metric that measures how well a pruned model matches the full model. ESAP is bounded and stable, enabling cheap comparison of many candidates without costly autoregressive decoding. Building on ESAP, we propose EvoESAP, an evolutionary searching framework that optimizes a non-uniform layer-wise sparsity allocation under a fixed global budget while holding the within-layer pruning order fixed, making it a plug-and-play method with criteria such as Frequency, EAN, SEER, and REAP. Across 7B--30B SMoE LLMs at 25\% and 50\% sparsity, EvoESAP consistently discovers non-uniform allocations that improve open-ended generation (up to \textbf{+19.6\%} on MATH-500 at 50\% sparsity) while preserving competitive multiple-choice accuracy compared with uniform pruning at the same sparsity.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

EvoESAP: Non-Uniform Expert Pruning for Sparse MoE

52Shell, PythonMar 6, 20266 months agoApache-2.0

Similar Papers

Cite this paper

@article{liu2026evoesap,
  title  = {EvoESAP: Non-Uniform Expert Pruning for Sparse MoE},
  author = {Zongfang Liu and Shengkun Tang and Boyang Sun and Zhiqiang Shen and Xin Yuan},
  year   = {2026},
  eprint = {2603.06003},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.06003v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.06003.svg)](https://codeofpaper.com/paper/2603.06003)

Discussion