Skip to content
NewA calmer, faster ZeroHour

RiRoPE trains sparse attention with native position reindexing

Original title: Native Position Reindexing for Sparse Attention

Hugging Face daily papersby Lei Zhu, Zexuan Qiu, Zhiwei Li ()1 min read
Part of a story covered by 2 sourcesRiRoPE reindexes sparse attention positions on OLMo-3-7BMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

Matched OLMo-3-7B continued pretraining raises 64K RULER from 74.10 to 80.24 versus sparse RoPE with YaRN.

The paper argues that sparse attention should use positional distances tied to each query’s selected tokens rather than the full sequence. ReIndexing RoPE (RiRoPE) assigns consecutive positions during training and inference, with structure-aware rotation reuse and fused kernels to retain sparse-attention efficiency. On matched OLMo-3-7B continued pretraining, the authors report gains over a RoPE-with-YaRN baseline and strong retention at lengths beyond training.

Unconfirmed: Benchmark deltas are reported by the paper and have not been independently confirmed here.

Key facts
  • Relative distances are limited to the attention budget.
  • At 64K, HELMET rises from 42.97 to 47.37.
  • At 512K, it retains about 90% of its 64K RULER score.
  • Native training beats inference-only switching by 21.24 RULER points at 256K.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at huggingface.co

Sparse 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.

Hugging Face daily papers

By Lei Zhu, Zexuan Qiu, Zhiwei Li · huggingface.co

Read the full article at Hugging Face daily papers

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.