atlas

Research map / Architectures and efficiency / Pruning and efficient tuning

MUSTAFAR: Promoting Unstructured Sparsity for KV Cache Pruning in LLM Inference

NeurIPS 2025 · Architectures and efficiency › Pruning and efficient tuning · approach: Layer-wise pruning of LLMs · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Mustafar, which prunes KV caches with per-token magnitude-based unstructured sparsity (up to 70%) and runs a bitmap-format sparse attention kernel that speeds up decode.

Problem

KV cache memory is a major decode bottleneck for long-context LLM inference, and prior KV cache pruning has been limited to structured patterns that lose accuracy at moderate sparsity.

Approach

Shows that removing structural constraints gives higher KV sparsity at preserved accuracy; per-token magnitude pruning works for both Key and Value caches, and a bitmap-based compressed format with a custom SpMV attention kernel turns unstructured sparsity into memory and throughput gains that offset pruning overhead.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace structured Key-cache pruning with per-token unstructured magnitude pruning at 50% sparsityLlama-3-8B-Instruct on LongBench · LongBenchaverage score: 38.53 -> 42.84Helped
Increase per-token magnitude pruning of both caches from 50% to 70% sparsity (ablation)Llama-3-8B-Instruct on LongBench · LongBenchaverage score: 42.65 -> 40.96Hurt
Increase per-token magnitude pruning of both caches from 50% to 70% sparsity (ablation)Mistral-7B-Instruct-v0.2 on LongBench · LongBenchaverage score: 42.30 -> 40.95Hurt
Increase per-token magnitude pruning of both caches from 50% to 70% sparsity (ablation)Llama-2-7B on LongBench · LongBenchaverage score: 27.23 -> 24.71Hurt
Add output-aware scoring to per-token Key-cache pruning at 50% sparsity (ablation)Llama-3-8B-Instruct on LongBench · LongBenchaverage score: 42.84 -> 43.23Helped
Replace per-token magnitude Value-cache pruning with per-channel magnitude pruning at 50% sparsity (ablation)Llama-3-8B-Instruct on LongBench · LongBenchaverage score: 43.04 -> 42.50Hurt
Add output-aware scoring to per-channel Value-cache pruning at 50% sparsity (ablation)Llama-3-8B-Instruct on LongBench · LongBenchaverage score: 42.50 -> 42.84Helped
Apply 70% sparsity to Key and Value caches rather than ThinK structured Key-only pruning at 50%Llama-3-8B-Instruct on LongBench · LongBenchaverage score: 38.53 -> 40.96Helped
Use Mustafar K0.7 V0.7 instead of dense inferenceLlama-3-8B-Instruct, decode 2048 · Decode speedtokens / sec: 59.242 tokens / sec -> 89.699 tokens / secHelped
Use Mustafar K0.7 V0.7 instead of dense inferenceLlama-2-7B, decode 2048 · Decode speedtokens / sec: 79.185 tokens / sec -> 95.120 tokens / secHelped

Surprising findings

Limitations

Experimental setup

Datasets: LongBench RULER

Benchmarks: LongBench RULER

Metrics: LongBench average score RULER accuracy KV cache compression ratio tokens/sec throughput normalized kernel latency

Baselines: ThinK KIVI H2O 2:4 semi-structured sparsity FlashAttention cuBLAS dense

Builds on: ThinK Coruscant FlashLLM FlashAttention KIVI

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy