RULER

133 papers · 336 extracted observations · long context understanding · Markdown · CSV · JSON API

Primary tasks / metrics
Comparable Cohort Timeline (proposed/measured methods; excludes quoted baselines & ablations)

Proposed/measured results matching task=Long Context Understanding.

9.839.969.9100.0202520262027LaCache: 50.88 (2025)EXAONE 4.0 32B: 88.18 (2025)CLO + HATA: 73.44 (2025)CLO + HATA: 88.94 (2025)UniSparse-0.95: 84.26 (2026)RetroInfer: 88.12 (2026)Double-P: 89.91 (2026)Fluxion: 72.53 (2026)SparDA (NOSA-8B): 45.0 (2026)SparDA (MiniCPM4.1-8B): 68.8 (2026)PIVOT-Refine (mean pooling; both prefill and decode): 93.81 (2026)ParaTTT (340M, trained at N=2): 16.0 (2026)D-LSA (Flat): 63.9 (2026)HHR (Hierarchical Hash Retrieval): 76.23 (2026)HHR (Hierarchical Hash Retrieval): 82.71 (2026)
Click any point on the timeline to inspect method, protocol, and paper.
#MethodScore ↑YearProtocol / SettingsPaper & Evidence
1PIVOT-Refine (mean pooling; both prefill and decode) SOTA frontier93.81%2026-07-01c=4096 · g=4 · model=DeepSeek-V3.2 · pooling=mean · context-lengths=8K–128K · DeepSeek-V3.2; g=4, c=4096; averaged over the listed context lengths 8K–128K.PIVOT: Efficient Query-Group Indexing for Token-Level Sparse Attention
Source quote
Both │ 95.86 │ 96.06 │ 96.02 │ 90.46 │ 90.63 │ 93.81
2Double-P SOTA frontier (+1 variant)89.91%2026-02-01backbone=LLaMA-3.1-8B · params=8B · LLaMA-3.1-8B; 32K context; average across RULER tasks; reported Double-P setting (p1=…Double-P: Hierarchical Top-P Sparse Attention for Long-Context LLMs
Source quote
Double-P (Ours) │ 92.87 │ 89.91 │ 84.55 │ 89.08 │ 39.06
3CLO + HATA SOTA frontier (+1 variant)88.94%2025-11-01params=14B · backbone=Qwen2.5-14B · context-length=128K · Average inference accuracy; Qwen2.5-14B; 128K context.CLO: Efficient LLM Inference System with CPU-Light KVCache Offloading via Algorithm-System Co-Design
Source quote
CLO\xspace + HATA │ 53.15 │ 94.36 │ 94.22 │ 92.35 │ 88.94
4EXAONE 4.0 32B SOTA frontier88.18%2025-07-01params=32B · model-size=32B · context-length=128K · 128K context length.EXAONE 4.0: Unified Large Language Models Integrating Non-reasoning and Reasoning Modes
Source quote
EXAONE 4.0 32B │ 96.26 │ 94.85 │ 93.93 │ 93.64 │ 91.73 │ 88.18
5UniSparse-0.9584.26%2026-01-01params=7B · backbone=Qwen2.5-7B-Instruct · sparsity=0.95 · context-length=4K–128K tokens · Qwen2.5-7B-Instruct; synthetic long-context tasks, across context lengths from 4K to …A Unified Sparse Attention via Multi-Granularity Compression
Source quote
Synthetic Long-Context Tasks. On RULER's synthetic tasks, UniSparse achieves the best overall performance among sparse methods across both sparsity settings. On Llama, UniSparse-0.95 achieves 92.56 overall accuracy, matching FlexPrefill-0.99 at 92.59 while maintaining higher sparsity (46.33% vs. 36.51%). On Qwen, UniSparse-0.95 significantly outperforms all baselines, achieving 84.26 overall accuracy compared to MInference's 83.58 and XAttention-0.95's 83.63. Notably, UniSparse demonstrates consistent performance across all context lengths, from 4K to 128K tokens, with particularly strong results at extreme lengths where long-range dependency modeling is critical.
6HHR (Hierarchical Hash Retrieval) (+1 variant)82.71%2026-10-01params=4B · Evaluated at a context length of 32K on Qwen3-4B; Top-K ratio 1.5%, with full attenti…HHR: Hierarchical Hash Retrieval for Efficient LLM Generation
Source quote
76.23 and 82.71 on Mistral-7B-Instruct and Qwen3-4B, improving the SOTA by 6.43 and 4.02, respectively.
7Fluxion72.53%2026-05-01params=7B · Qwen2.5-7B-Instruct; Avg across context lengths 8K, 16K, 32K, 64K, and 128K; RULER us…An Efficient Hybrid Sparse Attention with CPU-GPU Parallelism for Long-Context Inference
Source quote
Fluxion │ 90.46 │ 90.39 │ 87.28 │ 69.57 │ 24.94 │ 72.53
8SparDA (MiniCPM4.1-8B) (+1 variant)68.8%2026-06-01params=8B · backbone=MiniCPM4.1-8B · context-length=128K · 128K extended sequence length; 13 synthetic tasks, 50 examples per task, greedy decod…SparDA: Sparse Decoupled Attention for Efficient Long-Context LLM Inference
Source quote
SparDA │ 87.6 │ 78.7 │ 70.8 │ 68.8 │ 73.9 │ 60.5 │ 52.9 │ 45.0
9D-LSA (Flat)63.9%2026-10-01params=27B · QWEN-3.8-27B evaluated at 10M tokens; YaRN factor 40.Latent Sparse Attention: Towards Subquadratic Ultra-Long Context Attention
Source quote
kens and exceeds it at 10M tokens, at 63.9 against 59.9
10LaCache SOTA frontier50.88%2025-01-01params=7b · backbone=LongChat-7b-v1.5-32k · aggregation=average across 13 tasks · cache-budget=50% · LongChat-7b-v1.5-32k; 50% cache budget; average across 13 tasks.LaCache: Ladder-Shaped KV Caching for Efficient Long-Context Modeling of Large Language Models
Source quote
LaCache │ 57.00 │ 43.00 │ 26.00 │ 52.00 │ 64.00 │ 31.00 │ 62.75 │ 50.25 │ 60.80 │ 61.00 │ 45.67 │ 67.00 │ 41.00 │ 50.88
11ParaTTT (340M, trained at N=2)16%2026-10-01params=340M · 340M ParaTTT; RULER needle-in-a-haystack average at 32K length. The paper reports the…ParaTTT: Parallelizing Test-Time Training Layers with Deep Memories
Source quote
perplexity from 26.93 to 28.44 and reduces 32K NIAH accuracy from 16.0 to 5.8. The LaCT fast-
Other primary task on RULER: Long Context Evaluation · Average accuracy ↑ (%) (6 papers)
#MethodScore ↑YearProtocol / SettingsPaper & Evidence
1LaMPE on Llama3-8B-Instruct SOTA frontier90.57%2026-01-01params=8B · backbone=Llama3-8B-Instruct · context-length=8K–128K · Within the 8K pretraining context window; RULER evaluation spans 8K–128K.LaMPE: Length-aware Multi-grained Positional Encoding for Adaptive Long-context Scaling Without Training
Source quote
\paragraph{RULER.} Figure~\ref{fig:ruler} presents the performance of LaMPE{} under stress testing on the RULER benchmark. The evaluation spans from the pretraining context window of 8K up to 128K. Across this entire range, LaMPE{} consistently achieves the highest accuracy compared to all other baseline methods. Notably, we found similar patterns as observed on \inftyBench: when the extrapolation length reaches 64K, YaRN exhibits a dramatic performance drop. In contrast, modifying position indices methods (SelfExtend, DCA) are relatively stable, indicating that YaRN's extrapolation upper bound is lower than that of modifying position indices methods. Furthermore, besides achieving the best performance at extrapolation lengths, our method also achieves 90.57 within the pretraining context window, surpassing the original RoPE's 88.76. This demonstrates that utilizing the left-skewed frequency distribution of relative positions can achieve efficient extrapolation. Detailed per-task scores are available in Appendix E.
2CoSA88.65%2026-07-01params=8B · delta=2000 · top-p=0.95 · backbone=Qwen3-8B · context-length=4K-128K · Qwen3-8B; average across 4K, 8K, 16K, 32K, 64K, and 128K contexts; main CoSA setting …CoSA: Accelerating Long-Context Inference via Proxy-Kernel Co-Designed Sparse Attention
Source quote
CoSA\xspace │ 95.25 │ 36% │ 94.25 │ 35% │ 93.34 │ 30% │ 92.34 │ 23% │ 82.88 │ 21% │ 73.84 │ 20% │ 88.65 │ 22%
3Stem (+1 variant)88.47%2026-01-01backbone=Llama-3.1-8B-Instruct · params=8B · context-length=4K–128K · sparsity-budget=25% · Llama-3.1-8B-Instruct; average across context lengths 4K–128K; 25% budget.Stem: Rethinking Causal Information Flow in Sparse Attention
Source quote
Stem │ 95.17 │ 93.96 │ 93.73 │ 89.92 │ 82.67 │ 75.37 │ 88.47 │ 25%
4Tactic (+1 variant)85.4%2026-01-01config=90% · backbone=Mega-Beam-Mistral-512k · Mega-Beam-Mistral-512k; 90% config; average over all RULER tasks at context lengths 1…Tactic: Adaptive Sparse Attention with Clustering and Distribution Fitting for Long-Context LLMs
Source quote
Tactic\xspace │ 90% │ 90.3 │ 88.0 │ 81.0 │ 82.6 │ 85.4
5Star Attention SOTA frontier (+1 variant)84.44%2025-01-01backbone=Llama-3.1-8B-Instruct · params=8B · sequence-length=average of 16K, 32K, 64K, and 128K · Llama-3.1-8B-Instruct; average across the 16K, 32K, 64K, and 128K sequence-length col…Star Attention: Efficient LLM Inference over Long Sequences
Source quote
Star Attention │ 91.27 │ 88.70 │ 83.37 │ 74.41 │ 84.44
6Pulsar Attention79.1%2026-01-01backbone=Llama-3.1-8B-Instruct · params=8B · deployment=8 blocks across 4 hosts · context-length=128K · summary-budget=12.5% · attention-sink-prefix=64 tokens · 128K context; Llama-3.1-8B-Instruct; bfloat16; 8 blocks across 4 hosts; 12.5% summary…Dropping the Anchor: Statistical Context Summarization for Distributed Systems via Pulsar Attention
Source quote
79.1
Other primary task on RULER: Long Context Retrieval · Accuracy ↑ (%) (4 papers)
#MethodScore ↑YearProtocol / SettingsPaper & Evidence
1Qwen2.5-14B-Instruct-1M SOTA frontier92.2%2025-01-01params=1M · model=Qwen2.5-14B-Instruct-1M · sequence-length=128K · claimed-context-length=1M · Claimed length 1M; RoPE / DCA+YaRN; RULER evaluated at 128K sequence length.Qwen2.5-1M Technical Report
Source quote
Qwen2.5-14B-Instruct-1M │ RoPE / DCA+YaRN │ 1M │ \bf 95.7 │ 97.5 │ \bf 97.1 │ 94.6 │ \bf 94.9 │ \bf 94.9 │ \bf 92.2
2STILL (+1 variant)86.2%2026-02-01params=8B · backbone=Llama 3.1 8B · cache-budget=512 tokens · context-length=4K · 4K context; 512-token cache budget; Llama 3.1 8B teacher. STILL uses a local window h…STILL: Selecting Tokens for Intra-Layer Hybrid Attention to Linearize LLMs
Source quote
Under the 512-token budget, STILL preserves strong retrieval performance at a 4K context length, achieving 86.2% on S-NIAH-1 and 37.4% on S-NIAH-2, which substantially surpasses LoLCATs and
3RestoreKV (n=8, default)73.2%2026-08-01params=4B · backbone=Qwen3-4B · context-length=4K · restore-tokens=8 · kv-budget-ratio=0.05 · Qwen3-4B; KV budget ratio r=0.05; all variants share the same training recipe and tot…RestoreKV: Recovering Full-Cache Behavior Under Aggressive Query-Agnostic KV Cache Eviction
Source quote
n=8 (default) │ 93.5 │ 88.8 │ 73.2
4AdaRoPE (LLaMA 8B)51.87%2026-01-01params=8B · backbone=LLaMA 8B · context-length=64k · fine-tuning-data=first 100 PG19 training samples · native-context-length=8k · Context extrapolation from the backbone’s native 8k context to 64k; backbone frozen a…AdaRoPE: Not All Attention Heads Should Rotate and Scale Equally
Source quote
AdaRoPE\xspace │ 63.05 │ 82.07 │ 77.86 │ 70.55 │ 51.87
Other primary task on RULER: Retrieval · Acc ↑ (%) (2 papers)
#MethodScore ↑YearProtocol / SettingsPaper & Evidence
1PGDN (Preconditioned Gated DeltaNet) SOTA frontier (+2 variants)90.2%2026-01-01params=1B · variant=S-NIAH-2 · context-length=4K · training-tokens=50B · 1B parameters; trained on 50B tokens with 0.5M-token batch; 4K context; evaluated wit…Preconditioned DeltaNet: Curvature-aware Sequence Modeling for Linear Recurrences
Source quote
100 │ 100 │ 99.0 │ 90.2 │ 11.3
2HDLA (1.45B) (+1 variant)82%2026-01-01params=1.45B · subtask=S-NIAH-3 · parameters=1.45B · sequence-length=1024 · training-tokens=50B · RULER evaluation; 1.45B-parameter HDLA trained to 50B tokens; sequence length 1024.Householder-Diagonalized Linear Attention (HDLA): Utilizing Enhanced Decay Mechanism for Efficient Sequence Modeling
Source quote
82.0%
Other primary task on RULER: Long Context Understanding · RULER score ↑ (6 papers)
#MethodScore ↑YearProtocol / SettingsPaper & Evidence
1HiLS-Attn HoPE-Q-Cal SOTA frontier94.672026-07-01params=7B · model=OLMo3-7B · top-k=32 · training=full-parameter CPT · chunk-size=64 · continued-pretraining-length=8K · OLMo3-7B continued-pretraining model; 8K continued-pretraining length, chunk size 64,…Hierarchical Sparse Attention Done Right: Toward Infinite Context Modeling
Source quote
RULER-128K │ 0.00 │ 0.67 │ 0.00 │ 94.67 │ 1.00 │ 0.00
2NAtS SOTA frontier93.682025-01-01params=7B · lambda=3e-7 · backbone=Mistral-7B-Instruct-v0.3 · kv-budget=50% · context-length=4k · Mistral-7B-Instruct-v0.3; 4k context; top table reports 50% KV budget, with NAtS's di…Neural Attention Search
Source quote
4k │ 93.68 │ 92.63 │ 58.89 │ 5.60 │ 46.50 │ 57.92 │ 59.33 │ 74.06 │ 44.00 │ 55.73 │ \textbf {93.68} (49%)
3SwanGPT-8B (adapted SWAN) (+1 variant)77.82025-01-01params=8B · context_length=128K · maximum_training_length=32K · Evaluated at 128K context; maximum training length (MTL) 32K.SWAN-GPT: An Efficient and Scalable Approach for Long-Context Language Modeling
Source quote
SwanGPT-8B │ 32K │ 93.8 │ 90.8 │ 88.1 │ 84.4 │ 80.5 │ 77.8 │ 73.2
4IndexMem + IndexCache76.12026-01-01params=7B · backbone=Mistral-7B · context-length=4K · compression-ratio=90% · Mistral-7B; 4K context; 90% compression ratio; updated training recipe with IndexCach…IndexMem: Learned KV-Cache Eviction with Latent Memory for Long-Context LLM Inference
Source quote
IndexMem + IndexCache (ours) │ 92.4 │ 90.0 │ 76.1 │ 82.5 │ 79.3 │ 66.8
5SDPA-Gate58.822025-01-01params=80B · extension=YaRN Extended · context-length=128k · 128k context, YaRN Extended; models trained on 3.5T tokens, then continued on 32k seq…Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free
Source quote
SDPA-Gate │ 88.13(-2.4) │ 80.01(-7.1) │ 76.74(-7.87) │ 72.88(-6.89) │ 66.60 │ 58.82
6Nemotron-3-Nano-30B-A3B-Base (+1 variant)54.192025-01-01params=1M · architecture=MoE-hybrid · context-length=1M · training-sequence-length=512k · 1M input context; base model. Both models were trained up to 512k sequence length; th…NVIDIA Nemotron 3: Efficient and Open Intelligence
Source quote
Nemotron-3-Nano-30B-A3B-Base\xspace │ 74.48 │ 71.67 │ 66.02 │ 54.19