Sequential-NIAH: A Needle-In-A-Haystack Benchmark for Extracting Sequential Needles from Long Contexts
Not on the map. Why?
Abstract (arXiv)
Evaluating the ability of large language models (LLMs) to process lengthy contexts is critical, especially for retrieving query-relevant information embedded within them. We introduce Sequential-NIAH, a benchmark specifically designed to evaluate the capability of LLMs to extract sequential information items (known as needles) from long contexts. The benchmark includes three needle generation pipelines: synthetic-temporal, real-temporal, and real-logical orders, with context lengths ranging from 8K to 128K, which comprises 14,000 samples (2,000 for testing). To facilitate the evaluation of this benchmark, we trained an evaluation model that assesses the correctness of LLM responses by comparing their completeness and sequential consistency against the ground truth, which provides a more reliable evaluation metric than GPT-4 or Claude. We conducted experiments on six well-known LLMs, revealing that even the best-performing model achieved a maximum accuracy of only 63.50% on test set of this benchmark. Further analysis highlights the growing challenges posed by increasing the context length or the number of needles, underscoring substantial room for improvement of LLMs. Additionally, noise analysis validates the reliability and challenge of the benchmark, making Sequential-NIAH an important reference for advancing research on long text information extraction capabilities of LLMs.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 25 of its 48 references that are in the map. First posted on arXiv 7 Apr 2025.
Builds on
25 of 48 references.
References · 25
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2024ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Toolscited by 1,096
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 360
- 2023JudgeLM: Fine-tuned Large Language Models are Scalable Judgescited by 351
13 more
- 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Modelscited by 232
- 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 200
- 2023ZeroSCROLLS: A Zero-Shot Benchmark for Long Text Understandingcited by 175
- 2018Learning Sequence Encoders for Temporal Knowledge Graph Completioncited by 145
- 2023Human-like Summarization Evaluation with ChatGPTcited by 126
- 2024Long Context Compression with Activation Beaconcited by 101
- 2023Scaling Transformer to 1M tokens and beyond with RMTcited by 97
- 2023LongEval: Guidelines for Human Evaluation of Faithfulness in Long-form Summarizationcited by 96
- 2023CritiqueLLM: Towards an Informative Critique Generation Model for Evaluation of Large Language Model Generationcited by 65
- 2020Memformer: A Memory-Augmented Transformer for Sequence Modelingcited by 63
- 2023Simple Hardware-Efficient Long Convolutions for Sequence Modelingcited by 62
- 2023INSTRUCTSCORE: Explainable Text Generation Evaluation with Finegrained Feedbackcited by 21
- 2023Zero-shot Faithfulness Evaluation for Text Summarization with Foundation Language Modelcited by 21
Built on by
Citing papers per year: 2025: 6; 2026: 3.
9 papers.
- 2025Context Length Alone Hurts LLM Performance Despite Perfect Retrievalcited by 118
- 2025PRELUDE: A Benchmark Designed to Require Global Comprehension and Reasoning over Long Contextscited by 7
- 2025LOOM-Scope: a comprehensive and efficient LOng-cOntext Model evaluation frameworkcited by 5
- 2026ContextEcho: A Benchmark for Persona Drift in Long Agentic-Coding Sessionscited by 5
- 2025CogniLoad: A Synthetic Natural Language Reasoning Benchmark With Tunable Length, Intrinsic Difficulty, and Distractor Densitycited by 3
- 2025Scalable and Reliable Evaluation of AI Knowledge Retrieval Systems: RIKER and the Coherent Simulated Universecited by 3
- 2026AgentCE-Bench: Agent Configurable Evaluation with Scalable Horizons and Controllable Difficulty under Lightweight Environmentscited by 3
- 2025NeedleChain: Measuring Intact Context Comprehension Capability of Large Language Modelscited by 0
- 2026Not All Needles Are Found: How Fact Distribution and Don't Make It Up Prompts Shape Retrieval, Reasoning, and Hallucination in Long-Context LLMscited by 0
- 2026ContextEcho: A Benchmark for Persona Drift in Long Agentic-Coding Sessions22 May 2026
- 2026AgentCE-Bench: Agent Configurable Evaluation with Scalable Horizons and Controllable Difficulty under Lightweight Environments7 Apr 2026
- 2026Not All Needles Are Found: How Fact Distribution and Don't Make It Up Prompts Shape Retrieval, Reasoning, and Hallucination in Long-Context LLMs5 Jan 2026
- 2025Scalable and Reliable Evaluation of AI Knowledge Retrieval Systems: RIKER and the Coherent Simulated Universe22 Dec 2025
- 2025Context Length Alone Hurts LLM Performance Despite Perfect Retrieval6 Oct 2025
- 2025CogniLoad: A Synthetic Natural Language Reasoning Benchmark With Tunable Length, Intrinsic Difficulty, and Distractor Density22 Sep 2025
- 2025PRELUDE: A Benchmark Designed to Require Global Comprehension and Reasoning over Long Contexts13 Aug 2025
- 2025NeedleChain: Measuring Intact Context Comprehension Capability of Large Language Models30 Jul 2025
- 2025LOOM-Scope: a comprehensive and efficient LOng-cOntext Model evaluation framework7 Jul 2025