HoPE: A Novel Positional Encoding Without Long-Term Decay for Enhanced Context Awareness and Extrapolation
Not on the map. Why?
Abstract (arXiv)
Many positional encodings (PEs) are designed to exhibit long-term decay, based on an entrenched and long-standing inductive opinion: tokens farther away from the current position carry less relevant information. We argue that long-term decay is outdated in the era of LLMs, as LLMs are now applied to tasks demanding precise retrieval of in-context information from arbitrary positions. Firstly, we present empirical analyses on various PEs, demonstrating that models inherently learn attention with only a local-decay pattern while forming a U-shape pattern globally, contradicting the principle of long-term decay. Furthermore, we conduct a detailed analysis of rotary position encoding (RoPE, a prevalent relative positional encoding in LLMs), and found that the U-shape attention is caused by some learned components, which are also the key factor limiting RoPE's expressiveness and extrapolation.Inspired by these insights, we propose High-frequency rotary Position Encoding (HoPE). HoPE replaces the specific components in RoPE with position-independent ones, retaining only high-frequency signals, which also breaks the principle of long-term decay in theory. HoPE achieves two major advantages: (1) Without constraints imposed by long-term decay, contradictory factors that limit spontaneous attention optimization and model extrapolation performance are removed. (2) Components representing positions and semantics are are optimized. These enhances model's context awareness and extrapolation, as validated by extensive experiments.
Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). Builds on 29 of its 39 references that are in the map. First posted on arXiv 28 Oct 2024.
Builds on
29 of 39 references.
References · 29
- 2017Attention Is All You Needcited by 60,361
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2023Let's Verify Step by Stepcited by 3,789
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
- 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
17 more
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,210
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
- 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 313
- 2019WinoGrande: An Adversarial Winograd Schema Challenge at Scalecited by 204
- 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 117
- 2021Can contrastive learning avoid shortcut solutions?cited by 114
- 2022KERPLE: Kernelized Relative Positional Embedding for Length Extrapolationcited by 86
- 2024Contextual Position Encoding: Learning to Count What's Importantcited by 54
- 2022Dissecting Transformer Length Extrapolation via the Lens of Receptive Field Analysiscited by 42
- 2021SHAPE: Shifted Absolute Position Embedding for Transformerscited by 37
- 2024DAPE: Data-Adaptive Positional Encoding for Length Extrapolationcited by 31
- 2023An Analysis and Mitigation of the Reversal Cursecited by 22
- 2021Regularized Nonlinear Regression for Simultaneously Selecting and Estimating Key Model Parameterscited by 1
Built on by
Citing papers per year: 2024: 2; 2025: 5; 2026: 10.
17 papers.
Sort:
By area:
- 2024Fourier Position Embedding: Enhancing Attention's Periodic Extension for Length Generalizationcited by 39
- 2025ParallelComp: Parallel Long-Context Compressor for Length Extrapolationcited by 14
- 2026Hierarchical Sparse Attention Done Right: Toward Infinite Context Modelingcited by 12
- 2024More Expressive Attention with Negative Weightscited by 9
- 2025CAFE: Retrieval Head-based Coarse-to-Fine Information Seeking to Enhance Multi-Document QA Capabilitycited by 4
- 2025RePo: Language Models with Context Re-Positioningcited by 4
- 2026Frayed RoPE and Long Inputs: A Geometric Perspectivecited by 3
- 2026SoPE: Spherical Coordinate-Based Positional Embedding for Enhancing Spatial Perception of 3D LVLMscited by 2
- 2026Adaptive 3D-RoPE: Physics-Aligned Rotary Positional Encoding for Wireless Foundation Modelscited by 2
- 2026RoVE: Rotary Value Embeddings Attention for Relative Position-dependent Value Pathwayscited by 2
- 2025Rotary Offset Features in Large Language Modelscited by 1
- 2025CoPE: A Lightweight Complex Positional Encodingcited by 1
5 more
- 2026Towards Infinite Length Extrapolation: A Unified Approachcited by 0
- 2026Give it Space! Explicit Disentangling of Positional and Semantic Representations in Encoderscited by 0
- 2026SANE: State Anomaly Neutralization for Stable Extreme-Context Delta-Rule Modelscited by 0
- 2026RoPE is Dead, Long Live RoPE: Towards Scalable Data-aware Positional Encodingscited by 0
- 2026How Local Mixing Encodes Relative Position in Global NoPE Attentioncited by 0
- 2026How Local Mixing Encodes Relative Position in Global NoPE Attention29 Sep 2026
- 2026RoPE is Dead, Long Live RoPE: Towards Scalable Data-aware Positional Encodings28 Sep 2026
- 2026SANE: State Anomaly Neutralization for Stable Extreme-Context Delta-Rule Models23 Aug 2026
- 2026Hierarchical Sparse Attention Done Right: Toward Infinite Context Modeling3 Jul 2026
- 2026RoVE: Rotary Value Embeddings Attention for Relative Position-dependent Value Pathways9 Jun 2026
- 2026Give it Space! Explicit Disentangling of Positional and Semantic Representations in Encoders28 May 2026
- 2026Adaptive 3D-RoPE: Physics-Aligned Rotary Positional Encoding for Wireless Foundation Models1 May 2026
- 2026SoPE: Spherical Coordinate-Based Positional Embedding for Enhancing Spatial Perception of 3D LVLMs26 Feb 2026
- 2026Frayed RoPE and Long Inputs: A Geometric Perspective24 Feb 2026
- 2026Towards Infinite Length Extrapolation: A Unified Approach3 Jan 2026
- 2025RePo: Language Models with Context Re-Positioning16 Dec 2025
- 2025CoPE: A Lightweight Complex Positional Encoding23 Aug 2025
5 more
- 2025CAFE: Retrieval Head-based Coarse-to-Fine Information Seeking to Enhance Multi-Document QA Capability15 May 2025
- 2025Rotary Offset Features in Large Language Models3 Mar 2025
- 2025ParallelComp: Parallel Long-Context Compressor for Length Extrapolation20 Feb 2025
- 2024Fourier Position Embedding: Enhancing Attention's Periodic Extension for Length Generalization23 Dec 2024
- 2024More Expressive Attention with Negative Weights11 Nov 2024
- 2024Fourier Position Embedding: Enhancing Attention's Periodic Extension for Length Generalizationcited by 39
- 2026Hierarchical Sparse Attention Done Right: Toward Infinite Context Modelingcited by 12
- 2024More Expressive Attention with Negative Weightscited by 9
- 2025CAFE: Retrieval Head-based Coarse-to-Fine Information Seeking to Enhance Multi-Document QA Capabilitycited by 4
- 2025RePo: Language Models with Context Re-Positioningcited by 4
- 2026Frayed RoPE and Long Inputs: A Geometric Perspectivecited by 3
- 2026Adaptive 3D-RoPE: Physics-Aligned Rotary Positional Encoding for Wireless Foundation Modelscited by 2
- 2026RoVE: Rotary Value Embeddings Attention for Relative Position-dependent Value Pathwayscited by 2
- 2025Rotary Offset Features in Large Language Modelscited by 1
- 2025CoPE: A Lightweight Complex Positional Encodingcited by 1
- 2026Towards Infinite Length Extrapolation: A Unified Approachcited by 0
- 2026Give it Space! Explicit Disentangling of Positional and Semantic Representations in Encoderscited by 0
12 most cited of 15 All 15 (JSON)
- 2026How Local Mixing Encodes Relative Position in Global NoPE Attention29 Sep 2026
- 2026RoPE is Dead, Long Live RoPE: Towards Scalable Data-aware Positional Encodings28 Sep 2026
- 2026SANE: State Anomaly Neutralization for Stable Extreme-Context Delta-Rule Models23 Aug 2026
- 2026Hierarchical Sparse Attention Done Right: Toward Infinite Context Modeling3 Jul 2026
- 2026RoVE: Rotary Value Embeddings Attention for Relative Position-dependent Value Pathways9 Jun 2026
- 2026Give it Space! Explicit Disentangling of Positional and Semantic Representations in Encoders28 May 2026
- 2026Adaptive 3D-RoPE: Physics-Aligned Rotary Positional Encoding for Wireless Foundation Models1 May 2026
- 2026Frayed RoPE and Long Inputs: A Geometric Perspective24 Feb 2026
- 2026Towards Infinite Length Extrapolation: A Unified Approach3 Jan 2026
- 2025RePo: Language Models with Context Re-Positioning16 Dec 2025
- 2025CoPE: A Lightweight Complex Positional Encoding23 Aug 2025
- 2025CAFE: Retrieval Head-based Coarse-to-Fine Information Seeking to Enhance Multi-Document QA Capability15 May 2025
12 newest of 15 All 15 (JSON)