Live intelligence

Latest AI updates

1 updates
Research Editor selected

Native Position Reindexing Improves Sparse Attention for Long-Context LLMs

A new arXiv paper proposes making position reindexing native to sparse-attention training, assigning each query’s selected tokens consecutive positions in their original order to limit relative distances to the attention budget. Applied to rotary position encoding, the method yields ReIndexing RoPE (RiRoPE), with structure-aware rotation reuse and fused kernels intended to preserve sparse-attention efficiency. In matched OLMo-3-7B continued pretraining, RiRoPE improves over a sparse-attention baseline using RoPE with YaRN by 6.14 RULER points and 4.40 HELMET points at 64K, and retains about 90% of its 64K RULER score at 512K without further training or positional retuning.

Why it matters: It gives readers a concrete training-side technique and measured long-context gains for sparse attention, showing how positional encoding can be co-designed with sparsity rather than inherited from dense attention.

Sparse AttentionRotary Position EncodingLong-Context Language Models