Base of RoPE Bounds Context Length
Not on the map. Why?
Abstract (arXiv)
Position embedding is a core component of current Large Language Models (LLMs). Rotary position embedding (RoPE), a technique that encodes the position information with a rotation matrix, has been the de facto choice for position embedding in many LLMs, such as the Llama series. RoPE has been further utilized to extend long context capability, which is roughly based on adjusting the textitbase parameter of RoPE to mitigate out-of-distribution (OOD) problems in position embedding. However, in this paper, we find that LLMs may obtain a superficial long-context ability based on the OOD theory. We revisit the role of RoPE in LLMs and propose a novel property of long-term decay, we derive that the textitbase of RoPE bounds context length: there is an absolute lower bound for the base value to obtain certain context length capability. Our work reveals the relationship between context length and RoPE base both theoretically and empirically, which may shed light on future long context training.
Key facts. Cited by 49 papers in the map (data through 7 Oct 2026). Builds on 34 of its 43 references that are in the map. First posted on arXiv 23 May 2024.
Builds on
34 of 43 references.
References · 34
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2023GPT-4 Technical Reportcited by 18,132
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2023Qwen Technical Reportcited by 3,273
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 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
- 2018Self-Attention with Relative Position Representationscited by 1,112
22 more
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2024Yi: Open Foundation Models by 01.AIcited by 706
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2023Baichuan 2: Open Large-scale Language Modelscited by 664
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
- 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 571
- 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
- 2024Rotary Position Embedding for Vision Transformercited by 226
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
- 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
- 2023Focused Transformer: Contrastive Training for Context Scalingcited by 133
- 2023Scaling Laws of RoPE-based Extrapolationcited by 124
- 2022A Length-Extrapolatable Transformercited by 123
- 2022Scaling Laws vs Model Architectures: How does Inductive Bias Influence Scaling?cited by 103
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 100
- 2023Impact of Code Language Models on Automated Program Repaircited by 85
- 2024Can Perplexity Reflect Large Language Model's Ability in Long Text Understanding?cited by 45
- 2022Dissecting Transformer Length Extrapolation via the Lens of Receptive Field Analysiscited by 39
- 2021SHAPE: Shifted Absolute Position Embedding for Transformerscited by 37
- 2019An Augmented Transformer Architecture for Natural Language Generation Taskscited by 3
Built on by
Citing papers per year: 2024: 12; 2025: 24; 2026: 13.
49 papers.
Sort:
By area:
- 2024mGTE: Generalized Long-Context Text Representation and Reranking Models for Multilingual Text Retrievalcited by 233
- 2025Test-Time Training Done Rightcited by 121
- 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 111
- 2025VideoRoPE: What Makes for Good Video Rotary Position Embedding?cited by 63
- 2024Why Does the Effective Context Length of LLMs Fall Short?cited by 60
- 2025Rope to Nope and Back Again: A New Hybrid Attention Strategycited by 46
- 2025Baichuan-M1: Pushing the Medical Capability of Large Language Modelscited by 41
- 2025LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMscited by 38
- 2024ALR2: A Retrieve-then-Reason Framework for Long-context Question Answeringcited by 25
- 2025LongRoPE2: Near-Lossless LLM Context Window Scalingcited by 21
- 2024When Precision Meets Position: BFloat16 Breaks Down RoPE in Long-Context Trainingcited by 15
- 2024Understanding the RoPE Extensions of Long-Context LLMs: An Attention Perspectivecited by 13
37 more
- 2024On the token distance modeling ability of higher RoPE attention dimensioncited by 13
- 2025Mamba Modulation: On the Length Generalization of Mambacited by 13
- 2025Technical Report of TeleChat2, TeleChat2.5 and T1cited by 10
- 2024Untie the Knots: An Efficient Data Augmentation Strategy for Long-Context Pre-Training in Language Modelscited by 9
- 2024Biology-Instructions: A Dataset and Benchmark for Multi-Omics Sequence Understanding Capability of Large Language Modelscited by 9
- 2024KV Shifting Attention Enhances Language Modelingcited by 7
- 2025SkyLadder: Better and Faster Pretraining via Context Window Schedulingcited by 6
- 2025Decoupling Positional and Symbolic Attention Behavior in Transformerscited by 6
- 2026Rotary Positional Embeddings as Phase Modulation: Theoretical Bounds on the RoPE Base for Long-Context Transformerscited by 6
- 2026RoPE Distinguishes Neither Positions Nor Tokens in Long Contexts, Provablycited by 6
- 2025Beyond In-Distribution Success: Scaling Curves of CoT Granularity for Language Model Generalizationcited by 5
- 2025Scaling Instruction-Tuned LLMs to Million-Token Contexts via Hierarchical Synthetic Data Generationcited by 4
- 2025HoPE: Hybrid of Position Embedding for Long Context Vision-Language Modelscited by 4
- 2025Rotary Masked Autoencoders are Versatile Learnerscited by 4
- 2025EgoMem: Lifelong Memory Agent for Full-duplex Omnimodal Modelscited by 4
- 2025LEDiT: Your Length-Extrapolatable Diffusion Transformer without Positional Encodingcited by 3
- 2026Mi:dm 2.0 Korea-centric Bilingual Language Modelscited by 3
- 2026MrRoPE: Mixed-radix Rotary Position Embeddingcited by 3
- 2026Fractional Rotation, Full Potential? Investigating Performance and Convergence of Partial RoPEcited by 3
- 2025Context-aware Biases for Length Extrapolationcited by 2
- 2025Scaling Context, Not Parameters: Training a Compact 7B Language Model for Efficient Long-Context Processingcited by 2
- 2025ID-Align: RoPE-Conscious Position Remapping for Dynamic High-Resolution Adaptation in Vision-Language Modelscited by 2
- 2025SeqPE: Transformer with Sequential Position Encodingcited by 2
- 2025Predictable Compression Failures: Order Sensitivity and Information Budgeting for Evidence-Grounded Binary Adjudicationcited by 2
- 2025Review of Hallucination Understanding in Large Language and Vision Modelscited by 2
- 2025Beyond Real: Imaginary Extension of Rotary Position Embeddings for Long-Context LLMscited by 2
- 2024What Kinds of Tokens Benefit from Distant Text? An Analysis on Long Context Language Modelingcited by 1
- 2024Breaking the Stage Barrier: A Novel Single-Stage Approach to Long Context Extension for Large Language Modelscited by 1
- 2025A Training-Free Length Extrapolation Approach for LLMs: Greedy Attention Logit Interpolation (GALI)cited by 1
- 2026Remember to Forget: Gated Adaptive Positional Encodingcited by 1
- 2026LeRoPE: Learnable RoPE Frequencies Improve Language Modelingcited by 1
- 2026BSAT: B-Spline Adaptive Tokenizer for Long-Term Time Series Forecastingcited by 0
- 2026CoPE: Clipped RoPE as A Scalable Free Lunch for Long Context LLMscited by 0
- 2026Tango: Taming Visual Signals for Efficient Video Large Language Modelscited by 0
- 2026Transcript-Managed Transformers: Monotone Multi-Agent Collapse and Universality with Two Pop-Enabled Transcriptscited by 0
- 2026Disentangling the Expressivity of RoPEcited by 0
- 2026RoPE is Dead, Long Live RoPE: Towards Scalable Data-aware Positional Encodingscited by 0
- 2026RoPE is Dead, Long Live RoPE: Towards Scalable Data-aware Positional Encodings28 Sep 2026
- 2026Disentangling the Expressivity of RoPE12 Aug 2026
- 2026Transcript-Managed Transformers: Monotone Multi-Agent Collapse and Universality with Two Pop-Enabled Transcripts31 Jul 2026
- 2026LeRoPE: Learnable RoPE Frequencies Improve Language Modeling11 Jul 2026
- 2026RoPE Distinguishes Neither Positions Nor Tokens in Long Contexts, Provably15 May 2026
- 2026Remember to Forget: Gated Adaptive Positional Encoding11 May 2026
- 2026Tango: Taming Visual Signals for Efficient Video Large Language Models10 Apr 2026
- 2026Fractional Rotation, Full Potential? Investigating Performance and Convergence of Partial RoPE12 Mar 2026
- 2026Rotary Positional Embeddings as Phase Modulation: Theoretical Bounds on the RoPE Base for Long-Context Transformers11 Feb 2026
- 2026CoPE: Clipped RoPE as A Scalable Free Lunch for Long Context LLMs5 Feb 2026
- 2026MrRoPE: Mixed-radix Rotary Position Embedding28 Jan 2026
- 2026Mi:dm 2.0 Korea-centric Bilingual Language Models14 Jan 2026
37 more
- 2026BSAT: B-Spline Adaptive Tokenizer for Long-Term Time Series Forecasting2 Jan 2026
- 2025Beyond Real: Imaginary Extension of Rotary Position Embeddings for Long-Context LLMs8 Dec 2025
- 2025Decoupling Positional and Symbolic Attention Behavior in Transformers3 Oct 2025
- 2025Review of Hallucination Understanding in Large Language and Vision Models26 Sep 2025
- 2025Mamba Modulation: On the Length Generalization of Mamba23 Sep 2025
- 2025EgoMem: Lifelong Memory Agent for Full-duplex Omnimodal Models15 Sep 2025
- 2025Predictable Compression Failures: Order Sensitivity and Information Budgeting for Evidence-Grounded Binary Adjudication14 Sep 2025
- 2025Technical Report of TeleChat2, TeleChat2.5 and T124 Jul 2025
- 2025LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMs17 Jun 2025
- 2025SeqPE: Transformer with Sequential Position Encoding16 Jun 2025
- 2025Test-Time Training Done Right29 May 2025
- 2025ID-Align: RoPE-Conscious Position Remapping for Dynamic High-Resolution Adaptation in Vision-Language Models27 May 2025
- 2025Rotary Masked Autoencoders are Versatile Learners26 May 2025
- 2025HoPE: Hybrid of Position Embedding for Long Context Vision-Language Models26 May 2025
- 2025Scaling Context, Not Parameters: Training a Compact 7B Language Model for Efficient Long-Context Processing13 May 2025
- 2025Scaling Instruction-Tuned LLMs to Million-Token Contexts via Hierarchical Synthetic Data Generation17 Apr 2025
- 2025SkyLadder: Better and Faster Pretraining via Context Window Scheduling19 Mar 2025
- 2025Context-aware Biases for Length Extrapolation11 Mar 2025
- 2025LEDiT: Your Length-Extrapolatable Diffusion Transformer without Positional Encoding6 Mar 2025
- 2025LongRoPE2: Near-Lossless LLM Context Window Scaling27 Feb 2025
- 2025Beyond In-Distribution Success: Scaling Curves of CoT Granularity for Language Model Generalization25 Feb 2025
- 2025Baichuan-M1: Pushing the Medical Capability of Large Language Models18 Feb 2025
- 2025VideoRoPE: What Makes for Good Video Rotary Position Embedding?7 Feb 2025
- 2025A Training-Free Length Extrapolation Approach for LLMs: Greedy Attention Logit Interpolation (GALI)4 Feb 2025
- 2025Rope to Nope and Back Again: A New Hybrid Attention Strategy30 Jan 2025
- 2024Biology-Instructions: A Dataset and Benchmark for Multi-Omics Sequence Understanding Capability of Large Language Models26 Dec 2024
- 2024Breaking the Stage Barrier: A Novel Single-Stage Approach to Long Context Extension for Large Language Models10 Dec 2024
- 2024KV Shifting Attention Enhances Language Modeling29 Nov 2024
- 2024When Precision Meets Position: BFloat16 Breaks Down RoPE in Long-Context Training20 Nov 2024
- 2024Why Does the Effective Context Length of LLMs Fall Short?24 Oct 2024
- 2024On the token distance modeling ability of higher RoPE attention dimension11 Oct 2024
- 2024Round and Round We Go! What makes Rotary Positional Encodings useful?8 Oct 2024
- 2024ALR2: A Retrieve-then-Reason Framework for Long-context Question Answering4 Oct 2024
- 2024Untie the Knots: An Efficient Data Augmentation Strategy for Long-Context Pre-Training in Language Models7 Sep 2024
- 2024mGTE: Generalized Long-Context Text Representation and Reranking Models for Multilingual Text Retrieval29 Jul 2024
- 2024Understanding the RoPE Extensions of Long-Context LLMs: An Attention Perspective19 Jun 2024
- 2024What Kinds of Tokens Benefit from Distant Text? An Analysis on Long Context Language Modeling17 Jun 2024
- 2025Test-Time Training Done Rightcited by 121
- 2025LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMscited by 38
- 2025LEDiT: Your Length-Extrapolatable Diffusion Transformer without Positional Encodingcited by 3
- 2025LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMs17 Jun 2025
- 2025Test-Time Training Done Right29 May 2025
- 2025LEDiT: Your Length-Extrapolatable Diffusion Transformer without Positional Encoding6 Mar 2025
- 2025Mamba Modulation: On the Length Generalization of Mambacited by 13
- 2025Mamba Modulation: On the Length Generalization of Mamba23 Sep 2025
- 2024mGTE: Generalized Long-Context Text Representation and Reranking Models for Multilingual Text Retrievalcited by 233
- 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 111
- 2025VideoRoPE: What Makes for Good Video Rotary Position Embedding?cited by 63
- 2024Why Does the Effective Context Length of LLMs Fall Short?cited by 60
- 2025Rope to Nope and Back Again: A New Hybrid Attention Strategycited by 46
- 2025Baichuan-M1: Pushing the Medical Capability of Large Language Modelscited by 41
- 2025LongRoPE2: Near-Lossless LLM Context Window Scalingcited by 21
- 2024When Precision Meets Position: BFloat16 Breaks Down RoPE in Long-Context Trainingcited by 15
- 2024Understanding the RoPE Extensions of Long-Context LLMs: An Attention Perspectivecited by 13
- 2024On the token distance modeling ability of higher RoPE attention dimensioncited by 13
- 2025Technical Report of TeleChat2, TeleChat2.5 and T1cited by 10
- 2024Untie the Knots: An Efficient Data Augmentation Strategy for Long-Context Pre-Training in Language Modelscited by 9
12 most cited of 39 All 39 (JSON)
- 2026RoPE is Dead, Long Live RoPE: Towards Scalable Data-aware Positional Encodings28 Sep 2026
- 2026Disentangling the Expressivity of RoPE12 Aug 2026
- 2026Transcript-Managed Transformers: Monotone Multi-Agent Collapse and Universality with Two Pop-Enabled Transcripts31 Jul 2026
- 2026LeRoPE: Learnable RoPE Frequencies Improve Language Modeling11 Jul 2026
- 2026RoPE Distinguishes Neither Positions Nor Tokens in Long Contexts, Provably15 May 2026
- 2026Remember to Forget: Gated Adaptive Positional Encoding11 May 2026
- 2026Fractional Rotation, Full Potential? Investigating Performance and Convergence of Partial RoPE12 Mar 2026
- 2026Rotary Positional Embeddings as Phase Modulation: Theoretical Bounds on the RoPE Base for Long-Context Transformers11 Feb 2026
- 2026CoPE: Clipped RoPE as A Scalable Free Lunch for Long Context LLMs5 Feb 2026
- 2026MrRoPE: Mixed-radix Rotary Position Embedding28 Jan 2026
- 2026Mi:dm 2.0 Korea-centric Bilingual Language Models14 Jan 2026
- 2026BSAT: B-Spline Adaptive Tokenizer for Long-Term Time Series Forecasting2 Jan 2026
12 newest of 39 All 39 (JSON)