mlsanityData to 24 Nov 2026

GraphNIAH: A Benchmark for Long-Context Reasoning over Real-World Graphs

arXiv 2610.41704 ↗Submitted 30 Oct 2026cs.CLcited by 0

On the map: LLM reasoning → Knowledge- and tool-augmented reasoning

Abstract (arXiv)

The needle-in-a-haystack (NIAH) benchmark was introduced as a test for measuring a model's ability to find small relevant facts within a very large body of input text. However, existing NIAH benchmarks each suffer from one or more of the following limitations: (1) reliance on synthetic data, so their evaluations may not generalize to real-world settings; (2) reuse of previously published datasets, leading to the risk of benchmark contamination; (3) dependence on manual annotation, which requires human effort to create and update data and is prone to future benchmark contamination; and (4) unrealistic simplification of long-context multi-hop reasoning where each next step is trivial given previous steps, while real-world reasoning often requires planning over multiple possible proof paths. To address these limitations, we introduce Benchmark, a dynamic benchmark built from real citation relationships among scientific papers published after the evaluated models' knowledge cutoff date, which utilizes real-world information while ensuring no benchmark contamination. The fully automated benchmark construction pipeline samples representative subgraphs of the citation graph formed by these papers and converts each subgraph into a long-context QA example with a verifiable answer. We use GraphNIAH to evaluate eight LLMs from the GPT-5.6, Gemini-3, and Qwen3.5 families. We find that accuracy falls as questions require longer reasoning paths: at question depths of 16 and 32, the GPT-5.6 and Qwen3.5 models answer YES/NO questions no better than random guessing, mostly by answering NO; four of the eight models answer no counting example correctly, and the others model get worse as the subgraph size increases. These findings suggest that current LLMs often stop searching the citation relationships in their context before they reach the answer, even though every fact they need is in the context.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 46 of its 77 references that are in the map. Submitted 30 Oct 2026.

Builds on

46 of 77 references.

References · 46

  1. 2020Language Models are Few-Shot Learnerscited by 33,113
  2. 2024The Llama 3 Herd of Modelscited by 16,113
  3. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,243
  4. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,566
  5. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
  6. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,557
  7. 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
  8. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 798
  9. 2026Gemma 4 Technical Reportcited by 464
  10. 2023NLP Evaluation in trouble: On the Need to Measure LLM Data Contamination for each Benchmarkcited by 394
  11. 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 346
  12. 2024Long-context LLMs Struggle with Long In-context Learningcited by 318
34 more
  1. 2024LiveBench: A Challenging, Contamination-Limited LLM Benchmarkcited by 312
  2. 2025DeepResearch Bench: A Comprehensive Benchmark for Deep Research Agentscited by 283
  3. 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Modelscited by 251
  4. 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 247
  5. 2025Plan-and-Act: Improving Planning of Agents for Long-Horizon Taskscited by 219
  6. 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 214
  7. 2023ZeroSCROLLS: A Zero-Shot Benchmark for Long Text Understandingcited by 187
  8. 2024How to Train Long-Context Language Models (Effectively)cited by 168
  9. 2025NoLiMa: Long-Context Evaluation Beyond Literal Matchingcited by 142
  10. 2023The Semantic Scholar Open Data Platformcited by 132
  11. 2023Scaling Laws of RoPE-based Extrapolationcited by 132
  12. 2023DyVal: Dynamic Evaluation of Large Language Models for Reasoning Taskscited by 110
  13. 2024Michelangelo: Long Context Evaluations Beyond Haystacks via Latent Structure Queriescited by 109
  14. 2024Summary of a Haystack: A Challenge to Long-Context LLMs and RAG Systemscited by 92
  15. 2024LV-Eval: A Balanced Long-Context Benchmark with 5 Length Levels Up to 256Kcited by 89
  16. 2024Benchmark Self-Evolving: A Multi-Agent Framework for Dynamic LLM Evaluationcited by 77
  17. 2022An Empirical Survey on Long Document Summarization: Datasets, Models and Metricscited by 75
  18. 2023LatestEval: Addressing Data Contamination in Language Model Evaluation through Dynamic and Time-Sensitive Test Constructioncited by 60
  19. 2024AntiLeakBench: Preventing Data Contamination by Automatically Constructing Benchmarks with Updated Real-World Knowledgecited by 49
  20. 2024NeedleBench: Evaluating LLM Retrieval and Reasoning Across Varying Information Densitiescited by 40
  21. 2024DARG: Dynamic Evaluation of Large Language Models via Adaptive Reasoning Graphcited by 31
  22. 2024VarBench: Robust Language Model Benchmarking Through Dynamic Variable Perturbationcited by 30
  23. 2024LongRecipe: Recipe for Efficient Long Context Generalization in Large Language Modelscited by 27
  24. 2025Dynamic Benchmarking of Reasoning Capabilities in Code Large Language Models Under Data Contaminationcited by 26
  25. 2025U-NIAH: Unified RAG and LLM Evaluation for Long Context Needle-In-A-Haystackcited by 23
  26. 2024Inference-Time Decontamination: Reusing Leaked Benchmarks for Large Language Model Evaluationcited by 21
  27. 2025Exploring Graph Learning Tasks with Pure LLMs: A Comprehensive Benchmark and Investigationcited by 15
  28. 2025Eliciting In-context Retrieval and Reasoning for Long-context Large Language Modelscited by 12
  29. 2025Sequential-NIAH: A Needle-In-A-Haystack Benchmark for Extracting Sequential Needles from Long Contextscited by 12
  30. 2025Is Your Benchmark Still Useful? Dynamic Benchmarking for Code Language Modelscited by 8
  31. 2025Unstructured Evidence Attribution for Long Context Query Focused Summarizationcited by 6
  32. 2024UniGen: Universal Domain Generalization for Sentiment Classification via Zero-shot Dataset Generationcited by 5
  33. 2025AcademicEval: Live Long-Context LLM Benchmarkcited by 5
  34. 2025Tagging-Augmented Generation: Assisting Language Models in Finding Intricate Knowledge In Long Contextscited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Unified Multi-Dimensional Benchmark for Complex Graph Reasoning in Large Language Models
  2. 2024Graph Chain-of-Thought: Augmenting Large Language Models by Reasoning on Graphs
  3. 2025KG-LLM-Bench: A Scalable Benchmark for Evaluating LLM Reasoning on Textualized Knowledge Graphs
  4. 2024GraCoRe: Benchmarking Graph Comprehension and Complex Reasoning in Large Language Models
  5. 2026GraphInfer-Bench: Benchmarking LLM's Inference Capability on Graphs
  6. 2025GraphRAG-Bench: Challenging Domain-Specific Reasoning for Evaluating Graph Retrieval-Augmented Generation
  7. 2026WildGraphBench: Benchmarking GraphRAG with Wild-Source Corpora
  8. 2026BRIDGE: Benchmark for multi-hop Reasoning In long multimodal Documents with Grounded Evidence