Research map / Architectures and efficiency / Attention and transformers
Accelerating Prefilling via Decoding-time Contribution Sparsity
Zhiyuan He, Yike Zhang, Chengruidong Zhang, Huiqiang Jiang, Yuqing Yang, Lili Qiu
Microsoft · Tsinghua University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| replace dense attention with Triangle attention in a subset of layers (TriangleMix) | Llama-3.1-8B-Instruct · RULER avg | accuracy: 90.4 -> 90.2 | No clear effect |
| apply Triangle attention in all layers instead of a subset (ablation) | TriangleMix, Llama-3.1-8B-Instruct · RULER avg | accuracy: 90.2 -> 72.7 | Hurt |
| use Streaming pattern in selected layers instead of Triangle (ablation) | TriangleMix, Llama-3.1-8B-Instruct · RULER avg | accuracy: 90.2 -> 85.6 | Hurt |
| use Triangle attention in all layers instead of subset (ablation) | TriangleMix, Qwen2.5-7B-Instruct · RULER avg | accuracy: 85.6 -> 61.4 | Hurt |
| Triangle attention in all layers (ablation) | TriangleMix · LongBench PassageRetrieval | score: Llama-3.1: 98.3 -> 42.0 | Hurt |
| StreamingMix instead of TriangleMix (ablation) | TriangleMix · LongBench TREC | score: Llama-3.1: 69.7 -> 51.0 | Hurt |
| select layers by gradient-based Middle Q-K contribution; skip Q 512-1024 in half of layers (ablation) | Llama-3.1-8B-Instruct · PPL tokens 1920-2048 | perplexity: 7.81 -> 7.82 | No clear effect |
| skip Middle Q-K attention in all layers (ablation) | Llama-3.1-8B-Instruct · PPL tokens 1920-2048 | perplexity: 7.81 -> 7.90 | Hurt |
| replace dense attention in some layers with Triangle attention | Llama-3.1-8B-Instruct · attention kernel latency, 128K | latency (ms): 750 -> 49 (15.3x) | Improved |
| combine TriangleMix with MInference | MInference, Llama-3.1-8B-Instruct · TTFT, 128K | seconds: 18.0 -> 14.5 | Improved |
| combine TriangleMix with FlexPrefill | FlexPrefill, Qwen2.5-7B-Instruct · RULER avg | accuracy: 78.1 -> 79.3 | Improved |
| combine TriangleMix with MInference | MInference, Qwen2.5-7B-Instruct · RULER avg | accuracy: 85.7 -> 84.5 | Hurt |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 3 of 3 on most shared results.
- DuoAttention — DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads (ICLR 2025) · better on 2 of 3 shared results
- FlexPrefill — FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference (ICLR 2025) · better on 2 of 2 shared results
- XAttention — XAttention: Block Sparse Attention with Antidiagonal Scoring (ICML 2025) · better on 1 of 1 shared result
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in sparse attention for long-context LLMs
Which attention can a long-context model drop without losing the answer?
- The overhead does not vanish. · 14 papers state it
- Very long contexts hit memory limits or go untested. · 8 papers state it
- Sparsity speeds up prefill or decoding, not both. · 6 papers state it
Closest papers by meaning
- SALE : Low-bit Estimation for Efficient Sparse Attention in Long-context LLM Prefilling (ICML 2026 · similarity 0.90)
- TileSparse: Arithmetic-Intensity-Aware Sparse Attention for Compute-Bound LLM Decoding (ICML 2026 · similarity 0.90)
- Full Attention Strikes Back: Transferring Full Attention into Sparse within Hundred Training Steps (NeurIPS 2026 · similarity 0.89)
- More Value per Key: Asymmetric Sparse Attention for Faster LLM Decoding (NeurIPS 2026 · similarity 0.89)
- AdaSplash: Adaptive Sparse Flash Attention (ICML 2025 · similarity 0.89)
- SAS: Simple Attention Sparsification via End-to-End Optimization of Context Ranking (NeurIPS 2026 · similarity 0.88)
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.