Research map / Architectures and efficiency / Attention and transformers
RRAtention: Dynamic Block Sparse Attention via Per-Head Round-Robin Shifts for Long-Context Inference
Siran Liu, Guoxia Wang, Sa Wang, Jinle Zeng, Haoyang Xie, Siyu Lou, Jiabin Yang, Dianhai Yu, Haifeng Wang, Chao Yang
Baidu · Peking University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use head round-robin query sampling instead of XAttention anti-diagonal sampling | block sparse attention · HELMET Llama (tau=0.95) | average score: 55.74 -> 56.24 | Improved |
| use RRAttention instead of FlexPrefill at aggressive sparsity | block sparse attention · HELMET Qwen2.5-7B | average score: 38.27 -> 46.63 | Improved |
| add round-robin scheduling (head-RR) to query sampling (ablation) | RRAttention · HELMET Llama | average score: 55.65 -> 55.80 | Improved |
| use layer-RR instead of head-RR (ablation) | RRAttention · HELMET Llama | average score: 55.80 -> 55.54 | Hurt |
| add last-query-block protection to XAttention (ablation) | XAttention-0.95 · HELMET Llama | average score: 55.74 -> 55.92 | Improved |
| keep sink and recent blocks in addition to last query block (ablation) | RRAttention-0.95 · HELMET Llama | average score: 56.18 -> 56.24 (without them) | No clear effect |
| increase stride S from 8 to 32 (ablation) | RRAttention-0.95 · HELMET Llama | average score: 56.24 -> 55.62 | Hurt |
| use RRAttention at 128K context | RRAttention · Runtime on Llama-3.1-8B, 128K | speedup: 2.4x over Full Attention | Improved |
| use RRAttention instead of XAttention for pattern search | RRAttention · Pattern search time at 128K | time: 18.2% reduction | Improved |
| apply RRAttention (tau=0.95) on Video-MME 1fps | Qwen2-VL-7B-Instruct · Video-MME 1fps | average accuracy: 63.90 -> 64.30 | Improved |
| apply RRAttention instead of XAttention on 0.5fps with subtitles | Qwen2-VL-7B-Instruct · Video-MME 0.5fps wsubs | average accuracy: 67.90 vs 67.70 | No clear effect |
| apply RRAttention on Yi-9B-200K | Yi-9B-200K · HELMET | average score: 46.04 -> 46.54 | Improved |
Open problems in sparse attention for long-context LLMs
Which attention can a long-context model drop without losing the answer?
- The overhead does not vanish. · 14 papers state it
- Very long contexts hit memory limits or go untested. · 8 papers state it
- Sparsity speeds up prefill or decoding, not both. · 6 papers state it
Closest papers by meaning
- HyperAttention: Long-context Attention in Near-Linear Time (ICLR 2024 · similarity 0.90)
- Full Attention Strikes Back: Transferring Full Attention into Sparse within Hundred Training Steps (NeurIPS 2026 · similarity 0.89)
- FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference (ICLR 2025 · similarity 0.89)
- Punctuation-aware Hybrid Trainable Sparse Attention for Large Language Models (NeurIPS 2026 · similarity 0.88)
- SAS: Simple Attention Sparsification via End-to-End Optimization of Context Ranking (NeurIPS 2026 · similarity 0.88)
- Block Sparse Flash Attention (NeurIPS 2026 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.