Decoupling the "What" and "Where" With Polar Coordinate Positional Embeddings
Not on the map. Why?
Abstract (arXiv)
The attention mechanism in a Transformer architecture matches key to query based on both content -- the what -- and position in a sequence -- the where. We present an analysis indicating that what and where are entangled in the popular RoPE rotary position embedding. This entanglement can impair performance particularly when decisions require independent matches on these two factors. We propose an improvement to RoPE, which we call Polar Coordinate Position Embeddings or PoPE, that eliminates the what-where confound. PoPE is far superior on a diagnostic task requiring indexing solely by position or by content. On autoregressive sequence modeling in music, genomic, and natural language domains, Transformers using PoPE as the positional encoding scheme outperform baselines using RoPE with respect to evaluation loss (perplexity) and downstream task performance. On language modeling, these gains persist across model scale, from 124M to 774M parameters. Crucially, PoPE shows strong zero-shot length extrapolation capabilities compared not only to RoPE but even a method designed for extrapolation, YaRN, which requires additional fine tuning and frequency interpolation.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 35 of its 52 references that are in the map. First posted on arXiv 5 Sep 2025.
Builds on
35 of 52 references.
References · 35
- 2017Attention Is All You Needcited by 60,361
- 2024The Llama 3 Herd of Modelscited by 14,715
- 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
- 2025Qwen3 Technical Reportcited by 8,820
- 2016Layer Normalizationcited by 5,669
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
23 more
- 2025Gemma 3 Technical Reportcited by 1,824
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
- 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 564
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
- 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 313
- 2018Enabling Factorized Piano Music Modeling and Generation with the MAESTRO Datasetcited by 217
- 2022cosFormer: Rethinking Softmax in Attentioncited by 213
- 2018Music Transformercited by 211
- 2022A Length-Extrapolatable Transformercited by 127
- 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 115
- 2015The Goldilocks Principle: Reading Children's Books with Explicit Memory Representationscited by 108
- 2019Language Modeling with Deep Transformerscited by 96
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
- 2019Encoding word order in complex embeddingscited by 53
- 2024Resonance RoPE: Improving Context Length Generalization of Large Language Modelscited by 27
- 2024Scaling Stick-Breaking Attention: An Efficient Implementation and In-depth Studycited by 13
- 2024Why Are Positional Encodings Nonessential for Deep Autoregressive Transformers? Revisiting a Petroglyphcited by 6
Built on by
Citing papers per year: 2025: 1; 2026: 9.
10 papers.
- 2026RoVE: Rotary Value Embeddings Attention for Relative Position-dependent Value Pathwayscited by 2
- 2025MapFormer: Self-Supervised Learning of Cognitive Maps with Input-Dependent Positional Embeddingscited by 0
- 2026Geometry without Position? When Positional Embeddings Help and Hurt Spatial Reasoningcited by 0
- 2026No Generation without Representation: Efficient Causal Protein Language Models Enable Zero-Shot Fitness Estimationcited by 0
- 2026Short Data, Long Context: Distilling Positional Knowledge in Transformerscited by 0
- 2026What-Where Transformer: A Slot-Centric Visual Backbone for Concurrent Representation and Localizationcited by 0
- 2026Give it Space! Explicit Disentangling of Positional and Semantic Representations in Encoderscited by 0
- 2026Higher-Dimensional Rotary Position Embeddingcited by 0
- 2026RoPE is Dead, Long Live RoPE: Towards Scalable Data-aware Positional Encodingscited by 0
- 2026Shifting Mechanisms: How Positional Encoding Choice Shapes In-Context Retrievalcited by 0
- 2026Shifting Mechanisms: How Positional Encoding Choice Shapes In-Context Retrieval29 Sep 2026
- 2026RoPE is Dead, Long Live RoPE: Towards Scalable Data-aware Positional Encodings28 Sep 2026
- 2026Higher-Dimensional Rotary Position Embedding30 Aug 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
- 2026What-Where Transformer: A Slot-Centric Visual Backbone for Concurrent Representation and Localization12 May 2026
- 2026Short Data, Long Context: Distilling Positional Knowledge in Transformers7 Apr 2026
- 2026No Generation without Representation: Efficient Causal Protein Language Models Enable Zero-Shot Fitness Estimation2 Feb 2026
- 2026Geometry without Position? When Positional Embeddings Help and Hurt Spatial Reasoning29 Jan 2026
- 2025MapFormer: Self-Supervised Learning of Cognitive Maps with Input-Dependent Positional Embeddings24 Nov 2025