mlsanityData to 14 Oct 2026

Beyond Real: Imaginary Extension of Rotary Position Embeddings for Long-Context LLMs

arXiv 2512.07525 ↗First posted 8 Dec 2025cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Rotary Position Embeddings (RoPE) have become a standard for encoding sequence order in Large Language Models (LLMs) by applying rotations to query and key vectors in the complex plane. Standard implementations, however, utilize only the real component of the complex-valued dot product for attention score calculation. This simplification discards the imaginary component, which contains valuable phase information, leading to a potential loss of relational details crucial for modeling long-context dependencies. In this paper, we propose an extension that re-incorporates this discarded imaginary component. Our method leverages the full complex-valued representation to create a dual-component attention score. We theoretically and empirically demonstrate that this approach enhances the modeling of long-context dependencies by preserving more positional information. Furthermore, evaluations on a suite of long-context language modeling benchmarks show that our method consistently improves performance over the standard RoPE, with the benefits becoming more significant as context length increases. The code is available at https://github.com/OpenMOSS/rope_pp.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 53 of its 71 references that are in the map. First posted on arXiv 8 Dec 2025.

Builds on

53 of 71 references.

References · 53

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2025Qwen3 Technical Reportcited by 8,820
  5. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  6. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  7. 2024Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolutioncited by 4,234
  8. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  9. 2016Pointer Sentinel Mixture Modelscited by 3,096
  10. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
  11. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  12. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
38 more
  1. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  2. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  3. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  4. 2017Decoupled Weight Decay Regularizationcited by 1,831
  5. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  6. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
  7. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
  8. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  9. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
  10. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  11. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
  12. 2025Large Language Diffusion Modelscited by 912
  13. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
  14. 2024Yi: Open Foundation Models by 01.AIcited by 719
  15. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
  16. 2025Dream 7B: Diffusion Large Language Modelscited by 544
  17. 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 398
  18. 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 383
  19. 2023Effective Long-Context Scaling of Foundation Modelscited by 303
  20. 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headscited by 288
  21. 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 215
  22. 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 197
  23. 2024LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuningcited by 136
  24. 2023Scaling Laws of RoPE-based Extrapolationcited by 125
  25. 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 115
  26. 2019TENER: Adapting Transformer Encoder for Named Entity Recognitioncited by 69
  27. 2025VideoRoPE: What Makes for Good Video Rotary Position Embedding?cited by 65
  28. 2024Contextual Position Encoding: Learning to Count What's Importantcited by 54
  29. 2025Forgetting Transformer: Softmax Attention with a Forget Gatecited by 53
  30. 2024Base of RoPE Bounds Context Lengthcited by 52
  31. 2025LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMscited by 40
  32. 2024Fourier Position Embedding: Enhancing Attention's Periodic Extension for Length Generalizationcited by 39
  33. 2025PaTH Attention: Position Encoding via Accumulating Householder Transformationscited by 34
  34. 2024DAPE: Data-Adaptive Positional Encoding for Length Extrapolationcited by 31
  35. 2024LongHeads: Multi-Head Attention is Secretly a Long Context Processorcited by 16
  36. 2024ReAttention: Training-Free Infinite Context with Finite Attention Scopecited by 13
  37. 2024LongWanjuan: Towards Systematic Measurement for Long Text Qualitycited by 11
  38. 2024DAPE V2: Process Attention Score as Feature Map for Length Extrapolationcited by 10

50 most cited of 53 All 53 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.