Simplified Sparse Attention via Gist Tokens
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Sparse attention can reduce the cost of long-context inference, but most variants introduce new architectural components. We introduce Simplified Sparse Attention (SSA), a simpler approach to sparse attention that requires no architectural changes. Concretely, we first perform continued pretraining on sequences interleaved with gist tokens. We optimize the standard next-token loss as usual, but the gist tokens use an attention mask to restrict what parts of the context the language model can attend to; this teaches the model to pack each chunk's important information into the gist tokens. At inference time, SSA scores chunks via attention between the current query and the small set of gist tokens, selectively unfolding the top-k chunks by reintroducing their corresponding raw tokens. Since the query is scored only against the gist tokens, we avoid the memory-bandwidth cost associated with naive scoring against the full KV cache, without requiring the auxiliary KV cache approach used by sparse attention methods. On LongBench, SSA consistently outperforms compression and inference-time sparse-attention baselines under the same compression ratio. More strikingly, in retrieval-augmented generation, SSA can even outperform full attention after continued pretraining by over 5.7 points. We attribute this to the ability of SSA's selective unfolding, which concentrates attention on the query-relevant chunks and effectively filters out noise. SSA further extends to a hierarchical gist-of-gist variant (H-SSA) that achieves log-linear decoding complexity while maintaining or improving accuracy at high compression ratios up to 32x. The code is available at https://github.com/yuzhenmao/simplified-sparse-attention/.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 37 of its 43 references that are in the map. First posted on arXiv 22 Apr 2026.
Builds on
37 of 43 references.
Closest ancestors · 4
Same direction, newest first
- 2025UniGist: Towards General and Hardware-aligned Sequence-level Long Context Compression19 Sep
- 2025KVLink: Accelerating Large Language Models via Efficient KV Cache Reuse21 Feb
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference16 Jun
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun
Other references · 33
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
21 more
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
- 2022STaR: Bootstrapping Reasoning With Reasoningcited by 895
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 722
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 443
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 391
- 2023Learning to Compress Prompts with Gist Tokenscited by 379
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
- 2023Adapting Language Models to Compress Contextscited by 350
- 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 243
- 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 188
- 2021BookSum: A Collection of Datasets for Long-form Narrative Summarizationcited by 184
- 2024RedPajama: an Open Dataset for Training Large Language Modelscited by 178
- 2024Long Context Compression with Activation Beaconcited by 101
- 2025MemOS: An Operating System for Memory-Augmented Generation (MAG) in Large Language Modelscited by 68
- 2023Sequence Modeling with Multiresolution Convolutional Memorycited by 19
- 2025Long Context In-Context Compression by Getting to the Gist of Gistingcited by 12
- 2026Neural Garbage Collection: Learning to Forget while Learning to Reasoncited by 2
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026MARCH: Scaling Recurrent Memory with Content-Routed State Anchorscited by 1
- 2026Safin-1: Safety from Within through Memory-Native State Evolutioncited by 1
- 2026Block Sparse Attention with Log-Linear Complexitycited by 0
- 2026Look Back, Think Ahead: Visual Memory on Demand for Efficient Multimodal Reasoningcited by 0
- 2026Look Back, Think Ahead: Visual Memory on Demand for Efficient Multimodal Reasoning8 Oct 2026
- 2026Block Sparse Attention with Log-Linear Complexity25 Sep 2026
- 2026Safin-1: Safety from Within through Memory-Native State Evolution31 Aug 2026
- 2026MARCH: Scaling Recurrent Memory with Content-Routed State Anchors12 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2026Full Attention Strikes Back: Transferring Full Attention into Sparse within Hundred Training Steps
- 2025Rectified Sparse Attention
- 2026AB-Sparse: Sparse Attention with Adaptive Block Size for Accurate and Efficient Long-Context Inference
- 2025Training-free Context-adaptive Attention for Efficient Long Context Modeling
- 2026Augmenting Attention with Exponentially Decaying Memory Improves Query-Aware KV Sparsity
- 2026Sparse Attention as a Range Searching Problem: Towards an Inference-Efficient Index for KV Cache
- 2026MISA: Mixture of Indexer Sparse Attention for Long-Context LLM Inference
- 2025Every Token Counts: Generalizing 16M Ultra-Long Context in Large Language Models