mlsanityData to 7 Oct 2026

Simplified Sparse Attention via Gist Tokens

arXiv 2604.20920 ↗First posted 22 Apr 2026cs.LGcited by 4

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

  1. 2025UniGist: Towards General and Hardware-aligned Sequence-level Long Context Compression19 Sep
  2. 2025KVLink: Accelerating Large Language Models via Efficient KV Cache Reuse21 Feb
  3. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference16 Jun
  4. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun

Other references · 33

  1. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  2. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  3. 2020Longformer: The Long-Document Transformercited by 3,362
  4. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  5. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  6. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  7. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  8. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  9. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  10. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  11. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
  12. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
21 more
  1. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
  2. 2022STaR: Bootstrapping Reasoning With Reasoningcited by 895
  3. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  4. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
  5. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 722
  6. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
  7. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
  8. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 443
  9. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 391
  10. 2023Learning to Compress Prompts with Gist Tokenscited by 379
  11. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
  12. 2023Adapting Language Models to Compress Contextscited by 350
  13. 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 243
  14. 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 188
  15. 2021BookSum: A Collection of Datasets for Long-form Narrative Summarizationcited by 184
  16. 2024RedPajama: an Open Dataset for Training Large Language Modelscited by 178
  17. 2024Long Context Compression with Activation Beaconcited by 101
  18. 2025MemOS: An Operating System for Memory-Augmented Generation (MAG) in Large Language Modelscited by 68
  19. 2023Sequence Modeling with Multiresolution Convolutional Memorycited by 19
  20. 2025Long Context In-Context Compression by Getting to the Gist of Gistingcited by 12
  21. 2026Neural Garbage Collection: Learning to Forget while Learning to Reasoncited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Full Attention Strikes Back: Transferring Full Attention into Sparse within Hundred Training Steps
  2. 2025Rectified Sparse Attention
  3. 2026AB-Sparse: Sparse Attention with Adaptive Block Size for Accurate and Efficient Long-Context Inference
  4. 2025Training-free Context-adaptive Attention for Efficient Long Context Modeling
  5. 2026Augmenting Attention with Exponentially Decaying Memory Improves Query-Aware KV Sparsity
  6. 2026Sparse Attention as a Range Searching Problem: Towards an Inference-Efficient Index for KV Cache
  7. 2026MISA: Mixture of Indexer Sparse Attention for Long-Context LLM Inference
  8. 2025Every Token Counts: Generalizing 16M Ultra-Long Context in Large Language Models