mlsanityData to 14 Oct 2026

Scaling Linear Attention with Sparse State Expansion

arXiv 2507.16577 ↗First posted 22 Jul 2025cs.LG cs.CLcited by 13

Not on the map. Why?

Abstract (arXiv)

The Transformer architecture, despite its widespread success, struggles with long-context scenarios due to quadratic computation and linear memory growth. While various linear attention variants mitigate these efficiency constraints by compressing context into fixed-size states, they often degrade performance in tasks such as in-context retrieval and reasoning. To address this limitation and achieve more effective context compression, we propose two key innovations. First, we introduce a row-sparse update formulation for linear attention by conceptualizing state updating as information classification. This enables sparse state updates via softmax-based top-k hard classification, thereby extending receptive fields and reducing inter-class interference. Second, we present Sparse State Expansion (SSE) within the sparse framework, which expands the contextual state into multiple partitions, effectively decoupling parameter size from state capacity while maintaining the sparse classification paradigm. Supported by efficient parallelized implementations, our design achieves effective classification and highly discriminative state representations. We extensively validate SSE in both pure linear and hybrid (SSE-H) architectures across language modeling, in-context retrieval, and mathematical reasoning benchmarks. SSE demonstrates strong retrieval performance and scales favorably with state size. Moreover, after reinforcement learning (RL) training, our 2B SSE-H model achieves state-of-the-art mathematical reasoning performance among small reasoning models, scoring 64.5 on AIME24 and 50.2 on AIME25, significantly outperforming similarly sized open-source Transformers. These results highlight SSE as a promising and efficient architecture for long-context modeling.

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 57 of its 62 references that are in the map. First posted on arXiv 22 Jul 2025.

Builds on

57 of 62 references.

References · 57

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  4. 2025Qwen3 Technical Reportcited by 8,820
  5. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  6. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  7. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  8. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
  9. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  10. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  11. 2020GLU Variants Improve Transformercited by 1,804
  12. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
38 more
  1. 2020Rethinking Attention with Performerscited by 1,601
  2. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  3. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  4. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
  5. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  6. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
  7. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  8. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
  9. 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 424
  10. 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
  11. 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 401
  12. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
  13. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 355
  14. 2021Random Feature Attentioncited by 354
  15. 2024Titans: Learning to Memorize at Test Timecited by 328
  16. 2024xLSTM: Extended Long Short-Term Memorycited by 327
  17. 2025MiniMax-M1: Scaling Test-Time Compute Efficiently with Lightning Attentioncited by 263
  18. 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 216
  19. 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
  20. 2024Auxiliary-Loss-Free Load Balancing Strategy for Mixture-of-Expertscited by 205
  21. 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 204
  22. 2024An Empirical Study of Mamba-based Language Modelscited by 186
  23. 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 166
  24. 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 141
  25. 2025Test-Time Training Done Rightcited by 130
  26. 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 124
  27. 2024The Hedgehog & the Porcupine: Expressive Linear Attentions with Softmax Mimicrycited by 120
  28. 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 102
  29. 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 99
  30. 2022The Devil in Linear Transformercited by 98
  31. 2021Finetuning Pretrained Transformers into RNNscited by 96
  32. 2024In-Context Language Learning: Architectures and Algorithmscited by 89
  33. 2024Gated Slot Attention for Efficient Linear-Time Sequence Modelingcited by 76
  34. 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 75
  35. 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 74
  36. 2025It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimizationcited by 64
  37. 2025MoM: Linear Sequence Modeling with Mixture-of-Memoriescited by 47
  38. 2025Log-Linear Attentioncited by 40

50 most cited of 57 All 57 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 12.

13 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2026AB-Sparse: Sparse Attention with Adaptive Block Size for Accurate and Efficient Long-Context Inference
  2. 2026Scaling Attention via Feature Sparsity
  3. 2023SEA: Sparse Linear Attention with Estimated Attention Mask
  4. 2025Understanding and Improving Length Generalization in Hierarchical Sparse Attention Models
  5. 2026Full Attention Strikes Back: Transferring Full Attention into Sparse within Hundred Training Steps
  6. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention
  7. 2025Every Token Counts: Generalizing 16M Ultra-Long Context in Large Language Models
  8. 2026Simplified Sparse Attention via Gist Tokens