Understanding RoPE through Head-wise Retrieval Distance Profiling

Tsubasa Oka, Yui Oka, Yusuke Sakai, Hidetaka Kamigaito, Taro WatanabeOpenReview 2027 · Submission to ICLR 2027 · Withdrawn

Its authors withdrew this paper, so there is no full text to read or summarize.

Abstract

Rotary Position Embedding (RoPE) is widely used in large language models (LLMs) and is central to context-length extension. However, existing analyses mainly infer the importance of RoPE frequencies from magnitude-based statistics such as the $\ell_2$ norms of query and key representations, which do not reveal how attention heads function across different query-key relative positions. We introduce Head-wise Retrieval Distance Profiling (HRDP), which explicitly controls the query-key relative offset and measures, for each attention head, whether the target key achieves the highest query-key score among all preceding keys. HRDP provides an offset-dependent retrieval profile for each attention head. Our analysis reveals that approximately 20\% of heads successfully retrieve targets at short offsets, whereas long-range retrieval relies on only a small subset of heads. We further find that better-performing positional interpolation more faithfully preserves the original head-wise retrieval structure, whereas poorer interpolation substantially disrupts it. These results provide a functional view of RoPE beyond frequency magnitude and offer a new basis for analyzing and designing context-extension methods.
BibTeX
@misc{oka2027understanding,
  author = {Tsubasa Oka and Yui Oka and Yusuke Sakai and Hidetaka Kamigaito and Taro Watanabe},
  title = {{Understanding RoPE through Head-wise Retrieval Distance Profiling}},
  year = {2027},
  url = {https://openreview.net/forum?id=OfHH6WTZcj},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2027},
}

Loading related content...

Figure