{"data":{"id":"c994b853-fcba-4d3d-94c1-672bccd06e55","slug":"tencent-hunyuan-rirope-new-open-source-repository-2026-11-24-2d2d25ba","title":"Tencent Hunyuan open-sources RiRoPE, a position reindexing method for sparse attention","factSummary":"Tencent Hunyuan released the RiRoPE repository on GitHub, introducing native position reindexing for sparse attention. RiRoPE co-designs positional encoding with sparse attention, bounding relative positional distances by the attention budget. The repository includes OLMo-3 training recipes, Hugging Face inference, fused SM90 sparse-attention kernels, and an evaluation harness.","summary":"RiRoPE (ReIndexing RoPE) is a method that co-designs positional encoding with sparse attention by making position reindexing native to both training and inference. For each query, selected keys are assigned consecutive positions in their original order, skipping gaps left by unselected tokens. This bounds relative positional distances by the attention budget rather than the full sequence length, improving both in-range long-context performance and out-of-range length extrapolation. Under matched OLMo-3-7B continued pretraining (64K training length), sparse attention with RiRoPE outperforms sparse RoPE+YaRN at 64K (80.24 vs. 74.10 on RULER; 47.37 vs. 42.97 on HELMET) and retains ~90% of its 64K RULER score at 512K (72.17 vs. 15.21) without further training or positional retuning. The repository provides OLMo-3 training recipes, standalone Hugging Face inference, fused SM90 sparse-attention kernels, and a frozen OLMES evaluation harness.","technicalInsight":"RiRoPE assigns consecutive position indices to selected keys in their original order, skipping unselected tokens, so relative distances are bounded by the attention budget. This is applied natively during training, unlike inference-only context-eviction schemes. The method is evaluated on OLMo-3-7B with 64K continued pretraining, showing strong length extrapolation to 512K without retuning.","industryInsight":"Developers working with long-context sparse attention can adopt RiRoPE to improve length extrapolation without additional training, potentially reducing compute costs for long-sequence processing. The open-source release includes training recipes and fused kernels, lowering the barrier for replication and integration.","futureOutlook":"Next signals to check: whether RiRoPE is adopted in other model architectures beyond OLMo-3, and whether independent benchmarks confirm the reported RULER and HELMET scores.","businessValue":"The repository provides a complete training and inference stack for sparse attention with improved long-context performance, which could reduce costs for applications requiring very long context windows.","category":"open-source-model","company":"Tencent","confidenceScore":70,"heatScore":20,"impactScore":63,"valueScore":60,"featured":false,"happenedAt":"2026-11-24T08:34:09.000Z","publishedAt":"2026-12-02T11:14:16.291Z","researchImpact":null,"evidenceStatus":"confirmed","reportedBy":[],"chinaNexus":["china_entity"],"primaryActor":"tencent","chinaContext":{"originalName":"腾讯混元","outsideChina":{"value":"open_weights","evidenceUrl":"https://github.com/Tencent-Hunyuan/RiRoPE"},"claimStatus":{"value":"company_reported","evaluator":null,"evaluatedAt":null},"forBuilders":"Builders can use the provided training recipes and fused SM90 kernels to replicate or extend RiRoPE for their own sparse attention models.","forInvestors":"The release signals Tencent Hunyuan's continued investment in open-source long-context research, which may influence the competitive landscape for efficient attention mechanisms.","chineseCommunityView":null,"translatedFromChinese":false},"media":[],"keywords":["RiRoPE","sparse attention","positional encoding","long context","OLMo-3","Tencent Hunyuan"],"tracks":[{"slug":"china-open-weights","name":"Open-weights competition"},{"slug":"to-d","name":"Developer AI"}],"evidence":[{"id":"12fc2fb8-7383-4a3f-a211-57754ffa53d5","title":"Tencent-Hunyuan/RiRoPE: new open-source repository","source":"Tencent Hunyuan on GitHub","role":"primary","url":"https://github.com/Tencent-Hunyuan/RiRoPE","publishedAt":"2026-11-24T08:34:09.000Z"}]},"meta":{"schemaVersion":1,"projectionVersion":"19801fcbdd3fbe5fedfe7675","generatedAt":"2026-12-02T12:10:48.052Z","language":"en"}}