Abstract
Multi-hop question answering (MHQA) requires integrating knowledge scattered across multiple passages to derive the correct answer. Traditional retrieval-augmented generation (RAG) methods primarily focus on coarse-grained textual semantic similarity and ignore structural associations among dispersed knowledge, which limits their effectiveness in MHQA tasks. GraphRAG methods address this by leveraging knowledge graphs (KGs) to capture structural associations, but they tend to overly rely on structural information and fine-grained word- or phrase-level retrieval, resulting in an underutilization of textual semantics. In this paper, we propose a novel RAG approach called HGRAG for MHQA that achieves cross-granularity integration of structural and semantic information via hypergraphs. Structurally, we construct an entity hypergraph where fine-grained entities serve as nodes and coarse-grained passages as hyperedges, and establish knowledge association through shared entities. Semantically, we design a hypergraph retrieval method that integrates fine-grained entity similarity and coarse-grained passage similarity via hypergraph diffusion. Finally, we employ a retrieval enhancement module, which further refines the retrieved results both semantically and structurally, to obtain the most relevant passages as context for answer generation with the LLM. Experimental results on benchmark datasets demonstrate that our approach outperforms state-of-the-art methods in QA performance, and achieves a 6$\times$ speedup in retrieval efficiency.
Introduction: The Granularity Gap in MHQA
Multi-hop question answering (MHQA) is often described as the "detective work" of natural language processing. To answer a complex query like "What is the capital of the country where Albert Einstein was born?", a model cannot rely on a single document. Instead, it must perform a series of "hops": first identifying Einstein's birthplace (Germany) in one passage, and then searching for the capital of Germany (Berlin) in another.
Traditional Retrieval-Augmented Generation (RAG) systems often fail in these scenarios because they treat the corpus as a collection of isolated text chunks. While recent "GraphRAG" approaches attempt to solve this by building Knowledge Graphs (KGs) of entities and their relationships, they frequently suffer from a "granularity gap." These methods either focus too heavily on coarse-grained text chunks—missing the specific entity-level links—or too heavily on fine-grained triples, which strips away the rich semantic context provided by the original prose. Furthermore, the computational overhead of building and traversing massive KGs often leads to significant latency.
The HGRAG Framework
The authors introduce HGRAG (Hypergraph Retrieval-Augmented Generation), a framework designed to bridge these gaps using the mathematical properties of hypergraphs. Unlike standard graphs where an edge connects exactly two nodes, a hypergraph utilizes "hyperedges" that can encompass any number of nodes.
1. Entity Hypergraph Construction
In the HGRAG model, nodes represent fine-grained entities and hyperedges represent coarse-grained passages. If a specific passage mentions five distinct entities, all five corresponding nodes are contained within that single hyperedge. This structure provides a more "lossless" representation of document content compared to breaking text down into thousands of binary triples.
2. Hypergraph Retrieval via Diffusion
To identify the most relevant information for a query, HGRAG employs a process called hypergraph diffusion. This is essentially a sophisticated random walk across the hypergraph structure. The process begins with an entity similarity vector (calculating how well the query matches specific entities) and propagates this "relevance" through the hyperedges. By using a passage-weighted hypergraph Laplacian, the model ensures that the diffusion respects both the importance of individual entities and the broader semantic relevance of the passages themselves.
3. Retrieval Enhancement
The model further refines the diffusion results through two specialized modules:
- Semantic Enhancement: A residual connection that maintains the influence of the original text-matching scores, preventing the structural information from overwhelming the semantic context.
- Structural Enhancement: A dynamic selection process that identifies "neighboring" passages sharing key entities, ensuring the Large Language Model (LLM) receives a coherent and comprehensive context.
Experimental Evaluation
The researchers evaluated HGRAG against state-of-the-art baselines on three gold-standard MHQA benchmarks: HotpotQA (Wikipedia-based reasoning), 2WikiMultiHopQA (structured reasoning), and MuSiQue (challenging 2-4 hop questions).
Performance and Accuracy
As shown in the table below, HGRAG consistently outperformed existing methods across all datasets. Notably, on the MuSiQue dataset, it achieved a substantial relative improvement in F1 score compared to strong baselines like HippoRAG 2.
Efficiency and Speed
Beyond accuracy, HGRAG offers a significant leap in efficiency. By focusing on passage-entity relationships rather than exhaustive entity-to-entity links, the resulting graph is much sparser and more manageable. This architectural choice leads to a 6.3× speedup over HippoRAG 2 on standard CPU hardware. When accelerated with a GPU, the system can process 1,000 queries in just 2 seconds, making it highly suitable for real-time applications.
Conclusion and Future Directions
HGRAG demonstrates that hypergraphs are a natural fit for modeling the relationship between entities and the documents that contain them. By treating passages as hyperedges, the framework successfully bridges the granularity gap, fusing structural and semantic information without the computational burden of traditional GraphRAG.
While highly effective, the authors identify areas for future improvement, including reducing sensitivity to hyperparameters and enhancing the robustness of the initial entity extraction phase. Future research may also explore deeper integration between the hypergraph retrieval process and the internal reasoning mechanisms of the LLM.
Summary updated