mlsanityData to 7 Oct 2026

Rope to Nope and Back Again: A New Hybrid Attention Strategy

arXiv 2501.18795 ↗First posted 30 Jan 2025cs.CLcited by 46

Not on the map. Why?

Abstract (arXiv)

Long-context large language models (LLMs) have achieved remarkable advancements, driven by techniques like Rotary Position Embedding (RoPE) (Su et al., 2023) and its extensions (Chen et al., 2023; Liu et al., 2024c; Peng et al., 2023). By adjusting RoPE parameters and incorporating training data with extended contexts, we can train performant models with considerably longer input sequences. However, existing RoPE-based methods exhibit performance limitations when applied to extended context lengths. This paper presents a comprehensive analysis of various attention mechanisms, including RoPE, No Positional Embedding (NoPE), and Query-Key Normalization (QK-Norm), identifying their strengths and shortcomings in long-context modeling. Our investigation identifies distinctive attention patterns in these methods and highlights their impact on long-context performance, providing valuable insights for architectural design. Building on these findings, we propose a novel architecture featuring a hybrid attention mechanism that integrates global and local attention spans. This design not only surpasses conventional RoPE-based transformer models with full attention in both long and short context tasks but also delivers substantial efficiency gains during training and inference.

Key facts. Cited by 46 papers in the map (data through 7 Oct 2026). Builds on 65 of its 76 references that are in the map. First posted on arXiv 30 Jan 2025.

Builds on

65 of 76 references.

References · 65

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  5. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  6. 2016Layer Normalizationcited by 5,579
  7. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  8. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  9. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  10. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  11. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  12. 2021Program Synthesis with Large Language Modelscited by 3,509
38 more
  1. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  2. 2020Longformer: The Long-Document Transformercited by 3,362
  3. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  4. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  5. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  6. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
  7. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  8. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  9. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
  10. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  11. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  12. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
  13. 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 701
  14. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  15. 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
  16. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
  17. 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
  18. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funnelingcited by 420
  19. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
  20. 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 302
  21. 2024Hunyuan-DiT: A Powerful Multi-Resolution Diffusion Transformer with Fine-Grained Chinese Understandingcited by 294
  22. 2024Aya Model: An Instruction Finetuned Open-Access Multilingual Language Modelcited by 292
  23. 2020Query-Key Normalization for Transformerscited by 266
  24. 2020Sparse Sinkhorn Attentioncited by 250
  25. 2023DeepSpeed Ulysses: System Optimizations for Enabling Training of Extreme Long Sequence Transformer Modelscited by 239
  26. 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
  27. 2023LongNet: Scaling Transformers to 1,000,000,000 Tokenscited by 201
  28. 2024World Model on Million-Length Video And Language With Blockwise RingAttentioncited by 196
  29. 2022Transformer Quality in Linear Timecited by 189
  30. 2022Mega: Moving Average Equipped Gated Attentioncited by 178
  31. 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 157
  32. 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 148
  33. 2024How to Train Long-Context Language Models (Effectively)cited by 141
  34. 2024You Only Cache Once: Decoder-Decoder Architectures for Language Modelscited by 135
  35. 2023Focused Transformer: Contrastive Training for Context Scalingcited by 133
  36. 2023Scaling Laws of RoPE-based Extrapolationcited by 124
  37. 2024Aya Expanse: Combining Research Breakthroughs for a New Multilingual Frontiercited by 121
  38. 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 111

50 most cited of 65 All 65 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 18; 2026: 28.

46 papers.

Sort:

By area:

  1. 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 169
  2. 2026Mamba-3: Improved Sequence Modeling using State Space Principlescited by 76
  3. 2026Attention Residualscited by 57
  4. 2025Baichuan-M1: Pushing the Medical Capability of Large Language Modelscited by 41
  5. 2025EXAONE 4.0: Unified Large Language Models Integrating Non-reasoning and Reasoning Modescited by 26
  6. 2025Apple Intelligence Foundation Language Models: Tech Report 2025cited by 25
  7. 2025Extending the Context of Pretrained LLMs by Dropping Their Positional Embeddingscited by 23
  8. 2025Efficient Attention Mechanisms for Large Language Models: A Surveycited by 21
  9. 2025Let's (not) just put things in Context: Test-Time Training for Long-Context LLMscited by 17
  10. 2025SWAN-GPT: An Efficient and Scalable Approach for Long-Context Language Modelingcited by 16
  11. 2026Tiny Aya: Bridging Scale and Multilingual Depthcited by 14
  12. 2025Hardware-Efficient Attention for Fast Decodingcited by 10
