mlsanityData to 7 Oct 2026

Rotary Positional Embeddings as Phase Modulation: Theoretical Bounds on the RoPE Base for Long-Context Transformers

arXiv 2602.10959 ↗First posted 11 Feb 2026cs.LG cs.AI cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

Rotary positional embeddings (RoPE) are widely used in large language models to encode token positions through multiplicative rotations, yet their behavior at long context lengths remains poorly characterized. In this work, we reinterpret RoPE as phase modulation applied to a bank of complex oscillators, enabling analysis through classical signal processing theory. Under this formulation, we derive principled lower bounds on the RoPE base parameter that are necessary to preserve positional coherence over a target context length. These include a fundamental aliasing bound, analogous to a Nyquist limit, and a DC-component stability bound that constrains phase drift in low-frequency positional modes. We further extend this analysis to deep transformers, showing that repeated rotary modulation across layers compounds angular misalignment, tightening the base requirement as depth increases. Complementing these results, we derive a precision-dependent upper bound on the RoPE base arising from finite floating-point resolution. Beyond this limit, incremental phase updates become numerically indistinguishable, leading to positional erasure even in the absence of aliasing. Together, the lower and upper bounds define a precision- and depth-dependent feasibility region a Goldilocks zone for long-context transformers. We validate the framework through a comprehensive case study of state-of-the-art models, including LLaMA, Mistral, and DeepSeek variants, showing that observed successes, failures, and community retrofits align closely with the predicted bounds. Notably, models that violate the stability bound exhibit attention collapse and long-range degradation, while attempts to scale beyond one million tokens encounter a hard precision wall independent of architecture or training.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 22 of its 34 references that are in the map. First posted on arXiv 11 Feb 2026.

Builds on

22 of 34 references.

References · 22

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  5. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  6. 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,170
  7. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
  8. 2017Mixed Precision Trainingcited by 1,135
  9. 2018Self-Attention with Relative Position Representationscited by 1,112
  10. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
  11. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  12. 2020On Layer Normalization in the Transformer Architecturecited by 906
10 more
  1. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  2. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
  3. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
  4. 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 302
  5. 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
  6. 2021Scaling Laws for Transfercited by 265
  7. 2016Exponential expressivity in deep neural networks through transient chaoscited by 260
  8. 2020Understanding the Difficulty of Training Transformerscited by 210
  9. 2024Base of RoPE Bounds Context Lengthcited by 49
  10. 2024Understanding the RoPE Extensions of Long-Context LLMs: An Attention Perspectivecited by 13

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 6.

6 papers.