Abstract
Multi-Document Question Answering (MD-QA) requires synthesizing information from multiple, often disconnected, sources. Existing methods like Retrieval-Augmented Generation (RAG) and Knowledge Graph Prompting (KGP) frequently struggle with "bridge" documents and suffer from hallucinations or high latency. We present CuriousLLM, a framework that fine-tunes an LLM agent to generate targeted natural language follow-up questions to navigate knowledge graphs effectively. By introducing a "curiosity-driven" reasoning loop and an early termination mechanism, CuriousLLM achieves state-of-the-art accuracy on benchmarks such as HotpotQA and MuSiQue. Notably, our approach reduces training time by 85% compared to previous T5-based agents while significantly improving inference efficiency.
Introduction
Large Language Models (LLMs) have revolutionized natural language processing, yet they often falter in Multi-Document Question Answering (MD-QA) tasks. These tasks require the model to find and connect disparate pieces of evidence across a corpus. Traditional retrieval methods often fail to identify the necessary "bridge" documents. While Knowledge Graph Prompting (KGP) attempted to address this by predicting missing evidence, it introduced new challenges: agents often hallucinated irrelevant keywords, leading to "dead ends" in graph traversal, and the lack of a stopping criterion resulted in high computational costs.
Methodology: Curiosity-Driven Reasoning
CuriousLLM addresses these flaws by replacing raw evidence prediction with a "curious researcher" agent. Instead of guessing the content of missing documents, the agent (a fine-tuned Mistral-7B) generates natural language follow-up questions.
Follow-up Question Mechanism
The system performs a Breadth-First Search (BFS) on a Knowledge Graph. For each retrieved passage, the agent evaluates if more information is needed. If so, it generates a follow-up question. For instance, if a query asks for a person's age and the current document only provides their birthplace, the agent might ask, "When was [Person] born?" Semantic similarity between this question and neighboring nodes guides the next step of the search.
Early Termination and Efficiency
To solve the latency issue, we trained the agent to output a special "NA" token when the accumulated evidence is sufficient to answer the query. This "Early Termination" (Mistral-ET) strategy allows the system to stop searching as soon as the answer is reachable, saving significant compute. Furthermore, we utilized QLoRA (Quantized Low-Rank Adaptation) for fine-tuning, which drastically reduced the resource requirements for model training.
Experimental Setup
We evaluated CuriousLLM on four complex MD-QA benchmarks: HotpotQA, 2WikiMQA, IIRC, and MuSiQue. To support the training of the curiosity agent, we developed Follow-upQA, a new dataset of approximately 50,000 samples derived from HotpotQA. This dataset provides the ground truth for the reasoning chains, including the necessary follow-up questions and the "NA" termination signals.
Results
CuriousLLM (KGP-Mistral) consistently outperformed baseline methods, including TF-IDF, BM25, and the original KGP-T5. On HotpotQA, CuriousLLM achieved 73.80% accuracy, surpassing the 71.60% of KGP-T5.
As shown in the performance analysis, the model reaches peak performance rapidly, typically within 1,200 training steps. The Mistral-ET variant maintained high accuracy while visiting fewer nodes, directly addressing the latency concerns of graph-based retrieval. The use of QLoRA enabled an 85% reduction in training time compared to previous state-of-the-art implementations.
Conclusion
CuriousLLM demonstrates that framing multi-hop retrieval as a series of natural language inquiries is more effective and efficient than predicting raw evidence. By combining "curiosity-driven" follow-up questions with an early termination mechanism, we provide a robust solution for complex MD-QA. Future work will explore the application of this framework to broader "how" and "why" questions and investigate dynamic knowledge graph construction during the search process.
Summary updated