ComRoPE: Scalable and Robust Rotary Position Embedding Parameterized by Trainable Commuting Angle Matrices
Not on the map. Why?
Abstract (arXiv)
The Transformer architecture has revolutionized various regions since it was proposed, and its effectiveness largely depends on the ability to encode positional information. Traditional position encoding methods exhibit significant limitations due to lack of robustness and flexibility of position. Therefore, Rotary Positional Encoding (RoPE) was proposed to alleviate these issues, which integrates positional information by rotating the embeddings in the attention mechanism. However, RoPE requires manually defined rotation matrices with limited transformation space, constraining the model's capacity. In this work, we propose ComRoPE, which generalizes RoPE by defining it in terms of trainable commuting angle matrices. Specifically, we demonstrate that pairwise commutativity of these matrices is essential for RoPE to achieve scalability and positional robustness. We formally define the RoPE Equation, which is an essential condition that ensures consistent performance with position offsets. Based on the theoretical analysis, we present two types of trainable commuting angle matrices as sufficient solutions to the RoPE equation, which significantly improve performance, surpassing the current state-of-the-art method by 1.6% at training resolution and 2.9% at higher resolution on the ImageNet-1K dataset. Furthermore, our framework shows versatility in generalizing to existing RoPE formulations and offering new insights for future positional encoding research. To ensure reproducibility, the source code and instructions are available at https://github.com/Longin-Yu/ComRoPE
Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). Builds on 29 of its 41 references that are in the map. First posted on arXiv 4 Jun 2025.
Builds on
29 of 41 references.
References · 29
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 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
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,267
- 2024ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Toolscited by 1,121
17 more
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2023EVA-02: A Visual Representation for Neon Genesiscited by 381
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
- 2023Unified-IO 2: Scaling Autoregressive Multimodal Models with Vision, Language, Audio, and Actioncited by 302
- 2024Rotary Position Embedding for Vision Transformercited by 236
- 2021Rethinking and Improving Relative Position Encoding for Vision Transformercited by 207
- 2024AutoWebGLM: A Large Language Model-based Web Navigating Agentcited by 130
- 2023WebGLM: Towards An Efficient Web-Enhanced Question Answering System with Human Preferencescited by 100
- 2024ViT-CoMer: Vision Transformer with Convolutional Multi-scale Feature Interaction for Dense Predictionscited by 66
- 2025LLaVA-ST: A Multimodal Large Language Model for Fine-Grained Spatial-Temporal Understandingcited by 59
- 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 37
- 2024Distilling Semantic Priors from SAM to Efficient Image Restoration Modelscited by 25
- 2024GIM: A Million-scale Benchmark for Generative Image Manipulation Detection and Localizationcited by 19
- 2025Rethinking Pseudo-Label Guided Learning for Weakly Supervised Temporal Action Localization from the Perspective of Noise Correctioncited by 8
- 2025IMDPrompter: Adapting SAM to Image Manipulation Detection by Cross-View Automated Prompt Learningcited by 8
- 2021Translational Equivariance in Kernelizable Attentioncited by 5
Built on by
Citing papers per year: 2025: 4; 2026: 14.
18 papers.
Sort:
By area:
- 2025A Circular Argument : Does RoPE need to be Equivariant for Vision?cited by 3
- 2026Learning Cross-View Object Correspondence via Cycle-Consistent Mask Predictioncited by 3
- 2025Mitigating Coordinate Prediction Bias from Positional Encoding Failurescited by 2
- 2025Clifford Algebraic Rotor Embeddings : Maybe embeddings should start to CAREcited by 2
- 2025Phase-Aligned RoPE for Mixed-Resolution Diffusion Transformercited by 2
- 2026SoPE: Spherical Coordinate-Based Positional Embedding for Enhancing Spatial Perception of 3D LVLMscited by 2
- 2026SafeRoPE: Risk-specific Head-wise Embedding Rotation for Safe Generation in Rectified Flow Transformerscited by 2
- 2026MuViT: Multi-Resolution Vision Transformers for Learning Across Scales in Microscopycited by 1
- 2026Power law graph attention: exact generalization of scaled dot-product attention, empirical collapse at inferencecited by 1
- 2026Parabolic Position Encoding: Vision-Centric, Principled, Extrapolatable, Generalcited by 0
- 2026OPRO: Orthogonal Panel-Relative Operators for Panel-Aware In-Context Image Generationcited by 0
- 2026Do Vision Transformers Need All-to-All Attention? Global Communication Through Elastic Learned Corescited by 0
6 more
- 2026Journey Operators for Structured Multi-Axis Compositioncited by 0
- 2026When Local Variance Optimality Is Not Enough: RoPE-Aligned Q/K Rotations for Dynamic 4-Bit Quantisationcited by 0
- 2026Higher-Dimensional Rotary Position Embeddingcited by 0
- 2026Symbiotic Architecture for Post-Hoc Audio Extension of Frozen Language Modelscited by 0
- 2026MinkowskiPE: Minkowski Positional Encoding for Spatiotemporal Perceptioncited by 0
- 2026WorldRoPE: Probabilistic World-Centric Rotary Embedding for Multi-View Attentioncited by 0
- 2026WorldRoPE: Probabilistic World-Centric Rotary Embedding for Multi-View Attention12 Oct 2026
- 2026MinkowskiPE: Minkowski Positional Encoding for Spatiotemporal Perception27 Sep 2026
- 2026Symbiotic Architecture for Post-Hoc Audio Extension of Frozen Language Models25 Sep 2026
- 2026Higher-Dimensional Rotary Position Embedding30 Aug 2026
- 2026When Local Variance Optimality Is Not Enough: RoPE-Aligned Q/K Rotations for Dynamic 4-Bit Quantisation13 Aug 2026
- 2026Power law graph attention: exact generalization of scaled dot-product attention, empirical collapse at inference10 Aug 2026
- 2026Journey Operators for Structured Multi-Axis Composition29 Jul 2026
- 2026Do Vision Transformers Need All-to-All Attention? Global Communication Through Elastic Learned Cores12 May 2026
- 2026SafeRoPE: Risk-specific Head-wise Embedding Rotation for Safe Generation in Rectified Flow Transformers2 Apr 2026
- 2026OPRO: Orthogonal Panel-Relative Operators for Panel-Aware In-Context Image Generation29 Mar 2026
- 2026MuViT: Multi-Resolution Vision Transformers for Learning Across Scales in Microscopy27 Feb 2026
- 2026SoPE: Spherical Coordinate-Based Positional Embedding for Enhancing Spatial Perception of 3D LVLMs26 Feb 2026
6 more
- 2026Learning Cross-View Object Correspondence via Cycle-Consistent Mask Prediction22 Feb 2026
- 2026Parabolic Position Encoding: Vision-Centric, Principled, Extrapolatable, General1 Feb 2026
- 2025Phase-Aligned RoPE for Mixed-Resolution Diffusion Transformer24 Nov 2025
- 2025Clifford Algebraic Rotor Embeddings : Maybe embeddings should start to CARE11 Nov 2025
- 2025A Circular Argument : Does RoPE need to be Equivariant for Vision?11 Nov 2025
- 2025Mitigating Coordinate Prediction Bias from Positional Encoding Failures25 Oct 2025
- 2025A Circular Argument : Does RoPE need to be Equivariant for Vision?cited by 3
- 2026Learning Cross-View Object Correspondence via Cycle-Consistent Mask Predictioncited by 3
- 2025Clifford Algebraic Rotor Embeddings : Maybe embeddings should start to CAREcited by 2
- 2026MuViT: Multi-Resolution Vision Transformers for Learning Across Scales in Microscopycited by 1
- 2026Power law graph attention: exact generalization of scaled dot-product attention, empirical collapse at inferencecited by 1
- 2026Parabolic Position Encoding: Vision-Centric, Principled, Extrapolatable, Generalcited by 0
- 2026Do Vision Transformers Need All-to-All Attention? Global Communication Through Elastic Learned Corescited by 0
- 2026Journey Operators for Structured Multi-Axis Compositioncited by 0
- 2026When Local Variance Optimality Is Not Enough: RoPE-Aligned Q/K Rotations for Dynamic 4-Bit Quantisationcited by 0
- 2026Higher-Dimensional Rotary Position Embeddingcited by 0
- 2026Symbiotic Architecture for Post-Hoc Audio Extension of Frozen Language Modelscited by 0
- 2026MinkowskiPE: Minkowski Positional Encoding for Spatiotemporal Perceptioncited by 0
12 most cited of 13 All 13 (JSON)
- 2026WorldRoPE: Probabilistic World-Centric Rotary Embedding for Multi-View Attention12 Oct 2026
- 2026MinkowskiPE: Minkowski Positional Encoding for Spatiotemporal Perception27 Sep 2026
- 2026Symbiotic Architecture for Post-Hoc Audio Extension of Frozen Language Models25 Sep 2026
- 2026Higher-Dimensional Rotary Position Embedding30 Aug 2026
- 2026When Local Variance Optimality Is Not Enough: RoPE-Aligned Q/K Rotations for Dynamic 4-Bit Quantisation13 Aug 2026
- 2026Power law graph attention: exact generalization of scaled dot-product attention, empirical collapse at inference10 Aug 2026
- 2026Journey Operators for Structured Multi-Axis Composition29 Jul 2026
- 2026Do Vision Transformers Need All-to-All Attention? Global Communication Through Elastic Learned Cores12 May 2026
- 2026MuViT: Multi-Resolution Vision Transformers for Learning Across Scales in Microscopy27 Feb 2026
- 2026Learning Cross-View Object Correspondence via Cycle-Consistent Mask Prediction22 Feb 2026
- 2026Parabolic Position Encoding: Vision-Centric, Principled, Extrapolatable, General1 Feb 2026
- 2025Clifford Algebraic Rotor Embeddings : Maybe embeddings should start to CARE11 Nov 2025
12 newest of 13 All 13 (JSON)