Mechanics of Long-Context Hybrid Models Part 1.1: From Hybrid Attention to Hybrid Position
Not on the map. Why?
Abstract (arXiv)
The architectural design of Large Language Models (LLMs) is shifting from traditional full-attention-only models to hybrid models, which combine different attention modules to improve long-context efficiency and performance in length extrapolation and context extension. To explain why hybrid models work and how to design them better, we propose Mechanics of Long-Context Hybrid Models. As Part 1.1 of this series, we begin with hybrids of full attention and either sliding-window attention (SWA) or gated variants of linear attention (LA), represented by GLA and GDN. We first observe a Seesaw Effect in Context Extension: LA hybrids benefit more from long-context continual pretraining, whereas SWA hybrids perform better under length extrapolation. We attribute this behavior to differences in the positional inductive biases induced by these attention mechanisms. We find that SWA hybrids suffer from a Short-Context Learning Trap, Short-Window Weariness, and Long-Window Laziness, and require extended windows to enhance performance in continual long-context pretraining. For LA hybrids, we summarize the Matthew Effect of Hybrid Position Extrapolation and propose Sliding-Window Linear Attention, achieving 16× training-free length extrapolation while maintaining 100% accuracy on NIAH-SK1 in 64k context length.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 59 of its 106 references that are in the map. First posted on arXiv 7 Oct 2026.
Builds on
59 of 106 references.
References · 59
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2025Qwen3 Technical Reportcited by 8,195
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
- 2017Decoupled Weight Decay Regularizationcited by 1,722
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,258
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 877
38 more
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 502
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
- 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headscited by 283
- 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 232
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 211
- 2026Gemma 4 Technical Reportcited by 187
- 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 169
- 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 157
- 2024You Only Cache Once: Decoder-Decoder Architectures for Language Modelscited by 135
- 2025A Comprehensive Survey on Long Context Language Modelingcited by 113
- 2026Kimi K3: Open Frontier Intelligencecited by 99
- 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 95
- 2025Nemotron-H: A Family of Accurate and Efficient Hybrid Mamba-Transformer Modelscited by 88
- 2024What is Wrong with Perplexity for Long-context Language Modeling?cited by 68
- 2025VideoRoPE: What Makes for Good Video Rotary Position Embedding?cited by 63
- 2024RecurrentGemma: Moving Past Transformers for Efficient Open Language Modelscited by 61
- 2025Forgetting Transformer: Softmax Attention with a Forget Gatecited by 50
- 2024Scaling of Search and Learning: A Roadmap to Reproduce o1 from Reinforcement Learning Perspectivecited by 49
- 2024Jamba-1.5: Hybrid Transformer-Mamba Models at Scalecited by 48
- 2025LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMscited by 38
- 2025A Systematic Analysis of Hybrid Linear Attentioncited by 38
- 2026MiniMax Sparse Attentioncited by 34
- 2025Liger: Linearizing Large Language Models to Gated Recurrent Structurescited by 32
- 2025PaTH Attention: Position Encoding via Accumulating Householder Transformationscited by 32
- 2024Various Lengths, Constant Speed: Efficient Language Modeling with Lightning Attentioncited by 31
- 2025Understanding Transformer from the Perspective of Associative Memorycited by 31
- 2026IndexCache: Accelerating Sparse Attention via Cross-Layer Index Reusecited by 27
- 2026Olmo Hybrid: From Theory to Practice and Backcited by 22
- 2025Nex-N1: Agentic Models Trained via a Unified Ecosystem for Large-Scale Environment Constructioncited by 17
- 2025SWAN-GPT: An Efficient and Scalable Approach for Long-Context Language Modelingcited by 16
- 2026Hybrid Linear Attention Done Right: Efficient Distillation and Effective Architectures for Extremely Long Contextscited by 16
- 2025Thus Spake Long-Context Large Language Modelcited by 12
- 2024LongWanjuan: Towards Systematic Measurement for Long Text Qualitycited by 11
- 2026HySparse: A Hybrid Sparse Attention Architecture with Oracle Token Selection and KV Cache Sharingcited by 8
- 2026Hierarchical Sparse Attention Done Right: Toward Infinite Context Modelingcited by 8
50 most cited of 59 All 59 (JSON)
Built on by
Not cited yet.