The Rotary Position Embedding May Cause Dimension Inefficiency in Attention Heads for Long-Distance Retrieval

The Rotary Position Embedding (RoPE) is widely used in the attention heads of many large language models (LLM).It rotates dimensions in the query and the key vectors by different angles according to their positions in the input sequence.For long context modeling, the range of positions may vary a lot, and thus RoPE rotates some dimensions by a great range of angles.We hypothesize that the wide range of rotation angles may prevent LLMs from utilizing those dimensions.To validate this hypothesis, we present a controlled experiment showing that applying RoPE causes low utility of certain dimensions.Our analyses on three LLMs also indicate that these dimensions do not help LLMs do long-context question answering.

Authors

Institutions

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.697
Primary Topic
Spatial Cognition and Navigation
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

The Rotary Position Embedding May Cause Dimension Inefficiency in Attention Heads for Long-Distance Retrieval

Dani Yogatama, Ting-Rui Chiang
Spatial Cognition and Navigation
article

The Rotary Position Embedding May Cause Dimension Inefficiency in Attention Heads for Long-Distance Retrieval

Dani Yogatama, Ting-Rui Chiang
article en

Abstract

The Rotary Position Embedding (RoPE) is widely used in the attention heads of many large language models (LLM).It rotates dimensions in the query and the key vectors by different angles according to their positions in the input sequence.For long context modeling, the range of positions may vary a lot, and thus RoPE rotates some dimensions by a great range of angles.We hypothesize that the wide range of rotation angles may prevent LLMs from utilizing those dimensions.To validate this hypothesis, we present a controlled experiment showing that applying RoPE causes low utility of certain dimensions.Our analyses on three LLMs also indicate that these dimensions do not help LLMs do long-context question answering.

California Southern University (US), Southern States University (US)
Reduced inequalities
Openalex Percentile: Top 80%
Spatial Cognition and Navigation
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.