LISA: Linear-Indexed Sparse Attention for Efficient Long-Context Reasoning
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Recent advances in long chain-of-thought reasoning models such as DeepSeek-R1 have led to increasingly longer inference context lengths under the test-time scaling paradigm. However, the O(n^2) computational complexity of standard self-attention causes inference costs to grow sharply with long sequences, limiting the deployment of long-CoT reasoning in production settings. To address this, we propose LISA (Linear-Indexed Sparse Attention), a plug-and-play attention replacement module that requires no pretraining from scratch. LISA integrates two lightweight components in parallel within the original model: (1) a Linear Attention module that provides long-range memory with O(n) time complexity; (2) a Lightning Indexer that selects the top-M important tokens from the full context to feed into a Sparse Self-Attention. The two branches are fused via a gating mechanism, reducing inference complexity from O(n^2) to O(nM) (M << n) for generating n tokens. We design a two-stage training pipeline: Stage 1 initializes the model by integrating the linear attention to capture long-range dependencies, complemented by a sliding-window attention mechanism that is optimized via knowledge distillation to approximate the full self-attention distribution of a frozen teacher model. In Stage 2, we further introduce the Indexer to replace the static sliding-window mechanism, enabling dynamic token selection from broader contexts. The Indexer is trained using a novel per-head KL divergence loss, which aligns its selection behavior with the attention patterns of the teacher model. Experiments on DeepSeek-distilled-Qwen models demonstrate that LISA achieves a 50% inference speedup under 16K-token context, while improving average performance by 5.6% on reasoning benchmarks including AIME and MATH-500.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 44 of its 50 references that are in the map. First posted on arXiv 29 May 2026.
Builds on
44 of 50 references.
Closest ancestors · 15
Same direction, newest first
- 2026A State-Transition Framework for Efficient LLM Reasoning1 Feb
- 2025R1-Compress: Long Chain-of-Thought Compression via Chunk Compression and Search22 May
- 2025Reasoning Models Can Be Effective Without Thinking14 Apr
- 2025InftyThink: Breaking the Length Limits of Long-Context Reasoning in Large Language Models9 Mar
- 2025L1: Controlling How Long A Reasoning Model Thinks With Reinforcement Learning6 Mar
- 2025DAST: Difficulty-Adaptive Slow-Thinking for Large Reasoning Models6 Mar
- 2025Self-Training Elicits Concise Reasoning in Large Language Models27 Feb
- 2025LightThinker: Thinking Step-by-Step Compression21 Feb
- 2025TokenSkip: Controllable Chain-of-Thought Compression in LLMs17 Feb
- 2025CoT-Valve: Length-Compressible Chain-of-Thought Tuning13 Feb
- 2024Do NOT Think That Much for 2+3=? On the Overthinking of o1-Like LLMs30 Dec
- 2024C3oT: Generating Shorter Chain-of-Thought without Compromising Effectiveness16 Dec
3 more
Other references · 29
- 2017Attention Is All You Needcited by 59,932
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
17 more
- 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 502
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2021Random Feature Attentioncited by 350
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 329
- 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 157
- 2024The Impact of Reasoning Step Length on Large Language Modelscited by 152
- 2023Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothingcited by 147
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2021Finetuning Pretrained Transformers into RNNscited by 94
- 2023Attention Sorting Combats Recency Bias In Long Context Language Modelscited by 89
- 2024Eliminating Position Bias of Language Models: A Mechanistic Approachcited by 61
- 2024Can Language Models Learn to Skip Steps?cited by 59
- 2024Longhorn: State Space Models are Amortized Online Learnerscited by 58
- 2024Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformerscited by 51
- 2024SepLLM: Accelerate Large Language Models by Compressing One Segment into One Separatorcited by 41
- 2025Liger: Linearizing Large Language Models to Gated Recurrent Structurescited by 32
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025DELTA: Dynamic Layer-Aware Token Attention for Efficient Long-Context Reasoning
- 2025Less Is More: Fast and Accurate Reasoning with Cross-Head Unified Sparse Attention
- 2025SeerAttention-R: Sparse Attention Adaptation for Long Reasoning
- 2026You Only Index Once: Cross-Layer Sparse Attention with Shared Routing
- 2025Kascade: A Practical Sparse Attention Method for Long-Context LLM Inference
- 2025Attention Reveals More Than Tokens: Training-Free Long-Context Reasoning with Attention-guided Retrieval
- 2025Stream: Scaling up Mechanistic Interpretability to Long Context in LLMs via Sparse Attention
- 2026MKA: Memory-Keyed Attention for Efficient Long-Context Reasoning