atlas

Research map / Architectures and efficiency / Attention and transformers

ComRoPE: Scalable and Robust Rotary Position Embedding Parameterized by Trainable Commuting Angle Matrices

CVPR 2025 · Architectures and efficiency › Attention and transformers · approach: Transformer expressivity and learnability · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ComRoPE, a generalization of rotary position embedding using trainable pairwise-commuting angle matrices, shown to improve ViT accuracy on ImageNet-1K and COCO detection over LieRE and APE.

Problem

Standard RoPE uses manually defined, non-trainable rotation matrices that limit expressiveness, and prior trainable variants (LieRE) do not consistently satisfy the relative-position (RoPE) equation, hurting robustness to resolution/position changes in vision transformers.

Approach

Formally defines the RoPE equation for angle-matrix-parameterized rotations and proves that pairwise commutativity of the angle matrices is necessary and sufficient; constructs trainable commuting matrices via axial-partition (ComRoPE-AP) or linearly dependent scaled base matrices (ComRoPE-LD).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use ComRoPE-LD instead of LieREViT-B/16 · ImageNet-1K, 224×224accuracy: 1.6%Helped
Use ComRoPE-LD instead of LieREViT-B/16 · ImageNet-1K, 512×512accuracy: 2.9%Helped
Use ComRoPE-LD instead of LieREViT-S · MS COCOAP: 44.5 -> 44.7Helped
Add coordinate offsets at inference (ablation)LieRE · ImageNet-1K, varying resolutionsaccuracyHurt
Add coordinate offsets at inference (ablation)ComRoPE · ImageNet-1K, varying resolutionsaccuracyNo clear effect
Increase block size (ablation)LieRE, ComRoPE-AP, and ComRoPE-LD · ImageNet-1K, varying resolutionsaccuracyHelped
Increase position perturbation intensity from 0 to 1 (ablation)APE · ImageNet-1Kaccuracy: +19.5%Helped
Increase position perturbation intensity from 0 to 1 (ablation)ComRoPE-LD · ImageNet-1Kaccuracy: +2.9%Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K MS COCO

Benchmarks: ImageNet-1K MS COCO

Metrics: top-1 accuracy AP AP50 AP75 APs APm APl

Baselines: APE Vanilla RoPE LieRE

Builds on: RoFormer (RoPE) LieRE RoPE-Mixed

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy