nD-RoPE: A Generalized RoPE for n-Dimensional Position Embedding
Not on the map. Why?
Abstract (arXiv)
Rotary Position Embedding (RoPE) is widely adopted in Transformer models, yet its extension to high-dimensional domains lacks a unified theoretical formulation. Most existing approaches either apply rotations independently along each axis or empirically mix frequencies, which limits cross-dimensional interactions and yields direction-dependent representations. To address these limitations, we propose nD-RoPE, a decomposition-free generalization of RoPE to arbitrary dimensions. From a translation-invariant formulation in continuous Hilbert space, we derive a spectral condition for isotropy that requires treating positions and frequencies as coupled (n)-dimensional vectors. We instantiate this formulation with a multi-scale regular-simplex wave-vector design, which provides non-degenerate spatial coverage and a symmetric, directionally balanced second-order response. Experiments across images, videos, and point clouds demonstrate consistent performance gains and improved generalization in high-dimensional settings.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 28 of its 40 references that are in the map. First posted on arXiv 10 Jun 2026.
Builds on
28 of 40 references.
References · 28
- 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
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2024Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolutioncited by 4,234
- 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,200
- 2017The Kinetics Human Action Video Datasetcited by 1,909
- 2021Is Space-Time Attention All You Need for Video Understanding?cited by 1,620
- 2020Point Transformercited by 1,470
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
16 more
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
- 2021Conditional Positional Encodings for Vision Transformerscited by 406
- 2022Point Transformer V2: Grouped Vector Attention and Partition-based Poolingcited by 388
- 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 313
- 2023Unified-IO 2: Scaling Autoregressive Multimodal Models with Vision, Language, Audio, and Actioncited by 302
- 2024Rotary Position Embedding for Vision Transformercited by 236
- 2021Learnable Fourier Features for Multi-Dimensional Spatial Positional Encodingcited by 93
- 2020Multi-Scale Representation Learning for Spatial Feature Distributions using Grid Cellscited by 90
- 2025VideoRoPE: What Makes for Good Video Rotary Position Embedding?cited by 65
- 2024Fourier Position Embedding: Enhancing Attention's Periodic Extension for Length Generalizationcited by 39
- 2023Length Extrapolation of Transformers: A Survey from the Perspective of Positional Encodingcited by 32
- 2021Persformer: A Transformer Architecture for Topological Machine Learningcited by 19
- 2025Learning the RoPEs: Better 2D and 3D Position Encodings with STRINGcited by 19
- 2018Learning Grid Cells as Vector Representation of Self-Position Coupled with Matrix Representation of Self-Motioncited by 18
- 20243D-RPE: Enhancing Long-Context Modeling Through 3D Rotary Position Encodingcited by 13
- 2025RoPETR: Improving Temporal Camera-Only 3D Detection by Integrating Enhanced Rotary Position Embeddingcited by 7
Built on by
Citing papers per year: 2026: 2.
2 papers.
- 2026ClockRoPE: Random Fourier Rotations for Temporal Routine Modelingcited by 0
- 2026Refinement Symmetry in Multimodal Transformerscited by 0
- 2026Refinement Symmetry in Multimodal Transformers26 Sep 2026
- 2026ClockRoPE: Random Fourier Rotations for Temporal Routine Modeling29 Jul 2026