On-Policy Attention Linearization
On the map: LLM reasoning → Test-time compute and efficient thinking also fits: Multimodal reasoning
Abstract (arXiv)
Hybrid transformer architectures that replace most softmax attention layers with linear attention offer transformer-level quality at a fraction of the memory cost. Rather than pretraining such models, a growing body of work distills them from already trained full-attention transformers. However, these distilled models often collapse on long-context retrieval and reasoning tasks, particularly when operating in thinking mode, where the efficiency gains of hybrid architectures matter most. Since linear attention layers must compress context into a fixed-size state, their errors compound over long sequences. As off-policy distillation never teaches the student model to recover from this drift, tasks that necessitate longer sequence lengths become especially challenging. We introduce On-Policy Attention Linearization (OPAL) in which the hybrid attention student samples its own long-context trajectories and receives dense supervision from the frozen full-attention teacher. Applying OPAL to Qwen3-4B and MiMo-7B-RL-0530, we recover 87--94% of full-attention performance on commonsense reasoning, 100% on needle-in-a-haystack (NIAH) retrieval, and 83--93% on mathematical reasoning with only 3B training tokens. We achieve these results without supervised fine-tuning (SFT) or reinforcement learning with verifiable rewards (RLVR). Compared with the strongest prior linearization method, which recovers 68% of its teacher's retrieval performance and 21.6% absolute average mathematical reasoning accuracy, OPAL fully recovers retrieval and achieves 67.6--72.2% on math reasoning.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 63 of its 77 references that are in the map. First posted on arXiv 25 Sep 2026.
Builds on
63 of 77 references.
Closest ancestors · 4
Same direction, newest first
- 2026Nemotron 3 Ultra: Open, Efficient Mixture-of-Experts Hybrid Mamba-Transformer Model for Agentic Reasoning12 Jun
- 2026Mamba-3: Improved Sequence Modeling using State Space Principles16 Mar
- 2025Nemotron 3 Nano: Open, Efficient Mixture-of-Experts Hybrid Mamba-Transformer Model for Agentic Reasoning23 Dec
- 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty26 Jan
Other references · 59
- 2017Attention Is All You Needcited by 60,361
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2025Qwen3 Technical Reportcited by 8,820
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
38 more
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
- 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 939
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 843
- 2016Sequence-Level Knowledge Distillationcited by 801
- 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 723
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
- 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 550
- 2022Efficiently Scaling Transformer Inferencecited by 539
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
- 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 415
- 2025OpenThoughts: Data Recipes for Reasoning Modelscited by 304
- 2024Scaling Diffusion Language Models via Adaptation from Autoregressive Modelscited by 274
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 216
- 2022Sparse Upcycling: Training Mixture-of-Experts from Dense Checkpointscited by 209
- 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 204
- 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 174
- 2024GSM-Plus: A Comprehensive Benchmark for Evaluating the Robustness of LLMs as Mathematical Problem Solverscited by 158
- 2023OpenWebMath: An Open Dataset of High-Quality Mathematical Web Textcited by 155
- 2024Compact Language Models via Pruning and Knowledge Distillationcited by 148
- 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Modelscited by 122
- 2024The Hedgehog & the Porcupine: Expressive Linear Attentions with Softmax Mimicrycited by 120
- 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 99
- 2021Finetuning Pretrained Transformers into RNNscited by 96
- 2024Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRAcited by 78
- 2024Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Modelscited by 67
- 2024Linearizing Large Language Modelscited by 51
- 2025Llamba: Scaling Distilled Recurrent Models for Efficient Language Processingcited by 35
- 2025Liger: Linearizing Large Language Models to Gated Recurrent Structurescited by 33
50 most cited of 59 All 59 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Every Attention Matters: An Efficient Hybrid Architecture for Long-Context Reasoning
- 2025Native Hybrid Attention for Efficient Sequence Modeling
- 2025Attend or Perish: Benchmarking Attention in Algorithmic Reasoning
- 2026Sliding-window beats linear attention
- 2026A Provable Expressiveness Hierarchy in Hybrid Linear-Full Attention
- 2025Scaling Linear Attention with Sparse State Expansion
- 2026Rethinking the Role of Efficient Attention in Hybrid Architectures
- 2025Some Attention is All You Need for Retrieval