HydraRAG: Structured Cross-Source Enhanced Large Language Model Reasoning

Xingyu Tan, Xiaoyang Wang, Qing Liu, Xiwei Xu, Xin Yuan, Liming Zhu, Wenjie Zhang2025

Abstract

Retrieval-Augmented Generation (RAG) has significantly improved the reliability of Large Language Models (LLMs) by grounding them in external text. However, existing RAG systems often struggle with complex multi-hop reasoning and multi-entity queries where information is fragmented across structured and unstructured sources. This paper introduces HydraRAG, a training-free framework that unifies Knowledge Graphs (KGs), Wikipedia, and web search into a "global evidence subgraph." By employing an agentic exploration strategy and a tri-factor verification system, HydraRAG enables even smaller models like Llama-3-8B to achieve reasoning performance comparable to GPT-4-Turbo, outperforming existing hybrid RAG systems by over 20% on average.

Introduction

While RAG effectively reduces hallucinations, standard vector-based retrieval of text snippets is often insufficient for tasks requiring deep reasoning. Challenges include multi-hop reasoning across disparate documents, handling queries with multiple distinct entities, and resolving contradictions between different knowledge sources. Existing hybrid systems frequently treat KGs and text as separate silos, leading to suboptimal retrieval paths where critical information might be pruned prematurely. HydraRAG addresses these issues by treating retrieval as a structured, multi-phase exploration of a unified evidence space.

The HydraRAG Framework

HydraRAG operates through a structured pipeline designed to navigate complex knowledge landscapes by integrating diverse information sources.

Comparison of HydraRAG with traditional text-based, KG-based, and hybrid RAG methods. HydraRAG successfully navigates complex multi-hop queries by bridging gaps between structured and unstructured data.

The framework consists of several key components:

  • Skyline Indicator & Question Analysis: Instead of a blind search, HydraRAG decomposes complex questions into simpler sub-questions and predicts the required "reasoning depth" using a skyline indicator.
  • Agentic Source Selector: An LLM-based agent dynamically selects the most appropriate sources (KG, Wikipedia, or Web) based on the query's domain and complexity, optimizing computational efficiency.
  • Three-Phase Exploration:
    1. Initial Exploration: Searches for paths based on the predicted depth.
  • Refined Exploration: Generates follow-up queries to bridge missing links if gaps exist in the initial retrieval.
  • Predicted Exploration: Uses the LLM's internal knowledge to hypothesize potential paths, which are then strictly verified against external data.
  • Tri-Factor Cross-Source Verification: To prune noise and resolve conflicts, HydraRAG scores potential reasoning paths based on source trustworthiness (KG > Wiki > Web), cross-source corroboration, and alignment with the entities in the original question.

Experimental Evaluation

The researchers evaluated HydraRAG across seven diverse benchmarks covering different reasoning flavors, including Multi-Hop KBQA (CWQ, WebQSP, AdvHotpotQA, QALD10-en), Single-Hop KBQA (SimpleQA), Slot Filling (ZeroShot RE), and Open-Domain QA (WebQuestions).

Performance of HydraRAG compared to various baselines. HydraRAG consistently achieves state-of-the-art results across all benchmarks.

Key Results

  • State-of-the-Art Performance: HydraRAG achieved SOTA results on all seven benchmarks using GPT-3.5-Turbo.
  • Significant Gains: It outperformed ToG-2, a strong hybrid baseline, by an average of 20.3%, with gains as high as 30.1% on the QALD10-en dataset.
  • Efficiency: The tri-factor pruning method reduced token usage and LLM calls. On the AdvHotpotQA dataset, it reduced token costs by 41.8% compared to relevance-only pruning.
  • Robustness: Ablation studies showed that even when 70% of the Knowledge Graph was missing, HydraRAG maintained high accuracy by successfully leveraging web and Wikipedia documents.

Discussion and Insights

A significant finding is that providing a structured reasoning path acts as a massive "force multiplier." A Llama-3.1-8B model equipped with HydraRAG can achieve accuracy comparable to GPT-4-Turbo, suggesting that reasoning bottlenecks in smaller models are often data-retrieval issues rather than parameter-count limitations. Furthermore, the system exhibits "graceful degradation"; it doesn't break if a KG is incomplete, as the "Refined Exploration" phase allows the agent to recognize dead-ends and pivot to alternative sources.

Conclusion and Future Work

HydraRAG represents a significant advancement in unifying structured and unstructured knowledge for complex reasoning. While currently focused on text-centric sources, future work will explore incorporating multimodal data (images, videos) and more sophisticated graph reduction techniques to handle even larger-scale knowledge integration.

Summary updated

BibTeX
@misc{tan2025hydrarag,
  author = {Xingyu Tan and Xiaoyang Wang and Qing Liu and Xiwei Xu and Xin Yuan and Liming Zhu and Wenjie Zhang},
  title = {{HydraRAG: Structured Cross-Source Enhanced Large Language Model Reasoning}},
  year = {2025},
  doi = {10.18653/v1/2025.emnlp-main.730},
}
Figure