Reproduce “Native Position Reindexing for Sparse Attention” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Lei Zhu, Zexuan Qiu, Zhiwei Li, Zhongwei Wan, Tong Che, Huayang Li, Tian Liang, Hao Gu and 3 more
RiRoPE reindexes each query’s selected tokens in original order during training and inference, making rotary positions track selected context rather than document distance. In matched OLMo-3-7B continued pretraining, it scores 80.24 on RULER at 64K and 72.17 at 512K, eight times the training length, without further training or positional retuning. Results are limited to the tested model, encoding, and training route.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.