The paper proposes ReIndexing RoPE (RiRoPE), which trains sparse attention so each query's selected tokens get consecutive positions in their original order. With matched OLMo-3-7B continued pretraining, it beats a RoPE-with-YaRN sparse-attention baseline on RULER and HELMET at 64K and keeps about 90% of its 64K RULER score at 512K.
Key facts
- Sparse attention typically inherits positional encodings designed for dense attention, despite changing each query's context.
- Each query's selected tokens receive consecutive positions in their original order during both training and inference, limiting relative distances to the attention budget rather than the full sequence length.
- With matched OLMo-3-7B continued pretraining, RiRoPE outperforms a sparse-attention baseline using RoPE with YaRN at 64K by 6.14 RULER points (74.10 to 80.24) and 4.40 HELMET points (42.97 to 47.37).
- At 512K, eight times the training length, it retains about 90% of its 64K RULER score without further training or positional retuning.
- Native training also outperforms inference-only switching by 21.24 RULER points at 256K.
Read aloud
The paper proposes ReIndexing RoPE RiRoPE, which trains sparse attention so each query's selected tokens get consecutive positions in their original order. With matched OLMo-three-7B continued pretraining, it beats a RoPE-with-YaRN sparse-attention baseline on RULER and HELMET at 64K and keeps about ninety percent of its 64K RULER score at 512K. Sparse attention typically inherits positional encodings designed for dense attention, despite changing each query's context. Each query's selected tokens receive consecutive positions in their original order during both training and inference, limiting relative distances to the attention budget rather than the full sequence length. With matched OLMo-three-7B continued pretraining, RiRoPE outperforms a sparse-attention baseline using RoPE with YaRN at 64K by six point one four RULER points seventy four point one zero to eighty point two four and four point four zero HELMET points forty two point nine seven to forty seven point three seven. At 512K, eight times the training length, it retains about ninety percent of its 64K RULER score without further training or positional retuning. Native training also outperforms inference-only switching by twenty one point two four RULER points at 256K.
Sources in this cluster
Free daily email
Get AI news, checked against sources
One short email each morning with the day's model launches, price changes and research. Unsubscribe any time.
We email a confirmation link first. Pro and API plans