Abstract
HydraRAG is a novel, training-free Retrieval-Augmented Generation (RAG) framework designed to overcome the limitations of existing RAG systems in handling complex multi-hop and multi-entity queries. By seamlessly integrating Knowledge Graphs (KGs), Wikipedia, and real-time web searches, HydraRAG converts unstructured information into structured reasoning paths. Through a tri-factor cross-source verification mechanism, it ensures factual accuracy and reduces hallucinations. Experimental results across seven benchmarks show that HydraRAG achieves state-of-the-art performance, notably enabling smaller models like Llama-3.1-8B to compete with GPT-4-Turbo.
Introduction
Large Language Models (LLMs) often suffer from hallucinations due to outdated or incomplete parametric knowledge. While Retrieval-Augmented Generation (RAG) mitigates this by fetching external documents, standard text-based approaches struggle with "multi-hop" reasoning where information is fragmented across sources. Conversely, Knowledge Graph (KG)-based RAG provides structure but is limited by the inherent incompleteness of KGs. Existing hybrid systems often fail to effectively reconcile these disparate sources, leading to noisy contexts and unverified claims.
Methodology: The HydraRAG Framework
HydraRAG introduces a source-aware, structured approach to hybrid RAG. The framework is built on several key pillars:
- Agentic Source Selection: An LLM agent dynamically determines the optimal mix of sources (KG, Wikipedia, or Web) based on the query's complexity.
- Unified Evidence Exploration: The system extracts multi-hop reasoning paths from KGs and prompts the LLM to structure unstructured text snippets into the same format, creating a unified chain of thought.
- Tri-Factor Cross-Source Verification: Candidate paths are pruned based on source reliability, cross-source corroboration (e.g., Web confirming KG), and alignment with the query's core entities.
- Predictive & Refined Exploration: If initial retrieval is insufficient, the system generates follow-up queries to guide deeper searches.
Experimental Evaluation
The authors evaluated HydraRAG on seven standard Knowledge Base Question Answering (KBQA) benchmarks, including Multi-hop KBQA (CWQ, WebQSP, AdvHotpotQA, QALD10-en), Single-hop KBQA (SimpleQA), Slot Filling (ZeroShot RE), and Open-Domain QA (WebQuestions). These tests utilized full, unsimplified KGs like Freebase and Wikidata to simulate real-world retrieval challenges.
Key Results and Insights
HydraRAG established new state-of-the-art (SOTA) performance across all evaluated datasets. Using GPT-3.5-Turbo, it outperformed the strong hybrid baseline ToG-2 by an average of 20.3%.
Significant findings include:
- Small Model Empowerment: HydraRAG improved Llama-3.1-8B's performance by 132% on average, allowing it to rival the reasoning accuracy of GPT-4-Turbo.
- Enhanced Faithfulness: Over 95% of generated answers were grounded in external knowledge, with a high degree of joint verification across multiple sources.
- Operational Efficiency: Cross-source verification reduced token costs by up to 41.8% by filtering out irrelevant or unverified noise early in the process.
- Robustness to KG Incompleteness: The system maintains high performance even when KGs are significantly degraded, successfully falling back on Wikipedia and Web data.
Conclusion and Future Work
HydraRAG demonstrates that structuring unstructured text and verifying facts across multiple independent sources is a powerful strategy for enhancing LLM reasoning. While currently limited to text and KG modalities, future work aims to incorporate visual data and investigate the ethical implications of multi-source retrieval. By acting as a reasoning equalizer, HydraRAG paves the way for high-performance, cost-effective AI applications using smaller, open-source models.
Summary updated