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

GraphNIAH: 실제 그래프에 대한 장문맥 추론 벤치마크

Minh-Nam Tran, Abulhair Saparov · arXiv · 2026년 10월 30일

- **연구 문제** 기존 NIAH 벤치마크는 합성 데이터, 공개 데이터 재사용, 수작업 주석, 선형 추론 위주라는 한계가 있어 실제 장문 맥락의 비선형 추론을 충분히 평가하지 못합니다.
- **연구 방법** GraphNIAH는 평가 모델의 지식 기준일 이후 논문들의 Semantic Scholar 인용 부분 그래프를 샘플링해 도달 가능성 질문을 자동 생성합니다.
- **주요 결과** 질문 깊이가 커질수록 여러 모델의 정확도가 떨어지며, GPT-5.6-LUNA와 QWEN3.5 모델은 깊이 16과 32의 YES/NO 질문에서 대부분 NO로 답해 무작위 추측 수준에 머뭅니다. 계산 과제는 가장 어려웠습니다.

## 기존 NIAH 벤치마크의 한계

Needle-in-a-haystack(NIAH) 테스트는 긴 입력 안에 숨겨진 작은 사실을 찾는 능력을 측정합니다. 그러나 기존 벤치마크는 합성 데이터에 의존하거나, 이미 공개된 데이터셋을 재사용해 학습 데이터 오염 위험이 있거나, 사람의 주석 작업에 기대고 있습니다. 또한 대부분은 다음 단계가 하나로 정해지는 선형 추론만 평가합니다. GraphNIAH는 이 공백을 겨냥해, 여러 가능한 증명 경로 중에서 탐색해야 하는 비선형 추론을 실제 인용 관계로 평가하는 동적 벤치마크로 제안됩니다.

## 인용 부분 그래프 기반 문제 구성

GraphNIAH는 Semantic Scholar 인용 그래프에서 평가 시점의 모델 지식 기준일 이후에 발표된 논문만 사용해 부분 그래프를 샘플링합니다. 각 부분 그래프는 여러 연결 성분을 가지며, 시작 논문과 대상 논문이 같은 성분에 있는지에 따라 YES/NO 도달 가능성, 후보 중 도달 가능한 논문 고르기, 도달 가능한 논문 수 세기의 세 과제가 만들어집니다. 도달 가능성은 샘플링된 부분 그래프 안의 인용 관계만으로 정의되므로, 전체 그래프에서 연결되어 있어도 부분 그래프에서 다른 성분이면 도달 불가능으로 취급됩니다.

## 백본 구조와 선호 연결 샘플링

각 연결 성분은 먼저 3k−2개의 서로 다른 논문으로 이루어진 무방향 경로에서 시작합니다. 이 경로를 k개 노드씩 세 부분으로 나누면 시작 논문 쪽 방해 경로, 참 경로, 대상 쪽 방해 경로가 됩니다. 이후 차수 기반 선호 연결 규칙을 사용해 성분에 논문을 한 개씩 추가합니다. 이 규칙은 이미 자식을 받은 노드의 가중치를 받은 자식 수로 두고, 자식이 없는 노드에는 집중 계수 α를 가중치로 줍니다. 원문은 실험에서 α=0.1을 선택했다고 보고하며, 이 선택은 생성 예제의 차수 분포와 Semantic Scholar 분포의 KL 발산을 비교해 이루어졌습니다.

## 맥락 렌더링과 방해 콘텐츠

샘플링된 논문은 제목, 저자, 발행 정보와 성분 안의 인용 관계를 담은 자연어 블록으로 렌더링됩니다. 다른 논문을 인용하지 않는 논문은 자기 블록 없이 인용하는 논문의 참고문헌 목록에만 나타납니다. 이후 코드, 에세이, 책, 위키백과 방해 콘텐츠와 질문과 무관한 성분 추가 방식 중 하나를 골라 목표 맥락 길이까지 채웁니다. 방해 성분은 질문 깊이와 성분 크기를 동일하게 유지한 채 추가되며, 프롬프트가 목표 토큰 수를 넘지 않도록 블록 단위로 잘라냅니다.

## 질문 깊이·성분 크기와 과제별 결과

질문 깊이가 커질수록 모든 모델의 정확도가 낮아지지만 그 시점은 모델마다 다릅니다. 깊이 16과 32에서 GPT-5.6-LUNA와 QWEN3.5 모델은 YES/NO 질문에서 대부분 NO로 답해 무작위 추측 수준에 머뭅니다. 계산 과제는 가장 어려워서, GPT-5.6-LUNA와 QWEN3.5-35B-A3B는 계산 예제 100개 중 정답을 하나도 맞히지 못했습니다. 성분 크기는 주로 강한 모델의 정확도를 떨어뜨립니다. 이 결과는 본문에 보고된 설정과 모델 집합, 그리고 예제별 표본 수에 한정된 관찰입니다.

## 방해 콘텐츠·추론 노력·맥락 길이 분석