34 more
  1. 2025RATTENTION: Towards the Minimal Sliding Window Size in Local-Global Attention Modelscited by 10
  2. 2026Arcee Trinity Large Technical Reportcited by 10
  3. 2025SALS: Sparse Attention in Latent Space for KV cache Compressioncited by 7
  4. 2025Decoupling Positional and Symbolic Attention Behavior in Transformerscited by 6
  5. 2026RoPE Distinguishes Neither Positions Nor Tokens in Long Contexts, Provablycited by 6
  6. 2025Language Models, Graph Searching, and Supervision Adulteration: When More Supervision is Less and How to Make More Morecited by 3
  7. 2025RePo: Language Models with Context Re-Positioningcited by 3
  8. 2026A Structural Theory of Position Bias in Transformerscited by 3
  9. 2026Fractional Rotation, Full Potential? Investigating Performance and Convergence of Partial RoPEcited by 3
  10. 2025SeqPE: Transformer with Sequential Position Encodingcited by 2
  11. 2025A Circular Argument : Does RoPE need to be Equivariant for Vision?cited by 2
  12. 2026RAT+: Train Dense, Infer Sparse -- Recurrence Augmented Attention for Dilated Inferencecited by 2
  13. 2026What Makes Position Zero Special? A Mechanistic Study of Position Zero Attention Sinks in LLMscited by 2
  14. 2025Language Modeling with Learned Meta-Tokenscited by 1
  15. 2026Neural Attention Search Linear: Towards Adaptive Token-Level Hybrid Attention Modelscited by 1
  16. 2026Universal YOCO for Efficient Depth Scalingcited by 1
  17. 2026Key-Value Means: Transformers with Expandable Block-Recurrent Compressed Memorycited by 1
  18. 2026You Only Index Once: Cross-Layer Sparse Attention with Shared Routingcited by 1
  19. 2025Mechanistic Interpretability of GPT-like Models on Summarization Taskscited by 0
  20. 2026No Generation without Representation: Efficient Causal Protein Language Models Enable Zero-Shot Fitness Estimationcited by 0
  21. 2026Position Encoding with Random Float Sampling Enhances Length Generalization of Transformerscited by 0
  22. 2026Multi-Head Low-Rank Attentioncited by 0
  23. 2026Short Data, Long Context: Distilling Positional Knowledge in Transformerscited by 0
  24. 2026Shuffle the Context: RoPE-Perturbed Self-Distillation for Long-Context Adaptationcited by 0
  25. 2026Dual Triangle Attention: Effective Bidirectional Attention Without Positional Embeddingscited by 0
  26. 2026Long-Context Aware Upcycling: A New Frontier for Hybrid LLM Scalingcited by 0
  27. 2026Does RoPE Prevent or Degrade Retrieval Heads? A Mechanistic Analysis Across Model Familiescited by 0
  28. 2026Cracks in the Foundation: Seemingly Minor Architectural Choices Impact Long Context Extensioncited by 0
  29. 2026Disentangling the Expressivity of RoPEcited by 0
  30. 2026Higher-Dimensional Rotary Position Embeddingcited by 0
  31. 2026LSTMem: Hierarchical Long Short-Term Online Memory for Large Language Modelscited by 0
  32. 2026RoPE is Dead, Long Live RoPE: Towards Scalable Data-aware Positional Encodingscited by 0
  33. 2026Multilinguality in Hybrid Attention LLMscited by 0
  34. 2026Shifting Mechanisms: How Positional Encoding Choice Shapes In-Context Retrievalcited by 0