NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multi-Grained Knowledge for Retrieval-Augmented Question Answering on Hyper-long Contexts

Wang Qian, Ying Cheng, Jianqiang Wang, Jianqiang Fu, Rui FengOpenReview 2025 · Submission to ICLR 2025 · Rejected

Abstract

In the task of hyper-long context question answering (QA), a key challenge is extracting accurate answers from vast and dispersed information, much like finding a needle in a haystack. Existing approaches face major limitations, particularly the input-length constraints of Large Language Models (LLMs), which hinder their ability to understand hyper-long contexts. Furthermore, Retrieval-Augmented Generation (RAG) methods, which heavily rely on semantic representations, often experience semantic loss and retrieval errors when answers are spread across different parts of the text. Therefore, there is a pressing need to develop more effective strategies to optimize information extraction and reasoning. In this paper, we propose a multi-grained entity graph-based QA method that constructs an entity graph and dynamically combines both local and global contexts. Our approach captures information across three granularity levels (i.e., micro-level, feature-level, and macro-level), and incorporates iterative retrieval and reasoning mechanisms to generate accurate answers for hyper-long contexts. Specifically, we first utilize EntiGraph to extract entities, attributes, relationships, and events from hyper-long contexts, and aggregate them to generate multi-granularity QA pairs. Then, we retrieve the most relevant QA pairs according to the query. Additionally, we introduce LoopAgent, an iterative retrieval mechanism that dynamically refines queries across multiple retrieval rounds, combining reasoning mechanisms to enhance the accuracy and effectiveness of answering complex questions. We evaluated our method on various datasets from LongBench and InfiniteBench, and the experimental results demonstrate the effectiveness of our approach, significantly outperforming existing methods in both the accuracy and granularity of the extracted answers. Furthermore, it has been successfully deployed in online novel-based applications, showing significant improvements in handling long-tail queries and answering detail-oriented questions.
BibTeX
@misc{qian2025multi,
  author = {Wang Qian and Ying Cheng and Jianqiang Wang and Jianqiang Fu and Rui Feng},
  title = {{Multi-Grained Knowledge for Retrieval-Augmented Question Answering on Hyper-long Contexts}},
  year = {2025},
  url = {https://openreview.net/forum?id=xE3Ra2GTpX},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2025},
}

Loading related content...

Figure