방해 콘텐츠 유형은 정확도를 일관되게 바꾸지 않았고, 추론 노력을 높이는 것도 모든 모델에서 정확도를 신뢰성 있게 올리지 않았습니다. 맥락 길이를 200,000에서 922,000 토큰으로 늘린 실험에서도 Fisher 검정 기준으로 유의한 차이는 보고되지 않았습니다. 다만 이 결과들은 주로 선택된 모델과 설정에서 얻은 것이므로, 다른 데이터나 다른 모델에 그대로 일반화할 수는 없습니다.

## 오염 위험과 적용 범위

Semantic Scholar 기반의 사후 논문 선택은 학습 데이터 오염 위험을 줄이지만 완전히 제거하지는 않습니다. 저자들은 초기 버전의 preprint가 기록된 발행일 이전에 공개되었을 수 있고, 모델이 두 논문의 관련성을 보고 답을 추측할 수도 있다고 밝힙니다. 또한 벤치마크는 한 도메인과 한 종류의 관계인 인용만 다루며, 모든 프롬프트가 영어입니다. 예제 수도 구성별로 최대 100개여서 많은 신뢰구간이 넓습니다.

## 논문 정보

- **저자**: Minh-Nam Tran, Abulhair Saparov
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 10월 30일
- **등록일**: 2026년 11월 3일
- **수정일**: 2026년 10월 30일
- **버전**: v1
- **arXiv**: 2610.41704
- **분류**: cs.CL
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2610.41704v1) · [원문 PDF ↗](https://arxiv.org/pdf/2610.41704v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

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.

## 원문 인용

Minh-Nam Tran, Abulhair Saparov (2026). GraphNIAH: A Benchmark for Long-Context Reasoning over Real-World Graphs. arXiv:2610.41704v1. https://arxiv.org/abs/2610.41704v1

**BibTeX**

```
@misc{tran2026graphniah,
  title = {{GraphNIAH: A Benchmark for Long-Context Reasoning over Real-World Graphs}},
  author = {Minh-Nam Tran and Abulhair Saparov},
  year = {2026},
  eprint = {2610.41704},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.41704v1}
}
```

## 이 논문의 용어

- [accuracy](https://refivu.com/terms/1995c0cd6282-accuracy)
- [KL divergence](https://refivu.com/terms/5f1dbea73907-kl-divergence)

## 다른 논문 해설

- [How to Loop Your Transformer: Loop Scaling, Specialization, and Parallel Inference](https://refivu.com/papers/f4d8128c-41be-476d-9c3e-5cf69d5638fa-how-to-loop-your-transformer-loop-scaling-specialization.md)
- [ParaTTT: Parallelizing Test-Time Training Layers with Deep Memories](https://refivu.com/papers/e3b906b8-d6bc-4a89-8a43-99761b36ba81-parattt-parallelizing-test-time-training-layers-with-deep.md)
- [A Witnessing Duality for ReLU Network Depth](https://refivu.com/papers/7729dc9a-da11-4e55-8892-0a1e37788e27-a-witnessing-duality-for-relu-network-depth.md)
- [Causal Localization of Evidence Effects in Transformers](https://refivu.com/papers/f96b5a12-0c53-49d2-8d6f-292224474229-causal-localization-of-evidence-effects-in-transformers.md)
- [Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound](https://refivu.com/papers/bb7ed38f-7636-44c4-921c-7a661fe6cf0f-solving-probabilistic-verification-problems-of-neural.md)
- [Feature Learning beyond the Lazy-Rich Dichotomy: Insights from Representational Geometry](https://refivu.com/papers/145cac59-29af-46bd-915b-28b2501ff19d-feature-learning-beyond-the-lazy-rich-dichotomy-insights.md)
- [ReuScope: Auditing Data Reuse and Evaluation Sensitivity in Capsule Vision 2024](https://refivu.com/papers/4d108bde-7317-42f5-a41e-286e17634caa-reuscope-auditing-data-reuse-and-evaluation-sensitivity-in.md)
- [Does Validation Loss Predict Real-Robot Success? Evidence from Four Imitation-Learning Policies on a Low-Cost Arm](https://refivu.com/papers/2ee1ef0e-8052-42d5-9651-a13f9d8efe51-does-validation-loss-predict-real-robot-success-evidence.md)
- [Simple Features Beat Most AI Control Monitors](https://refivu.com/papers/d1aca6c2-1615-45b0-9efd-38f4290a39cf-simple-features-beat-most-ai-control-monitors.md)
- [When the Simulator Fails, Not the Policy: Auditing Contact Artifacts in Simulated Robot Benchmarks](https://refivu.com/papers/6acb7321-bd18-4d58-ac5d-204a2852ff4f-when-the-simulator-fails-not-the-policy-auditing.md)
- [End-to-End Guarantees for Masked Diffusion Models under Conditional Mixing](https://refivu.com/papers/9f90360e-afe6-49ca-8165-7669933251b8-end-to-end-guarantees-for-masked-diffusion-models.md)
- [Cord: Confidence-Anchored Order Residual Decoding for Masked Diffusion Language Models](https://refivu.com/papers/f4a533fb-c361-44fb-b98c-6372bedef6b6-cord-confidence-anchored-order-residual-decoding-for-masked.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/379f5ec1-86ec-443c-aa89-b520d89b337f-graphniah-a-benchmark-for-long-context-reasoning-over)
