SPARE: Fast Linear Attention Decoding with Compact Recurrent States
Abstract
Linear attention reduces the quadratic sequence-length complexity of softmax attention by maintaining fixed-size recurrent states. However, these states scale quadratically with the representation dimension and require repeated data transfers during decoding, creating a substantial GPU memory bottleneck. Recent studies have revealed significant low-rank redundancy in recurrent states, suggesting opportunities for more efficient representations. We introduce SPARE (State Projection for Accelerated Recurrent Execution), a training-free method that exploits this redundancy through fixed low-dimensional subspaces, heterogeneous rank allocation, and lightweight write compensation. By performing recurrent reads and updates directly on compact states, SPARE reduces memory traffic without online decomposition or dense-state reconstruction. SPARE achieves 2.55x full-model decoding speedup, 7.49x lower recurrent-kernel DRAM traffic, and 3.31x lower peak GPU memory, while preserving better associative-retrieval accuracy than structured pruning at matched memory budgets.
Create a lesson
Metadata
- Comments
- 10 pages, 4 figures, 2 tables
Related papers
Beyond K/V Caches: Cross-Model State Handoff in Hybrid Linear-Attention LLMs
Shared title terminologycs.CLJiacheng Cai, Tao Zhang, Siqi Liang et al.
Look Back, Draft Ahead: Corrective Prefix Attention for Parallel Speculative Decoding
Shared title terminologycs.CLMohammad Mahdi Moradi, Ali Pourranjbar, Zongzuo Wang et al.
Lost in Rounding: bf16 Recurrent State Makes Hybrid Reasoning Models Think Longer
Shared title terminologycs.CLYuchuan Weng, Xin Chen, Chi Liu
Beyond the Prompt: Leveraging Pre-Decoding States for Jailbreak Detection in dLLMs
Shared title terminologycs.CLAdam Hazimeh, Amel Abdelraheem, Ke Wang et al.
Compact Greek Language Models from Scratch: Pretraining 500M- and 1B-Parameter Decoder-Only Transformers
Shared title terminologycs.CLKonstantinos Perifanos, Anne Laure Poite, Giannis Tsilikas et al.
Provenance Loss and Repair in Multilingual Compaction
Shared title terminologycs.CLIan Miao, Fangrui Zhu, Bowen Jiang