mlsanityData to 7 Oct 2026

Scaling Attention via Feature Sparsity

arXiv 2603.22300 ↗First posted 17 Mar 2026cs.LG cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Scaling Transformers to ultra-long contexts is bottlenecked by the O(n2 d) cost of self-attention. Existing methods reduce this cost along the sequence axis through local windows, kernel approximations, or token-level sparsity, but these approaches consistently degrade accuracy. In this paper, we instead explore an orthogonal axis: feature sparsity. We propose Sparse Feature Attention (SFA), where queries and keys are represented as k-sparse codes that preserve high-dimensional expressivity while reducing the cost of attention from Theta(n2 d) to Theta(n2 k2/d). To make this efficient at scale, we introduce FlashSFA, an IO-aware kernel that extends FlashAttention to operate directly on sparse overlaps without materializing dense score matrices. Across GPT-2 and Qwen3 pretraining, SFA matches dense baselines while improving speed by up to 2.5× and reducing FLOPs and KV-cache by nearly 50%. On synthetic and downstream benchmarks, SFA preserves retrieval accuracy and robustness at long contexts, outperforming short-embedding baselines that collapse feature diversity. These results establish feature-level sparsity as a complementary and underexplored axis for efficient attention, enabling Transformers to scale to orders-of-magnitude longer contexts with minimal quality loss. Code is available at https://github.com/YannX1e/Sparse-Feature-Attention.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 37 of its 45 references that are in the map. First posted on arXiv 17 Mar 2026.

Builds on

37 of 45 references.

References · 37

  1. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  2. 2025Qwen3 Technical Reportcited by 8,195
  3. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  4. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  5. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  6. 2020Longformer: The Long-Document Transformercited by 3,362
  7. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  8. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  9. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  10. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  11. 2020Reformer: The Efficient Transformercited by 1,658
  12. 2020Rethinking Attention with Performerscited by 1,584
25 more
  1. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  2. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  3. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
  4. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
  5. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
  6. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 848
  7. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
  8. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
  9. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 487
  10. 2018A Discourse-Aware Attention Model for Abstractive Summarization of Long Documentscited by 477
  11. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
  12. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
  13. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 391
  14. 2023LLM-QAT: Data-Free Quantization Aware Training for Large Language Modelscited by 320
  15. 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 248
  16. 2024Orca-Math: Unlocking the potential of SLMs in Grade School Mathcited by 151
  17. 2021SPLADE v2: Sparse Lexical and Expansion Model for Information Retrievalcited by 126
  18. 2023SparQ Attention: Bandwidth-Efficient LLM Inferencecited by 119
  19. 2024Loki: Low-rank Keys for Efficient Sparse Attentioncited by 87
  20. 2022Datasheet for the Pilecited by 41
  21. 2025Beyond Matryoshka: Revisiting Sparse Coding for Adaptive Representationcited by 25
  22. 2025Uncovering Memorization Effect in the Presence of Spurious Correlationscited by 20
  23. 2025Discovering Fine-Grained Visual-Concept Relations by Disentangled Optimal Transport Concept Bottleneck Modelscited by 12
  24. 2024RTop-K: Ultra-Fast Row-Wise Top-K Selection for Neural Network Acceleration on GPUscited by 7
  25. 2026CSRv2: Unlocking Ultra-Sparse Embeddingscited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Mixture of Sparse Attention: Content-Based Learnable Sparse Attention via Expert-Choice Routing
  2. 2026Full Attention Strikes Back: Transferring Full Attention into Sparse within Hundred Training Steps
  3. 2025Scaling Linear Attention with Sparse State Expansion
  4. 2026Salca: A Sparsity-Aware Hardware Accelerator for Efficient Long-Context Attention Decoding
  5. 2026Simplified Sparse Attention via Gist Tokens
  6. 2025Every Token Counts: Generalizing 16M Ultra-Long Context in Large Language Models
  7. 2024Post-Training Sparse Attention with Double Sparsity
  8. 2025Hardware-aligned Hierarchical Sparse Attention for Efficient Long-term Memory Access