Research map / Architectures and efficiency / Attention and transformers
Discovering the Gems in Early Layers: Accelerating Long-Context LLMs with 1000x Input Token Reduction
Zhenmei Shi, Yifei Ming, Xuan-Phi Nguyen, Yingyu Liang, Shafiq Joty
University of Wisconsin - Madison · Salesforce · The University of Hong Kong
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 SnapKV-1024 with GemFilter-1024 | LLaMA 3.1 8B Instruct · LongBench | average score: 35.25 -> 34.50 | Hurt |
| replace SnapKV-2048 with GemFilter-2048 | Mistral Nemo 12B Instruct · LongBench | average score: 45.42 -> 47.11 | Improved |
| replace SnapKV-2048 with GemFilter-2048 | Phi 3.5 Mini 3.8B Instruct · LongBench | average score: 34.20 -> 31.69 | Hurt |
| use GemFilter-1024 instead of All KV (full attention) | LLaMA 3.1 8B Instruct · LongBench | average score: 36.72 -> 34.50 | Hurt |
| use GemFilter instead of H2O-4096 | LLaMA 3.1 8B Instruct · LongBench | average score: 33.63 -> 36.09 | Improved |
| use GemFilter instead of SnapKV and standard attention | LLaMA 3.1 8B / Mistral Nemo 12B · Needle in a Haystack | retrieval score | Improved |
| use GemFilter instead of SnapKV | LLaMA 3.1 8B Instruct · running time and GPU memory | speedup / memory: 2.4x speedup, 30% less GPU memory | Improved |
| use GemFilter instead of standard attention | LLaMA 3.1 8B Instruct · GPU memory | memory: 70% reduction | Improved |
| choose filter layer 13 instead of layer 1 (ablation) | GemFilter on LLaMA 3.1 8B · LongBench | average score: 23.50 -> 34.50 | Improved |
| choose filter layer 13 instead of layer 31 (ablation) | GemFilter on LLaMA 3.1 8B · LongBench | average score: 30.04 -> 34.50 | Improved |
| choose filter layer between 13 and 25 (ablation) | GemFilter on LLaMA 3.1 8B · LongBench | average score: 34.50, 34.30, 34.12, 33.94 | No clear effect |
| increase selected tokens from 1024 to 2048 (ablation) | GemFilter on Phi 3.5 Mini · LongBench | average score: 32.74 -> 31.69 | Hurt |
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
- QUEST: Query-Aware Sparsity for Efficient Long-Context LLM Inference (ICML 2024 · similarity 0.92)
- MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attention (NeurIPS 2024 · similarity 0.91)
- A Little Goes a Long Way: Efficient Long Context Training and Inference with Partial Contexts (ICLR 2025 · similarity 0.91)
- RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrieval (NeurIPS 2025 · similarity 0.91)
- ChunkKV: Semantic-Preserving KV Cache Compression for Efficient Long-Context LLM Inference (NeurIPS 2025 · similarity 0.90)
- TokenPowerBench: Benchmarking the Power Consumption of LLM Inference (AAAI 2026 · similarity 0.90)
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.