ZICQ
中 Log in / Sign up
Newsroom Paper Frontier Research #MoE Architecture #Dynamic Expert Pruning #Prompt-Conditional Routing #Tiered Memory #Inference Serving

KEEP Dynamically Prunes MoE Experts While Retaining 99% of Dense Accuracy at 50% Sparsity

Avatar of Mr.Xu

By Mr.Xu Compiled & Reviewed by Editorial

Published:

中文阅读 (Chinese) English Version
Co-reading Select any sentence in the article to highlight, annotate, or copy a quote card. Join discussion ↓

Summary:IST-DASLab introduces KEEP, a prompt-conditioned expert-sparsification method for MoE inference. KEEP runs prefill with the full model, derives routing information from that pass, and uses a lightweight, offline-calibrated linear predictor to select the experts retained for decoding. Its co-designed serving engine stages the kept experts across GPU, host memory, and disk so that the decoding path avoids synchronous disk reads. Across three MoEs spanning 35B to 749B parameters, the paper reports


Core Idea

IST-DASLab introduces KEEP, a prompt-conditioned approach to MoE expert pruning. The central observation is that important experts are concentrated within an individual prompt but vary across prompts, domains, and between prefill and decoding. A single static expert subset therefore becomes brittle as pruning sparsity rises.

KEEP changes the objective from selecting one global expert set to selecting a decoding set for each request. Its emphasis is not simply reducing the checkpoint's parameter count; it is reducing the effective expert footprint, weight traffic, and memory pressure during decoding. The paper reports results across three MoEs ranging from 35B to 749B parameters, with at least 99% of dense-model accuracy retained at 50% expert sparsity and 90% to 97% retained at 75%.

From Static Pruning to Request-Level Selection

Conventional expert pruning computes a global importance ranking offline and retains the same Top-k experts for every request. That assumption breaks when different workloads rely on different experts. Even within one domain, code, mathematical reasoning, and multi-turn dialogue may produce very different routing distributions. Prefill also has to process the full context, so its expert usage does not necessarily match the distribution observed during token-by-token decoding.

KEEP replaces the fixed subset with a request-specific decoding subset. Conceptually, if the prefill routing features for request t are r_t, a calibrated predictor estimates decoding-time expert scores s_t, and a Top-k operation produces the retained set S_t. This is an abstraction of the mechanism rather than a claim about the exact internal parameterization.

Inside the Inference Path

1. Full-model prefill provides routing evidence

KEEP executes prefill with the full model so it can collect routing information from the actual request. This is an important limitation: the method does not remove the expert-computation cost of prefill. Its advantage is concentrated in workloads with long generations and a large decode share. For short prompts, short outputs, or strict time-to-first-token targets, the complete prefill pass can remain the dominant cost.

2. A lightweight predictor bridges prefill and decoding

After prefill, an offline-calibrated linear predictor estimates which experts are likely to matter during decoding. The predictor is small enough to add little overhead, but it is also coupled to the router's behavior. Model upgrades, changes to routing logic, quantization, and shifts between domains can all cause calibration drift. Production deployments should therefore bind predictor versions to model and router versions and monitor expert-selection recall.

3. Kept experts are tiered across the memory hierarchy

The co-designed serving engine places the retained experts across GPU, host memory, and disk. The goal is to keep synchronous disk reads out of the decoding path: hot experts can remain on the GPU, warm experts can be supplied from host memory, and disk acts as a deeper storage tier whose contents are staged in advance.

This design addresses a common MoE decoding bottleneck. Expert activations often produce relatively small matrix operations, so data movement rather than raw FLOPs can dominate the step time. Keeping fewer experts per request reduces bytes crossing the PCIe, CXL, or host-memory boundary and gives the GPU more room for useful work. It does not mean that disk I/O disappears; it means disk transfers must be completed or overlapped before they block token generation.

Engineering Trade-offs

  • The gain is decode-centric. KEEP does not claim to reduce prefill computation. Long-generation workloads are likely to benefit much more than short-request workloads.
  • Dynamic sparsity is not the same as halving total parameters. The 50% figure describes request-level expert retention, not an automatic 50% reduction in checkpoint size, cold storage, or the union of experts required by all concurrent requests.
  • Mixed traffic can weaken residency gains. If different requests retain different experts, the GPU may need to hold a larger union than a single static subset. Actual memory savings depend on traffic concentration.
  • Batch locality needs measurement. Dynamic selection can reduce expert aggregation within a batch and lower arithmetic intensity. If bandwidth savings do not offset kernel fragmentation and scheduling overhead, throughput may improve less than expected.
  • Quality loss becomes visible at 75% sparsity. Retaining 90% to 97% of dense performance may suit services with a small quality tolerance, but it is not equivalent to reproducing dense outputs.
  • Prediction is vulnerable to distribution shift. Recalibration and fallback paths are necessary when model versions, quantization, languages, or request domains change.

Reading the Reported Results

Across three MoEs spanning 35B to 749B parameters, the paper reports that 50% expert sparsity preserves at least 99% of dense accuracy and 75% sparsity preserves 90% to 97%. On selected models and device configurations, decoding throughput improves by up to 3x over specialized MoE serving engines such as FreeToken and the widely used llama.cpp. The engine also enables decoding to remain entirely on GPU or on GPU plus host memory in configurations where this was previously not possible.

The 99% figure is a relative retention ratio against dense-model accuracy, not a 99% absolute task-accuracy score. Likewise, the 3x result is a best-case gain rather than an average across all models and workloads. The available abstract does not report absolute accuracy, model identities, hardware, numerical precision, concurrency, context length, TTFT, TPOT, peak memory, or variance. Reproducing the claim requires matched hardware, quantization, batching, context settings, and execution paths, especially when comparing a specialized MoE engine with llama.cpp.

Deployment Guidance

  1. Calibrate on production-like traffic. Collect prefill routing traces for code, long documents, mathematics, dialogue, and adversarial prompts instead of fitting one predictor on generic text alone.
  2. Measure quality and recall together. Track the fraction of dense-decoding high-impact experts recovered by the predictor, not just final task accuracy.
  3. Benchmark end to end. Compare dense decoding, static pruning, FreeToken, llama.cpp, and KEEP under the same GPU, precision, batch size, context length, and sampling settings. Record TTFT, TPOT, P95 throughput, peak memory, and host or disk traffic.
  4. Verify that disk I/O is truly hidden. Track prefetch completion, transfer queue depth, and whether disk reads ever enter the decode critical path, especially when a cold expert is selected for the first time.
  5. Keep a quality fallback. Expand the retained expert set or revert to a denser path for low-confidence requests, out-of-distribution inputs, or quality-sensitive workloads.
  6. Test long-generation, high-concurrency traffic first. KEEP's main value lies in reducing decode-time expert movement and improving scheduler utilization, which short-request benchmarks may obscure.

The team has also released the keep-engine implementation, providing a starting point for reproduction and serving integration. For teams operating very large MoEs on constrained GPU clusters, KEEP's significance is the joint treatment of expert selection, tiered storage, and token scheduling. Its real-world ceiling will be determined by predictor stability under production traffic and by whether the memory hierarchy can consistently hide expert-transfer latency.


Source: Hugging Face Daily Papers (2026-11-26)

— END —

Tags: #MoE Architecture #Dynamic Expert Pruning #Prompt-Conditional Routing #Tiered Memory #Inference Serving

Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.

What's your take on this story?
Explore & Submit Works

Community Comments

Loading live comments and annotations…