RULER · Long Context Retrieval

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

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

Proposed/measured results matching task=Long Context Retrieval.

33.054.275.496.6202520262027Qwen2.5-14B-Instruct-1M: 92.2 (2025)AdaRoPE (LLaMA 8B): 51.87 (2026)STILL: 37.4 (2026)STILL: 86.2 (2026)RestoreKV (n=8, default): 73.2 (2026)
Click any point on the timeline to inspect method, protocol, and paper.

Showing 39 of 39 matching observations.

YearMethodMetricScoreProtocol / FacetsPaper & Evidence
2026AdaRoPE (LLaMA 8B) proposedRULER score (retrieval accuracy)51.87Long Context Retrieval · fine-tuned · params=8B · backbone=LLaMA 8B · context-length=64k · fine-tuning-data=first 100 PG19 training samples · native-context-length=8kAdaRoPE: Not All Attention Heads Should Rotate and Scale Equally
Source quote
L400: AdaRoPE\xspace │ 63.05 │ 82.07 │ 77.86 │ 70.55 │ 51.87
2026RestoreKV (n=8, default) proposedaccuracy73.2Long Context Retrieval · params=4B · backbone=Qwen3-4B · context-length=4K · restore-tokens=8 · kv-budget-ratio=0.05RestoreKV: Recovering Full-Cache Behavior Under Aggressive Query-Agnostic KV Cache Eviction
Source quote
L730: n=8 (default) │ 93.5 │ 88.8 │ 73.2
2026Trinity Nano (training sequence length 128K) proposedMK-NIAH score0.38Long Context Retrieval · training_sequence_length=128K · evaluation_context_length=128KArcee Trinity Large Technical Report
Source quote
L491: Due to our time and compute constraints, we used a rapid iterative approach for testing context extension effectiveness, using the Multi-Key Needle-in-a-haystack (MK-NIAH) task from RULER \citep{hsieh2024rulerwhatsrealcontext} at the target context length as a proxy metric. This allowed us to rapidly evaluate checkpoints and make decisions about what to adjust for the next iteration. Consistent with \cite{gao2025trainlongcontextlanguagemodels} and \cite{nvidia2025nvidianemotronnano2}, we saw that training at a sequence length longer than the target context window enables better performance at the target context window. When extending the context window of Trinity Nano, training at a sequence length of 128K (the target context window) yielded an MK-NIAH (@128K) score of 0.38, whereas training at a sequence length of 256K yielded an MK-NIAH (@128K) score of 0.548. Iterating on and improving our selection of dataset and hyperparameters yielded a final MK-NIAH (@128K) score of 0.864 for Trinity Nano. Due to resource constraints, we trained Trinity Mini at 128K for a target of 128K, but found that it performed significantly stronger compared to training Trinity Nano at 128K alone. Our final iteration on Trinity Mini, trained at a sequence length of 128K, achieved a final MK-NIAH (@128K) score of 0.888.
2026Trinity Nano (training sequence length 256K) proposedMK-NIAH score0.548Long Context Retrieval · training_sequence_length=256K · evaluation_context_length=128KArcee Trinity Large Technical Report
Source quote
L491: Due to our time and compute constraints, we used a rapid iterative approach for testing context extension effectiveness, using the Multi-Key Needle-in-a-haystack (MK-NIAH) task from RULER \citep{hsieh2024rulerwhatsrealcontext} at the target context length as a proxy metric. This allowed us to rapidly evaluate checkpoints and make decisions about what to adjust for the next iteration. Consistent with \cite{gao2025trainlongcontextlanguagemodels} and \cite{nvidia2025nvidianemotronnano2}, we saw that training at a sequence length longer than the target context window enables better performance at the target context window. When extending the context window of Trinity Nano, training at a sequence length of 128K (the target context window) yielded an MK-NIAH (@128K) score of 0.38, whereas training at a sequence length of 256K yielded an MK-NIAH (@128K) score of 0.548. Iterating on and improving our selection of dataset and hyperparameters yielded a final MK-NIAH (@128K) score of 0.864 for Trinity Nano. Due to resource constraints, we trained Trinity Mini at 128K for a target of 128K, but found that it performed significantly stronger compared to training Trinity Nano at 128K alone. Our final iteration on Trinity Mini, trained at a sequence length of 128K, achieved a final MK-NIAH (@128K) score of 0.888.
2026Trinity Nano (final iteration) proposedMK-NIAH score0.864Long Context Retrieval · evaluation_context_length=128KArcee Trinity Large Technical Report
Source quote
L491: Due to our time and compute constraints, we used a rapid iterative approach for testing context extension effectiveness, using the Multi-Key Needle-in-a-haystack (MK-NIAH) task from RULER \citep{hsieh2024rulerwhatsrealcontext} at the target context length as a proxy metric. This allowed us to rapidly evaluate checkpoints and make decisions about what to adjust for the next iteration. Consistent with \cite{gao2025trainlongcontextlanguagemodels} and \cite{nvidia2025nvidianemotronnano2}, we saw that training at a sequence length longer than the target context window enables better performance at the target context window. When extending the context window of Trinity Nano, training at a sequence length of 128K (the target context window) yielded an MK-NIAH (@128K) score of 0.38, whereas training at a sequence length of 256K yielded an MK-NIAH (@128K) score of 0.548. Iterating on and improving our selection of dataset and hyperparameters yielded a final MK-NIAH (@128K) score of 0.864 for Trinity Nano. Due to resource constraints, we trained Trinity Mini at 128K for a target of 128K, but found that it performed significantly stronger compared to training Trinity Nano at 128K alone. Our final iteration on Trinity Mini, trained at a sequence length of 128K, achieved a final MK-NIAH (@128K) score of 0.888.
2026Trinity Mini (final iteration) proposedMK-NIAH score0.888Long Context Retrieval · training_sequence_length=128K · evaluation_context_length=128KArcee Trinity Large Technical Report
Source quote
L491: Due to our time and compute constraints, we used a rapid iterative approach for testing context extension effectiveness, using the Multi-Key Needle-in-a-haystack (MK-NIAH) task from RULER \citep{hsieh2024rulerwhatsrealcontext} at the target context length as a proxy metric. This allowed us to rapidly evaluate checkpoints and make decisions about what to adjust for the next iteration. Consistent with \cite{gao2025trainlongcontextlanguagemodels} and \cite{nvidia2025nvidianemotronnano2}, we saw that training at a sequence length longer than the target context window enables better performance at the target context window. When extending the context window of Trinity Nano, training at a sequence length of 128K (the target context window) yielded an MK-NIAH (@128K) score of 0.38, whereas training at a sequence length of 256K yielded an MK-NIAH (@128K) score of 0.548. Iterating on and improving our selection of dataset and hyperparameters yielded a final MK-NIAH (@128K) score of 0.864 for Trinity Nano. Due to resource constraints, we trained Trinity Mini at 128K for a target of 128K, but found that it performed significantly stronger compared to training Trinity Nano at 128K alone. Our final iteration on Trinity Mini, trained at a sequence length of 128K, achieved a final MK-NIAH (@128K) score of 0.888.
2026Trinity Large proposedMK-NIAH score0.994Long Context Retrieval · training_sequence_length=256K · evaluation_context_length=256KArcee Trinity Large Technical Report
Source quote
L493: This effect of model size affecting ease of context extension continued for Trinity Large. We trained Trinity Large at a sequence length of 256K, targeting a final context window size of 256K, and the model achieved an MK-NIAH (@256K) score of 0.994. Furthermore, upon evaluating it at 512K, we even found that it achieved an MK-NIAH (@512K) score of 0.976, despite not being trained at that sequence length. Additionally, even evaluating it at 1M, it achieved an MK-NIAH (@1M) score of 0.42, suggesting that it would be possible to push later versions of the model to have strong performance at a context window of 1M. Additionally, we did not find any improvements from progressively increasing the context window size as opposed to training directly at the longest sequence length, beginning from the final pre-trained checkpoint.
2026Trinity Large proposedMK-NIAH score0.976Long Context Retrieval · training_sequence_length=256K · evaluation_context_length=512KArcee Trinity Large Technical Report
Source quote
L493: This effect of model size affecting ease of context extension continued for Trinity Large. We trained Trinity Large at a sequence length of 256K, targeting a final context window size of 256K, and the model achieved an MK-NIAH (@256K) score of 0.994. Furthermore, upon evaluating it at 512K, we even found that it achieved an MK-NIAH (@512K) score of 0.976, despite not being trained at that sequence length. Additionally, even evaluating it at 1M, it achieved an MK-NIAH (@1M) score of 0.42, suggesting that it would be possible to push later versions of the model to have strong performance at a context window of 1M. Additionally, we did not find any improvements from progressively increasing the context window size as opposed to training directly at the longest sequence length, beginning from the final pre-trained checkpoint.
2026STILL proposedAccuracy86.2%Long Context Retrieval · params=8B · backbone=Llama 3.1 8B · cache-budget=512 tokens · context-length=4KSTILL: Selecting Tokens for Intra-Layer Hybrid Attention to Linearize LLMs
Source quote
L351: 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
2026STILL proposedAccuracy37.4%Long Context Retrieval · params=8B · backbone=Llama 3.1 8B · cache-budget=512 tokens · context-length=4KSTILL: Selecting Tokens for Intra-Layer Hybrid Attention to Linearize LLMs
Source quote
L351: 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
2026MoNe proposedSub-EM0.96Long Context Retrieval · params=0.5B · subtask=S-NIAH · backbone=Qwen2.5-0.5B-Instruct · context-length=128K tokens · backbone-status=frozenMoNe: Modular Neural Memory for Efficient Long Context Inference
Source quote
L341: 1.00 │ 0.99 │ 0.99 │ 0.96
2026MoNe proposedSub-EM0.94Long Context Retrieval · params=0.5B · subtask=MK-NIAH · backbone=Qwen2.5-0.5B-Instruct · context-length=128K tokens · backbone-status=frozenMoNe: Modular Neural Memory for Efficient Long Context Inference
Source quote
L350: 0.99 │ 0.98 │ 0.97 │ 0.94
2026DGAP-1bit proposedAcc.(%)83.2%Long Context Retrieval · compressed · params=8B · kv-bits=1 · backbone=Llama3.1-8BHigh-accuracy Low-Bit KV-Cache Quantization via Local Distribution Restoration
Source quote
L430: 9.0 │ 77.3 │ 83.2
2026Backbone+YaRN (LLaMA 8B) baselineRULER score12.80Long Context Retrieval · fine-tuned · params=8B · backbone=LLaMA 8B · context-length=64k · scaling-method=YaRNAdaRoPE: Not All Attention Heads Should Rotate and Scale Equally
Source quote
L402: Backbone+YaRN\xspace{} │ 62.53 │ 75.76 │ 71.10 │ 66.84 │ 12.80
2026KVzip (n=0) baselineaccuracy38.2Long Context Retrieval · params=4B · backbone=Qwen3-4B · context-length=4K · restore-tokens=0 · kv-budget-ratio=0.05RestoreKV: Recovering Full-Cache Behavior Under Aggressive Query-Agnostic KV Cache Eviction
Source quote
L726: n=0 (KVzip) │ 91.4 │ 80.1 │ 38.2
2026K1V1-1bit baselineAcc.(%)47.8%Long Context Retrieval · compressed · params=8B · kv-bits=1 · backbone=Llama3.1-8BHigh-accuracy Low-Bit KV-Cache Quantization via Local Distribution Restoration
Source quote
L428: 37.6 │ 42.4 │ 47.8
2025Miras \mmodel proposed non-standard sliceAccuracy (Average)93.5Long Context Retrieval · subset=S-NIAH · sequence-lengths=1K, 2K, 4K, 8KIt's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization
Source quote
L584: \mmodel │ 99.4 │ 98.8 │ 98.8 │ 99.4 │ 99.4 │ 92.8 │ 92.2 │ 88.2 │ 70.8 │ 93.5
2025Miras \ymodel proposed non-standard sliceAccuracy (Average)92.9Long Context Retrieval · subset=S-NIAH · sequence-lengths=1K, 2K, 4K, 8KIt's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization
Source quote
L585: \ymodel │ 99.2 │ 98.6 │ 94.4 │ 99.8 │ 98.6 │ 93.2 │ 91.8 │ 89.6 │ 67.4 │ 92.9
2025Miras \xmodel proposed non-standard sliceAccuracy (Average)92.1Long Context Retrieval · subset=S-NIAH · sequence-lengths=1K, 2K, 4K, 8KIt's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization
Source quote
L586: \xmodel │ 99.2 │ 98.8 │ 92.6 │ 98.4 │ 99.2 │ 93.2 │ 92.4 │ 88.2 │ 70.4 │ 92.1
2025Qwen2.5-14B-Instruct-1M proposedAccuracy at 128K92.2Long Context Retrieval · params=1M · model=Qwen2.5-14B-Instruct-1M · sequence-length=128K · claimed-context-length=1MQwen2.5-1M Technical Report
Source quote
L371: 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
2025HATA proposedAVG. (accuracy)88.05Long Context Retrieval · compressed · params=14B · model=Qwen2.5-14B-Instruct-1M · context-length=256K · sparse-token-budget=4096HATA: Trainable and Hardware-Efficient Hash-Aware Top-k Attention for Scalable Large Model Inference
Source quote
L502: HATA\xspace │ 100.00 │ 100.00 │ 100.00 │ 100.00 │ 95.00 │ 85.00 │ 97.50 │ 96.00 │ 85.00 │ 60.00 │ 45.00 │ 88.05
2025Titans (MAC) proposedreported S-NIAH performance score98.4Long Context Retrieval · variant=PK · sequence_length=16KTitans: Learning to Memorize at Test Time
Source quote
L334: Titans (MAC) │ 99.2 │ 98.8 │ 99.0 │ 98.4 │ 99.6 │ 98.2 │ 97.6 │ 97.4 │ 98.2 │ 98.2 │ 95.6 │ 95.2
2025Titans (MAC) proposedreported S-NIAH performance score97.4Long Context Retrieval · variant=N · sequence_length=16KTitans: Learning to Memorize at Test Time
Source quote
L334: Titans (MAC) │ 99.2 │ 98.8 │ 99.0 │ 98.4 │ 99.6 │ 98.2 │ 97.6 │ 97.4 │ 98.2 │ 98.2 │ 95.6 │ 95.2
2025Titans (MAC) proposedreported S-NIAH performance score95.2Long Context Retrieval · variant=W · sequence_length=16KTitans: Learning to Memorize at Test Time
Source quote
L334: Titans (MAC) │ 99.2 │ 98.8 │ 99.0 │ 98.4 │ 99.6 │ 98.2 │ 97.6 │ 97.4 │ 98.2 │ 98.2 │ 95.6 │ 95.2
2025laLTE proposedAvg.83.1%Long Context Retrieval · params=1.4B parameters · parameters=1.4B · aggregation=average across S1, S2, and S3 at 1K, 2K, and 4K context lengths · training-tokens=30BAlleviating Forgetfulness of Linear Attention by Hybrid Sparse Attention and Contextualized Learnable Token Eviction
Source quote
L216: laLTE │ 100.0 │ 99.2 │ 95.0 │ 100.0 │ 98.0 │ 81.4 │ 85.4 │ 55.6 │ 33.2 │ 83.1
2025Gated DeltaNet baseline non-standard sliceAccuracy (Average)75.8Long Context Retrieval · subset=S-NIAH · sequence-lengths=1K, 2K, 4K, 8KIt's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization
Source quote
L582: Gated DeltaNet │ 89.8 │ 91.4 │ 90.0 │ 99.2 │ 91.8 │ 26.4 │ 86.4 │ 82.6 │ 24.4 │ 75.8
2025GPT-4o-mini baselineAccuracy at 128K65.8Long Context Retrieval · model=GPT-4o-mini · sequence-length=128K · claimed-context-length=128KQwen2.5-1M Technical Report
Source quote
L360: \multicolumn{2}{@{}l}{GPT-4o-mini} │ 128K │ 87.3 │ 95.0 │ 92.9 │ 92.7 │ 90.2 │ 87.6 │ 65.8
2025Dense baselineAVG. (accuracy)87.95Long Context Retrieval · compressed · params=14B · model=Qwen2.5-14B-Instruct-1M · context-length=256K · sparse-token-budget=4096HATA: Trainable and Hardware-Efficient Hash-Aware Top-k Attention for Scalable Large Model Inference
Source quote
L500: Dense │ 100.00 │ 100.00 │ 100.00 │ 100.00 │ 90.00 │ 85.00 │ 97.50 │ 100.00 │ 95.00 │ 60.00 │ 40.00 │ 87.95
2025RAG baselineRULER benchmark performance48.4Long Context Retrieval · backbone=Llama-3.1-UltraLong-8B-1M-Instruct · params=8B · token-budget=4K · context-length=1MILRe: Intermediate Layer Retrieval for Context Compression in Causal Language Models
Source quote
L17: RAG │ 69.7 │ 67.3 │ 57.9 │ 48.1 │ 48.4
2025FullContext baselineRULER benchmark performance70.2Long Context Retrieval · backbone=Llama-3.1-UltraLong-8B-1M-Instruct · params=8B · setting=full-context · context-length=128KILRe: Intermediate Layer Retrieval for Context Compression in Causal Language Models
Source quote
L14: FullContext │ 83.2 │ 76.7 │ 70.2 │ OOM │ OOM
2025FullContext baselineRULER benchmark performance83.2Long Context Retrieval · backbone=Llama-3.1-UltraLong-8B-1M-Instruct · params=8B · setting=full-context · context-length=32KILRe: Intermediate Layer Retrieval for Context Compression in Causal Language Models
Source quote
L14: FullContext │ 83.2 │ 76.7 │ 70.2 │ OOM │ OOM
2025TTT baselinereported S-NIAH performance score88.4Long Context Retrieval · variant=PK · sequence_length=16KTitans: Learning to Memorize at Test Time
Source quote
L330: TTT │ 98.4 │ 98.8 │ 98.0 │ 88.4 │ 60.2 │ 36.6 │ 10.2 │ 4.4 │ 78.8 │ 28.0 │ 4.4 │ 0.0
2025TTT baselinereported S-NIAH performance score4.4Long Context Retrieval · variant=N · sequence_length=16KTitans: Learning to Memorize at Test Time
Source quote
L330: TTT │ 98.4 │ 98.8 │ 98.0 │ 88.4 │ 60.2 │ 36.6 │ 10.2 │ 4.4 │ 78.8 │ 28.0 │ 4.4 │ 0.0
2025TTT baselinereported S-NIAH performance score0.0Long Context Retrieval · variant=W · sequence_length=16KTitans: Learning to Memorize at Test Time
Source quote
L330: TTT │ 98.4 │ 98.8 │ 98.0 │ 88.4 │ 60.2 │ 36.6 │ 10.2 │ 4.4 │ 78.8 │ 28.0 │ 4.4 │ 0.0
2025GDN+SWA baselineAvg.62.4%Long Context Retrieval · params=1.4B parameters · parameters=1.4B · aggregation=average across S1, S2, and S3 at 1K, 2K, and 4K context lengths · training-tokens=30BAlleviating Forgetfulness of Linear Attention by Hybrid Sparse Attention and Contextualized Learnable Token Eviction
Source quote
L215: GDN+SWA │ 100.0 │ 52.0 │ 29.6 │ 93.4 │ 83.2 │ 34.2 │ 92.8 │ 57.0 │ 19.4 │ 62.4
2024Mamba2Attn (table label: M2A) proposedAccuracy (exact match of predicted tokens)39.14Long Context Retrieval · params=2.7B · context-length=1KHow Well Can a Long Sequence Model Model Long Sequences? Comparing Architectural Inductive Biases on Long-Context Abilities
Source quote
L86: \texttt{M2A} │ 39.14 │ 30.43 │ 12.89 │ 7.8 │ 3.49 │ 18.75
2024Mamba2Attn (table label: M2A) proposedAccuracy (exact match of predicted tokens)3.49Long Context Retrieval · params=2.7B · context-length=16KHow Well Can a Long Sequence Model Model Long Sequences? Comparing Architectural Inductive Biases on Long-Context Abilities
Source quote
L86: \texttt{M2A} │ 39.14 │ 30.43 │ 12.89 │ 7.8 │ 3.49 │ 18.75
2024Mamba2 baselineAccuracy (exact match of predicted tokens)38.52Long Context Retrieval · params=2.7B · context-length=1KHow Well Can a Long Sequence Model Model Long Sequences? Comparing Architectural Inductive Biases on Long-Context Abilities
Source quote
L85: \texttt{Mamba2} │ 38.52 │ 32.91 │ 12.98 │ 6.51 │ 0.1 │ 18.2
2024Mamba2 baselineAccuracy (exact match of predicted tokens)0.1Long Context Retrieval · params=2.7B · context-length=16KHow Well Can a Long Sequence Model Model Long Sequences? Comparing Architectural Inductive Biases on Long-Context Abilities
Source quote
L85: \texttt{Mamba2} │ 38.52 │ 32.91 │ 12.98 │ 6.51 │ 0.1 │ 18.2