SlimWise: Decoupling Expert Pruning Across Prefill and Decode for Efficient MoE Serving

Gunho Park, Kyoungho Jeun, Juntaek Oh, Byeongjun Shin, Baeseong Park, Minsoo RhuarXiv 2026

TL;DR

SlimWise is a serving framework for Mixture-of-Experts (MoE) models that prunes experts only during the memory-bound decoding phase while retaining the full model for compute-bound prefill. By leveraging a training-free KV cache handoff and a low-cost distillation stage, SlimWise achieves up to a 1.81× decode throughput speedup with minimal impact on model accuracy and reasoning behavior.

What Problem Does This Paper Address?

Sparse Mixture-of-Experts (MoE) models are popular because they offer high capacity while only activating a few "experts" (parameters) for any given token. However, serving these models at scale hits a major wall: expert-weight traffic.

In modern serving systems that use continuous batching, a single inference step processes many different sequences. While each token only needs a few experts, the union of experts needed across a large batch often approaches the entire expert pool. During the decode phase (generating tokens one by one), the system spends more time moving these massive weight matrices from memory to the processor than actually doing math.

While pruning experts can reduce this traffic, conventional pruning is a blunt instrument—it removes experts from both the prefill phase (processing the initial prompt) and the decode phase. The authors observe that prefill is compute-bound; reducing the expert pool there provides almost no speedup but significantly degrades the quality of the prompt representations.

Methods

The core innovation of SlimWise is Phase-Decoupled Pruning. The framework treats prefill and decode as distinct stages with different resource requirements:

  1. Full-Model Prefill: The system uses the complete, unpruned expert pool to process the input prompt. This ensures the highest quality internal representations (KV cache) are generated.
  2. Pruned-Model Decode: The system switches to a pruned expert pool for token generation. Because expert pruning preserves the attention architecture, the pruned decoder can directly inherit and "continue" from the full-model's KV cache without any conversion.
  3. Phase-Aware Masking: For systems where prefill and decode happen on the same GPU (colocated), SlimWise implements this by simply masking the router during the decode phase, effectively "hiding" the pruned experts.
  4. Low-Cost Distillation: Pruning can cause "generation length distortion"—where a model might ramble aimlessly or cut off reasoning too early. To fix this, SlimWise uses a distillation stage where a pruned "student" decoder is trained to match a full-model "teacher." Crucially, they only update a tiny fraction of parameters (shared experts, routers, and normalization layers—roughly 0.4% to 2% of the model), keeping training costs very low.
Figure 1: (a) Overview of SlimWise. Prefill uses the full expert pool, while decode masks out half of the expert pool with pruning but keeps the number of active experts per token, k, unchanged, directly reusing the KV cache generated during prefill. (b) Accuracy–throughput trade-off under PD- disaggregated serving. Mean accuracy across five benchmarks (HE+, MBPP+, GSM8K, MATH-500, and BFCL) is plotted against decode throughput per GPU, normalized to the full-model baseline without pruning, at a per-user generation SLO of 50 tokens/s. Results use Qwen3.6-35B-A3B with REAP-selected expert sets, 1k input tokens, and 8k output tokens.

Datasets

The authors evaluated SlimWise across several challenging benchmarks to ensure both accuracy and reasoning behavior were preserved:

  • Math: GSM8K and MATH-500.
  • Coding: HumanEval+ (HE+) and MBPP+.
  • Tool-Use: Berkeley Function Calling Leaderboard (BFCLv4).
  • Calibration/Distillation: They used the REAP calibration mixture and a combination of open-perfectblend and APIGen-MT for the distillation stage.

Key Insights and Ideas

  • The Asymmetry of Inference: The most important "aha moment" is that pruning is a "waste" in prefill but a "win" in decode. Figure 2 in the paper clearly shows that while pruning barely touches prefill throughput, it dramatically boosts decode throughput.
  • Accuracy vs. Behavior: The authors point out that standard accuracy scores can be deceptive. A pruned model might get the right answer but take 5x as many tokens to get there, destroying serving efficiency. SlimWise's distillation specifically targets these behavioral distortions.
  • KV Cache Compatibility: Because MoE pruning only affects the MLP blocks and not the attention mechanism, the "handoff" between a full model and a pruned one is mathematically seamless. This allows for "training-free" recovery of much of the accuracy lost to standard pruning.
Figure 2: Batched decoding reduces effective MoE sparsity, while expert pruning improves decode throughput with little effect on prefill. (a) Expert-weight volume accessed per decode step across batch sizes and pruning ratios. (b) Prefill and decode throughput normalized to the unpruned model (m=m′=256). Results use Qwen3.6-35B-A3B (m = 256, k = 8, 40 layers) in BF16 on 2× A100- 80GB GPUs, with nested REAP-selected expert sets applied as router masks. Percentages indicate the fraction of routed experts pruned.

Key Results

  • Throughput Gains: On the Qwen3.6-35B-A3B model, SlimWise improved decode throughput by 1.40× to 1.81× at 50% expert pruning, depending on the latency requirements (SLO).
  • Accuracy Recovery: In many settings, the training-free KV cache handoff alone narrowed the accuracy gap to the full model. With the low-cost distillation, the pruned model's accuracy remained within a few percentage points of the baseline, even at high pruning ratios.
  • Memory Efficiency: In disaggregated serving (where prefill and decode happen on different nodes), the pruned decoder requires less memory for weights, freeing up VRAM for larger KV caches and bigger batches.

Limitations and Future Work

  • Prefill Bottleneck: SlimWise does not speed up the prefill phase. If a workload is dominated by massive prompts rather than long generations, the end-to-end speedup will be less pronounced.
  • Colocated Memory: In colocated serving, the full expert pool must still reside in memory for the prefill phase, meaning SlimWise doesn't reduce the total VRAM footprint of the model weights in that specific configuration.
  • Distillation Requirement: While low-cost, the distillation stage still requires a one-time training effort for each model/pruning-ratio combination. Future work might explore even more robust training-free methods.

Summary updated

BibTeX
@misc{park2026slimwise,
  author = {Gunho Park and Kyoungho Jeun and Juntaek Oh and Byeongjun Shin and Baeseong Park and Minsoo Rhu},
  title = {{SlimWise: Decoupling Expert Pruning Across Prefill and Decode for Efficient MoE Serving}},
  year = {2026},
  eprint = {2609.34117},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.34117},
}
Figure