TL;DR
Mixture-of-Experts (MoE) LLMs offer massive capacity but are notoriously difficult to deploy due to their massive memory footprints. This paper introduces MoE-XBench, the first comprehensive benchmark to evaluate what happens when you stack compression techniques—expert pruning, weight quantization, and KV-cache compression—together. The key takeaway? Composable compression is highly non-additive, and reducing a model's memory footprint can sometimes actually slow down inference due to hidden dequantization overheads.
What Problem Does This Paper Address?
Mixture-of-Experts (MoE) architectures scale model capacity efficiently by routing tokens to only a small subset of specialized "experts." However, keeping all these experts in memory, managing routing bottlenecks, and handling long-context KV-cache growth makes deploying them on commodity hardware incredibly challenging.
To fit these models onto standard GPUs, practitioners often stack multiple compression techniques: pruning redundant experts, quantizing weights to lower bit-widths, and compressing the KV cache. Historically, these methods have been evaluated in isolation. This paper addresses a critical gap: we do not know how these compression layers interact when applied together in an end-to-end deployment pipeline. Stacking them introduces complex, non-obvious interactions where pruning alters expert utilization, quantization introduces numerical errors, and KV-cache compression alters attention behavior.
Methods
The authors introduce MoE-XBench, a systematic benchmarking framework designed to evaluate composable MoE compression.
The framework uses an end-to-end workflow that takes baseline MoE checkpoints and applies a one-shot compression pipeline:
- Calibration: Gathering routing statistics.
- Expert Pruning: Removing low-utility experts using representative methods like REAP or REAM.
- Weight Quantization: Lowering weight precision using GGUF quantization.
- KV-Cache Compression: Reducing long-context memory pressure using uniform or TurboQuant schemes.
MoE-XBench evaluates these combinations across 10 MoE models (ranging from 30B to 235B parameters) spanning three distinct attention mechanisms: standard-attention, hybrid linear-attention, and sliding-window attention. Performance is measured across an eight-module evaluation suite that separates model quality (accuracy, robustness, reliability) from deployment efficiency (latency, peak memory, throughput).
Datasets
The benchmark evaluates compressed models across seven real-world workload categories:
- Knowledge: MMLU
- Math Reasoning: GSM8K, Math-Hard
- Generative Reasoning: MuSR
- Instruction Following: IFEval
- Code Generation: HumanEval, MBPP
- Tool Use: BFCLv3
- Long-Context Understanding: RULER
Additionally, WikiText-2 is utilized to measure perplexity (PPL) during controlled sensitivity sweeps for pruning, quantization, and KV-cache configurations.
Key Insights and Ideas
- Compression Ratio $\neq$ Quality Loss: Nominal compression rates do not reliably predict performance drops. For example, removing ~19% of experts via pruning degrades perplexity far more than aggressively quantizing model weights by ~70% down to 4 bits.
- Architecture Dominates Scale: A model’s tolerance to pruning is governed more by its architectural design than its parameter count. Larger expert pools do not guarantee better pruning resilience. Notably, hybrid linear-attention MoE models proved significantly more robust under extreme compression than standard MoE models.
- The Throughput Trap: Smaller memory footprints do not guarantee faster inference. While stacking KV-cache compression successfully reduces peak memory, it can severely degrade prefill and decode throughput because on-the-fly dequantization becomes a major computational bottleneck during long-context tasks.
- Pruning Accelerates Better Than Ultra-Low-Bit Quantization: Expert pruning preserves the baseline execution path, translating directly into hardware speedups. Conversely, ultra-low-bit quantization schemes (like 1-bit variants) introduce massive unpacking and dequantization overheads that completely destroy runtime efficiency on target hardware.
Key Results
- Quality Tradeoffs: On Qwen3-30B-A3B, combining pruning and quantization (
Prune + Quant) slashes the model size from 61.1 GB to 13.42 GB. While it maintains a high average task accuracy score (Score_perf= 96.35), its workload robustness drops (Score_robust= 88.91), masking severe, localized accuracy drops in specific tasks like MMLU and HumanEval. - Inference Efficiency: On an NVIDIA H100 GPU,
Q4_K_M Prune+Quantsuccessfully cuts peak memory from 60.3 GB to 17.1 GB while improving prefill throughput by 1.37× and decode throughput by 1.30×. However, adding 8-bit KV cache compression (Prune+Quant+KV) to this mix drops the decode throughput down to 0.63× of thePrune+Quantbaseline at a 32K context length.
Limitations and Future Work
The authors note that their current scope is limited to representative compression techniques (REAP/REAM, GGUF, TurboQuant) and does not explore alternative strategies like expert parameter sharing or non-GGUF quantization formats.
Furthermore, the efficiency evaluations focus primarily on local, single-request serving (batch size = 1) on commodity hardware. The authors acknowledge that integrating serving-layer optimizations—such as speculative decoding, concurrent batching, or highly optimized custom kernels—could significantly shift the latency and throughput dynamics, marking an important direction for future extensions of the benchmark.
Summary updated