Abstract: Large Language Models (LLMs) often struggle with hallucinations when processing domain-specific or evolving facts. While Retrieval-Augmented Generation (RAG) using Knowledge Graphs (KGs) offers a solution, it frequently introduces irrelevant noise. This paper presents RefKG, a framework that decouples complex queries and utilizes a trained Expert Model to refine retrieved knowledge. RefKG demonstrates superior performance across fact-verification and multi-hop reasoning benchmarks, highlighting the importance of reflective structured data processing.
Addressing the Noise in Knowledge Retrieval
While LLMs are powerful, they frequently "hallucinate" when dealing with facts outside their training data. Integrating Knowledge Graphs is a common remedy, but it introduces a significant "noise" problem. KGs are massive, and standard retrieval often pulls in irrelevant or conflicting triplets that clutter the LLM’s context window. This noise leads to reasoning errors, particularly in multi-hop questions where a single incorrect fact can derail the entire logic chain.
The RefKG Framework
The authors introduce RefKG, a three-module framework designed to make the interaction between LLMs and KGs interactive and self-correcting:
- Query Decoupling: Using a "divide-and-conquer" approach, the system breaks complex, multi-hop queries into a sequence of single-hop sub-queries.
- LLM-Driven KG Exploration & Refinement: The LLM acts as a navigator to find paths in the KG. A trained "Expert Model" (a regressor) then scores retrieved triplets. Triplets falling below a specific relevance threshold are discarded, preventing noisy data from reaching the final reasoning stage.
- Inference with Knowledge Reconstruction: Instead of feeding raw triplets to the LLM, RefKG "reconstructs" them into natural language sentences. This aligns external knowledge with the LLM’s pre-training corpus, making it easier for the model to process.
To optimize this pipeline, the researchers utilize a Multi-task Tuning strategy, fine-tuning open-source 7B models on a synthesized corpus that covers all three stages of the reasoning process.
Key Insights and Results
Evaluation on major benchmarks including FactKG, MetaQA, and WebQuestionsSP (WebQSP) yielded several critical insights:
- Text is Superior to Triplets: Ablation studies revealed that providing evidence in natural language sentences improved performance by approximately 20% compared to raw KG triplets. LLMs are inherently better at reasoning over prose than structured data.
- The Power of Reflection: The "Refinement" stage is vital. By using an Expert Model to "reflect" on the relevance of retrieved facts, the system avoids the "garbage in, garbage out" trap. Removing this step led to a consistent performance drop across all tasks.
- State-of-the-Art Performance: RefKG with a Bloom-7B backbone achieved 84.04% accuracy on FactKG, outperforming previous benchmarks by over 6%. On WebQSP, it achieved a Hits@1 score of 85.2%, surpassing even GPT-4-based prompting methods (82.6%).
Limitations and Future Work
Despite its success, RefKG faces a cumulative error effect; if the initial query decoupling fails, errors propagate through the pipeline. Future research may focus on scaling the framework to larger models (e.g., 175B parameters) and exploring how RefKG handles KGs containing inherent contradictions or dynamic, rapidly changing information.
Summary updated