RiRoPE lifts OLMo-3-7B sparse-attention long-context scores
Original title: Native Position Reindexing for Sparse Attention
Authors report gains of 6.14 RULER and 4.40 HELMET points at 64K versus sparse RoPE with YaRN.
The paper argues sparse attention should assign consecutive positions to each query's selected tokens during training and inference, rather than inherit dense positional distances. Applied to RoPE, RiRoPE uses structure-aware rotation reuse and fused kernels so rotated keys can still be reused. With matched OLMo-3-7B continued pretraining, authors report higher RULER and HELMET scores at 64K than a sparse RoPE-with-YaRN baseline, and about 90% retention of the 64K RULER score at 512K without further training.
Unconfirmed: Score gains are from the authors' matched continued-pretraining comparison.
- RULER rose from 74.10 to 80.24; HELMET rose from 42.97 to 47.37.
- At 512K, eight times the training length, no positional retuning was used.
- Native training beat inference-only switching by 21.24 RULER points at 256K.
- Query-dependent rotations avoid materializing per-pair rotated keys.
From the original article
1 min read at arxiv.orgSparse attention typically inherits positional encodings designed for dense attention, despite changing each query's context. Although sparse attention bounds the number of attended keys, these encodings retain large original-sequence distances poorly covered or unseen during training.
By Lei Zhu · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.