TL;DR
This paper introduces CuriousLLM, a novel approach to multi-document question answering (MD-QA) that enhances knowledge graph (KG) traversal by having an LLM agent ask "curiosity-driven" follow-up questions. This method significantly improves accuracy and efficiency compared to existing KG prompting techniques, while also reducing computational costs and addressing the issue of LLM hallucinations.
What Problem Does This Paper Address?
Large Language Models (LLMs) are powerful for question answering, but they struggle with hallucinations (generating false information) and knowledge cutoffs (lacking up-to-date information). While integrating external knowledge sources like knowledge graphs (KGs) can help, existing methods like Knowledge Graph Prompting (KGP) require extensive fine-tuning, are prone to hallucinations themselves, and can be computationally expensive due to inefficient search strategies. Specifically, KGP agents might get stuck in loops or fail to identify when enough information has been retrieved, leading to unnecessary processing and higher latency.
Methods
The core innovation of CuriousLLM is its "curiosity-driven reasoning mechanism." Instead of directly predicting missing evidence (which can lead to hallucinations), the LLM agent is trained to generate relevant follow-up questions. These questions act as intelligent guides, directing the KG traversal agent to the most pertinent information needed to answer the user's query. This approach aims to mimic how a human researcher would explore a topic, asking clarifying questions to efficiently gather evidence.
The system uses a Mistral-7B model fine-tuned on a new dataset called Follow-upQA. The KG traversal itself is guided by these follow-up questions, and the system also incorporates an "early termination" mechanism. This mechanism allows the agent to recognize when sufficient evidence has been gathered and stop the search, thereby reducing computational overhead and latency.
Datasets
- Follow-upQA Dataset: This is a newly introduced dataset created by the authors. It's derived from the HotpotQA dataset and specifically designed to train LLMs to generate pertinent follow-up questions for MD-QA tasks. It includes questions, supporting evidence, and ground truth follow-up questions that either indicate missing information or signal sufficiency.
- HotpotQA: Used as the source for creating the Follow-upQA dataset.
- MD-QA Validation Sets: The paper also evaluates on standard MD-QA datasets: HotpotQA, 2WikiMQA, IIRC, and MuSiQue.
Key Insights and Ideas
- Curiosity as a Reasoning Engine: The paper demonstrates that emulating human curiosity through follow-up questions is a more effective strategy for KG traversal than directly predicting missing evidence. This is a novel way to leverage LLMs for guided information retrieval.
- Early Termination for Efficiency: The ability of the LLM agent to signal when enough information has been gathered is crucial for reducing latency and computational cost, a significant drawback of previous KGP methods.
- Mitigating Hallucinations: By focusing on generating questions rather than direct factual predictions, the approach inherently reduces the risk of the LLM agent hallucinating incorrect facts during the retrieval process.
- Reduced Fine-tuning Needs: The proposed method requires significantly fewer training samples for fine-tuning compared to the original KGP framework.
Key Results
- Improved Accuracy: CuriousLLM (KGP-Mistral) consistently outperforms baseline methods like TF-IDF, BM25, and MDR, achieving accuracy improvements of up to 9% over BM25 on HotpotQA. It also shows a consistent 3% accuracy gain over the original KGP-T5 framework.
- Reduced Latency: The early termination feature significantly reduces traversal time and the number of nodes visited in the KG, leading to faster query answering. Mistral-ET (Mistral with early termination) achieves similar accuracy to T5 but with fewer iterations and reduced runtime.
- Efficient Training: The training process for the CuriousLLM agent is significantly faster, reducing training time by 85% compared to training an identical T5 model for the original KGP framework.
- Performance Peaks: The MD-QA capability of the Mistral models peaks around 1,200 training steps, suggesting an optimal point for balancing learning and avoiding overfitting.
Limitations and Future Work
- Question Scope: The current system is primarily designed for comparison and bridging questions. Future work could expand its applicability to other question types like "what," "where," and "how."
- Hardware and Scalability: Experiments were conducted on a single GPU, limiting the exploration of parallel processing. Scaling the system to large-scale deployments will require more advanced hardware and efficient parallelization techniques.
- Further Optimization: The authors suggest exploring more advanced hardware and parallelization techniques for better scalability. They also highlight the importance of finding optimal training steps for KG traversal agents.
Summary updated