Hybrid Linear Attention Done Right: Efficient Distillation and Effective Architectures for Extremely Long Contexts
Not on the map. Why?
Abstract (arXiv)
Hybrid Transformer architectures, which combine softmax attention blocks and recurrent neural networks (RNNs), have shown a desirable performance-throughput tradeoff for long-context modeling, but their adoption and studies are hindered by the prohibitive cost of large-scale pre-training from scratch. Some recent studies have shown that pre-trained softmax attention blocks can be converted into RNN blocks through parameter transfer and knowledge distillation. However, these transfer methods require substantial amounts of training data (more than 10B tokens), and the resulting hybrid models also exhibit poor long-context performance, which is the scenario where hybrid models enjoy significant inference speedups over Transformer-based models. In this paper, we present HALO (Hybrid Attention via Layer Optimization), a pipeline for distilling Transformer models into RNN-attention hybrid models. We then present HypeNet, a hybrid architecture with superior length generalization enabled by a novel position encoding scheme (named HyPE) and various architectural modifications. We convert the Qwen3 series into HypeNet using HALO, achieving performance comparable to the original Transformer models while enjoying superior long-context performance and efficiency. The conversion requires just 2.3B tokens, less than 0.01% of their pre-training data
Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 43 of its 51 references that are in the map. First posted on arXiv 29 Jan 2026.
Builds on
43 of 51 references.
References · 43
- 2017Attention Is All You Needcited by 59,932
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
31 more
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 694
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 329
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
- 2020Query-Key Normalization for Transformerscited by 266
- 2025Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Freecited by 266
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 208
- 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 157
- 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 134
- 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Modelscited by 120
- 2021Finetuning Pretrained Transformers into RNNscited by 94
- 2024Gated Slot Attention for Efficient Linear-Time Sequence Modelingcited by 73
- 2024Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Modelscited by 66
- 2024Length Generalization of Causal Transformers without Position Encodingcited by 46
- 2025Jet-Nemotron: Efficient Language Model with Post Neural Architecture Searchcited by 39
- 2025A Systematic Analysis of Hybrid Linear Attentioncited by 38
- 2024Various Lengths, Constant Speed: Efficient Language Modeling with Lightning Attentioncited by 31
- 2024LoLCATs: On Low-Rank Linearizing of Large Language Modelscited by 25
- 2025Zebra-Llama: Towards Extremely Efficient Hybrid Modelscited by 18
- 2025Distilling to Hybrid Attention Models via KL-Guided Layer Selectioncited by 17
- 2025SWAN-GPT: An Efficient and Scalable Approach for Long-Context Language Modelingcited by 16
- 2025RAD: Redundancy-Aware Distillation for Hybrid Models via Self-Speculative Decodingcited by 8
- 2024Stuffed Mamba: Oversized States Lead to the Inability to Forgetcited by 7
- 2025Cost-Optimal Grouped-Query Attention for Long-Context Modelingcited by 4
- 2025StateX: Enhancing RNN Recall via Post-training State Expansioncited by 1
Built on by
Citing papers per year: 2026: 16.
16 papers.
Sort:
By area:
- 2026Pretraining Recurrent Networks without Recurrencecited by 5
- 2026Rethinking the Role of Efficient Attention in Hybrid Architecturescited by 5
- 2026MiniCPM-SALA: Hybridizing Sparse and Linear Attention for Efficient Long-Context Modelingcited by 4
- 2026Post-Trained MoE Can Skip Half Experts via Self-Distillationcited by 4
- 2026STILL: Selecting Tokens for Intra-Layer Hybrid Attention to Linearize LLMscited by 3
- 2026Attend Locally, Remember Linearly: Linear Attention as Cross-Frame Memory for Autoregressive Video Diffusioncited by 3
- 2026Sonata: A Hybrid World Model for Inertial Kinematics under Clinical Data Scarcitycited by 2
- 2026Morphing into Hybrid Attention Modelscited by 2
- 2026When Perplexity Lies: Generation-Focused Distillation of Hybrid Sequence Modelscited by 1
- 2026Modern Transformers Are Implicit Hybrids: From Functional Differentiation to Principled Hybrid Architecture Designcited by 1
- 2026Long-Context Aware Upcycling: A New Frontier for Hybrid LLM Scalingcited by 0
- 2026Attention Amnesia in Hybrid LLMs: When CoT Fine-Tuning Breaks Long-Range Recall, and How to Fix Itcited by 0
4 more
- 2026Stuck on "A": Diagnosing and Repairing Interface Injury in Attention-to-KDA Linearization of a 0.6B Language Modelcited by 0
- 2026On-Policy Attention Linearizationcited by 0
- 2026Multilinguality in Hybrid Attention LLMscited by 0
- 2026Mechanics of Long-Context Hybrid Models Part 1.1: From Hybrid Attention to Hybrid Positioncited by 0
- 2026Mechanics of Long-Context Hybrid Models Part 1.1: From Hybrid Attention to Hybrid Position7 Oct 2026
- 2026Multilinguality in Hybrid Attention LLMs28 Sep 2026
- 2026On-Policy Attention Linearization25 Sep 2026
- 2026Modern Transformers Are Implicit Hybrids: From Functional Differentiation to Principled Hybrid Architecture Design2 Sep 2026
- 2026Stuck on "A": Diagnosing and Repairing Interface Injury in Attention-to-KDA Linearization of a 0.6B Language Model3 Aug 2026
- 2026Morphing into Hybrid Attention Models29 Jun 2026
- 2026Rethinking the Role of Efficient Attention in Hybrid Architectures13 Jun 2026
- 2026Attention Amnesia in Hybrid LLMs: When CoT Fine-Tuning Breaks Long-Range Recall, and How to Fix It9 Jun 2026
- 2026Pretraining Recurrent Networks without Recurrence4 Jun 2026
- 2026Post-Trained MoE Can Skip Half Experts via Self-Distillation18 May 2026
- 2026Attend Locally, Remember Linearly: Linear Attention as Cross-Frame Memory for Autoregressive Video Diffusion15 May 2026
- 2026Long-Context Aware Upcycling: A New Frontier for Hybrid LLM Scaling27 Apr 2026
4 more
- 2026Sonata: A Hybrid World Model for Inertial Kinematics under Clinical Data Scarcity20 Apr 2026
- 2026When Perplexity Lies: Generation-Focused Distillation of Hybrid Sequence Models27 Mar 2026
- 2026MiniCPM-SALA: Hybridizing Sparse and Linear Attention for Efficient Long-Context Modeling12 Feb 2026
- 2026STILL: Selecting Tokens for Intra-Layer Hybrid Attention to Linearize LLMs2 Feb 2026
- 2026Multilinguality in Hybrid Attention LLMscited by 0
- 2026Multilinguality in Hybrid Attention LLMs28 Sep 2026
- 2026Post-Trained MoE Can Skip Half Experts via Self-Distillation18 May 2026
- 2026Pretraining Recurrent Networks without Recurrencecited by 5
- 2026MiniCPM-SALA: Hybridizing Sparse and Linear Attention for Efficient Long-Context Modelingcited by 4
- 2026STILL: Selecting Tokens for Intra-Layer Hybrid Attention to Linearize LLMscited by 3
- 2026Morphing into Hybrid Attention Modelscited by 2
- 2026When Perplexity Lies: Generation-Focused Distillation of Hybrid Sequence Modelscited by 1
- 2026Modern Transformers Are Implicit Hybrids: From Functional Differentiation to Principled Hybrid Architecture Designcited by 1
- 2026Long-Context Aware Upcycling: A New Frontier for Hybrid LLM Scalingcited by 0
- 2026Stuck on "A": Diagnosing and Repairing Interface Injury in Attention-to-KDA Linearization of a 0.6B Language Modelcited by 0
- 2026Mechanics of Long-Context Hybrid Models Part 1.1: From Hybrid Attention to Hybrid Positioncited by 0
- 2026Mechanics of Long-Context Hybrid Models Part 1.1: From Hybrid Attention to Hybrid Position7 Oct 2026
- 2026Modern Transformers Are Implicit Hybrids: From Functional Differentiation to Principled Hybrid Architecture Design2 Sep 2026
- 2026Stuck on "A": Diagnosing and Repairing Interface Injury in Attention-to-KDA Linearization of a 0.6B Language Model3 Aug 2026
- 2026Morphing into Hybrid Attention Models29 Jun 2026
- 2026Pretraining Recurrent Networks without Recurrence4 Jun 2026
- 2026Long-Context Aware Upcycling: A New Frontier for Hybrid LLM Scaling27 Apr 2026
- 2026When Perplexity Lies: Generation-Focused Distillation of Hybrid Sequence Models27 Mar 2026
- 2026MiniCPM-SALA: Hybridizing Sparse and Linear Attention for Efficient Long-Context Modeling12 Feb 2026
- 2026STILL: Selecting Tokens for Intra-Layer Hybrid Attention to Linearize LLMs2 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2025Native Hybrid Attention for Efficient Sequence Modeling
- 2024Linearizing Large Language Models
- 2026Taylor-Calibrate: Principled Initialization for Hybrid Linear Attention Distillation
- 2025MaTVLM: Hybrid Mamba-Transformer for Efficient Vision-Language Modeling
- 2025Is Random Attention Sufficient for Sequence Modeling? Disentangling Trainable Components in the Transformer
- 2024AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformers
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Length
- 2025Forgetting Transformer: Softmax Attention with a Forget Gate