[논문 리뷰] Knowledge Graph Prompting for Multi-Document Question Answering
짧은 요약: 본 논문은 다문서 질의응답(MD-QA)을 위한 Knowledge Graph Prompting(KGP)을 소개하고, 단락과 문서 구조 위에 지식 그래프를 구축하며 LLM 기반의 탐색 에이전트를 사용하여 문서 간 질문에 대한 맥락 증거를 검색한다.
The `pre-train, prompt, predict' paradigm of large language models (LLMs) has achieved remarkable success in open-domain question answering (OD-QA). However, few works explore this paradigm in the scenario of multi-document question answering (MD-QA), a task demanding a thorough understanding of the logical associations among the contents and structures of different documents. To fill this crucial gap, we propose a Knowledge Graph Prompting (KGP) method to formulate the right context in prompting LLMs for MD-QA, which consists of a graph construction module and a graph traversal module. For graph construction, we create a knowledge graph (KG) over multiple documents with nodes symbolizing passages or document structures (e.g., pages/tables), and edges denoting the semantic/lexical similarity between passages or intra-document structural relations. For graph traversal, we design an LLM-based graph traversal agent that navigates across nodes and gathers supporting passages assisting LLMs in MD-QA. The constructed graph serves as the global ruler that regulates the transitional space among passages and reduces retrieval latency. Concurrently, the graph traversal agent acts as a local navigator that gathers pertinent context to progressively approach the question and guarantee retrieval quality. Extensive experiments underscore the efficacy of KGP for MD-QA, signifying the potential of leveraging graphs in enhancing the prompt design for LLMs. Our code: https://github.com/YuWVandy/KG-LLM-MDQA.
연구 동기 및 목표
- Motivate MD-QA beyond open-domain QA by requiring cross-document reasoning and structured content understanding.
- Propose a generally-applicableKG construction method that encodes lexical/semantic similarity and document structure relations.
- Develop an LLM-guided graph traversal agent to adaptively retrieve relevant contexts.
- Demonstrate that graph-based prompting improves MD-QA performance and retrieval efficiency across multiple datasets.
제안 방법
- Construct knowledge graphs where nodes are passages or document structures (pages/tables) and edges encode lexical/semantic similarity or structural relations.
- Augment graphs with structural nodes (pages, tables) and use markdown content for tables to aid LLM understanding.
- Train or fine-tune an LLM-based graph traversal agent that, given visited passages, selects the next best neighbor to visit to approach the answer.
- Employ instruction-finetuning to enhance the reasoning capability of the traversal agent to mitigate hallucinations.
- Explore multiple KG construction strategies (TF-IDF, KNN-MDR, KNN-ST, TAGME) and compare their effectiveness and trade-offs.
- Integrate the traversal process with a prompt design that uses the retrieved passages to answer MD-QA questions.
실험 결과
연구 질문
- RQ1How can a knowledge graph over documents improve MD-QA prompting and retrieval compared to baseline methods?
- RQ2What KG construction strategies best capture the necessary cross-document reasoning for MD-QA?
- RQ3Can an LLM-guided KG traversal agent effectively navigate the graph to retrieve relevant context for answering questions?
- RQ4How does incorporating document structures (pages/tables) influence MD-QA performance?
- RQ5What are the performance and efficiency trade-offs as KG density and traversal strategies vary?
주요 결과
- KGP-T5 achieves top performance on MD-QA benchmarks, often outperforming baselines except for the Golden context.
- MDR-based traversals and KGs tuned with domain-specific pretraining yield stronger results than generic embedding-based methods (DPR).
- KGs incorporating structural nodes enable handling structural questions (e.g., differences between Page 1 and Page 2) with substantial Struct-EM gains (67% reported in Table 1).
- GPT/LMM-based traversal agents significantly outperform random traversal and can surpass several baseline retrievers in accuracy and F1 across HotpotQA, 2WikiMQA, MuSiQue, and IIRC.
- Trade-offs exist between KG density and retrieval latency: higher density improves EM/F1 but increases latency; a well-tuned branching factor is crucial for maximizing performance under a fixed context budget.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.