HoPE: Hyperbolic Rotary Positional Encoding for Stable Long-Range Dependency Modeling in Large Language Models
Not on the map. Why?
Abstract (arXiv)
Positional encoding mechanisms enable Transformers to model sequential structure and long-range dependencies in text. While absolute positional encodings struggle with extrapolation to longer sequences due to fixed positional representations, and relative approaches like Alibi exhibit performance degradation on extremely long contexts, the widely-used Rotary Positional Encoding (RoPE) introduces oscillatory attention patterns that hinder stable long-distance dependency modelling. We address these limitations through a geometric reformulation of positional encoding. Drawing inspiration from Lorentz transformations in hyperbolic geometry, we propose Hyperbolic Rotary Positional Encoding (HoPE), which leverages hyperbolic functions to implement Lorentz rotations on token representations. Theoretical analysis demonstrates that RoPE is a special case of our generalized formulation. HoPE fundamentally resolves RoPE's slation issues by enforcing monotonic decay of attention weights with increasing token distances. Extensive experimental results, including perplexity evaluations under several extended sequence benchmarks, show that HoPE consistently exceeds existing positional encoding methods. These findings underscore HoPE's enhanced capacity for representing and generalizing long-range dependencies. Data and code will be available.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 31 of its 46 references that are in the map. First posted on arXiv 5 Sep 2025.
Builds on
31 of 46 references.
References · 31
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2017The NarrativeQA Reading Comprehension Challengecited by 597
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 486
- 2019Hyperbolic Graph Convolutional Neural Networkscited by 402
- 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 365
19 more
- 2021Efficient Attentions for Long Document Summarizationcited by 345
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
- 2023Effective Long-Context Scaling of Foundation Modelscited by 303
- 2022SCROLLS: Standardized CompaRison Over Long Language Sequencescited by 170
- 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 150
- 2021ContractNLI: A Dataset for Document-level Natural Language Inference for Contractscited by 148
- 2021Hyperbolic Deep Neural Networks: A Surveycited by 139
- 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 117
- 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 115
- 2022KERPLE: Kernelized Relative Positional Embedding for Length Extrapolationcited by 86
- 2023CoLT5: Faster Long-Range Transformers with Conditional Computationcited by 84
- 2021SummScreen: A Dataset for Abstractive Screenplay Summarizationcited by 79
- 2024Contextual Position Encoding: Learning to Count What's Importantcited by 54
- 2020What Do Position Embeddings Learn? An Empirical Study of Pre-Trained Language Model Positional Encodingcited by 52
- 2022Dissecting Transformer Length Extrapolation via the Lens of Receptive Field Analysiscited by 42
- 2024Two Stones Hit One Bird: Bilevel Positional Encoding for Better Length Extrapolationcited by 24
- 2021Hyper Meta-Path Contrastive Learning for Multi-Behavior Recommendationcited by 21
- 2021Generalization Error Bound for Hyperbolic Ordinal Embeddingcited by 12
- 2023Monotonic Location Attention for Length Generalizationcited by 9
Built on by
Citing papers per year: 2025: 1; 2026: 9.
10 papers.
- 2026Reason Only When Needed: Efficient Generative Reward Modeling via Model-Internal Uncertaintycited by 6
- 2026DPI: Exploiting Parameter Heterogeneity for Interference-Free Fine-Tuningcited by 5
- 2025Beyond Real: Imaginary Extension of Rotary Position Embeddings for Long-Context LLMscited by 2
- 2026Reinforcement Learning Enhanced Multi-hop Reasoning for Temporal Knowledge Question Answeringcited by 2
- 2026Temporal-Aware Heterogeneous Graph Reasoning with Multi-View Fusion for Temporal Question Answeringcited by 0
- 2026Efficient Task Adaptation in Large Language Models via Selective Parameter Optimizationcited by 0
- 2026Multi-Granularity Reasoning for Natural Language Inferencecited by 0
- 2026MoSAR: Mixture of Semantic Attention Regimes for Learning Adaptive and Approximable Attention Geometriescited by 0
- 2026Rethinking the Fully Hyperbolic Vision Transformer in Polar Coordinatescited by 0
- 2026HySPE: Positional Encoding via Symplectic Dual Shearscited by 0
- 2026HySPE: Positional Encoding via Symplectic Dual Shears7 Oct 2026
- 2026Rethinking the Fully Hyperbolic Vision Transformer in Polar Coordinates26 Sep 2026
- 2026MoSAR: Mixture of Semantic Attention Regimes for Learning Adaptive and Approximable Attention Geometries25 Sep 2026
- 2026Multi-Granularity Reasoning for Natural Language Inference18 Apr 2026
- 2026Efficient Task Adaptation in Large Language Models via Selective Parameter Optimization18 Apr 2026
- 2026Reason Only When Needed: Efficient Generative Reward Modeling via Model-Internal Uncertainty11 Apr 2026
- 2026Temporal-Aware Heterogeneous Graph Reasoning with Multi-View Fusion for Temporal Question Answering23 Feb 2026
- 2026DPI: Exploiting Parameter Heterogeneity for Interference-Free Fine-Tuning25 Jan 2026
- 2026Reinforcement Learning Enhanced Multi-hop Reasoning for Temporal Knowledge Question Answering3 Jan 2026
- 2025Beyond Real: Imaginary Extension of Rotary Position Embeddings for Long-Context LLMs8 Dec 2025