Optimizing Hypergraph-Based RAG: Toward Better Fact Extraction and Chunk Retrieval

TL;DR

Proposes EXT++ and PPR to enhance hypergraph RAG, significantly improving fact extraction and chunk retrieval.

cs.AI 🔴 Advanced 2026-07-03 42 views
Houda Khrouf Pedro Fillastre Sebastiao Correia
Knowledge Graph Hypergraph Retrieval-Augmented Generation N-ary Relations Large Language Models

Key Findings

Methodology

This work combines self-consistency prompting to improve LLM-based hypergraph fact extraction, enhancing completeness and connectivity. It introduces a Personalized PageRank (PPR) algorithm over the hypergraph to strengthen structural relevance in chunk retrieval. The process involves:• Multi-round generation fusion to enrich hypergraph nodes;• Prompt engineering to reduce extraction bias;• Building a tripartite graph with entities, hyperedges, and chunks;• Applying PPR to propagate relevance scores based on structural connectivity;• Selecting top relevant chunks via graph-based filtering. Experiments on multi-domain datasets (fiction, computer science, legal) demonstrate significant improvements in contextual recall (+51%-69%), correctness, and completeness (+11%-12%) over baselines.

Key Results

  • On the fiction dataset, the proposed method boosts contextual recall from 33% to 84%, a +51% increase. On the legal dataset, recall reaches 92%, a +69% improvement. Correctness and completeness scores improve by 11% and 12%, respectively, showing enhanced multi-source integration. Compared to vector search alone, the approach excels in complex, multi-hop scenarios, especially in legal contract analysis where accuracy rises from 3.38 to 7.12, indicating better handling of dense, technical texts.

Significance

This research advances knowledge graph applications by overcoming the limitations of binary relations, enabling more faithful modeling of complex facts with hypergraphs. Incorporating global topology via PPR enhances multi-hop reasoning and long-text understanding, addressing key bottlenecks in knowledge-enhanced large language models. The approach benefits fields like law, finance, and scientific research by providing more precise, structurally-aware retrieval tools, thus pushing the frontier of AI reasoning capabilities.

Technical Contribution

The paper introduces a novel combination of self-consistency prompting for robust hypergraph extraction and a PPR-based retrieval mechanism that exploits hypergraph topology. The EXT++ method optimizes hypergraph construction by reducing isolated hyperedges and improving connectivity. The integration of PPR propagates relevance scores across the hypergraph, surpassing traditional vector similarity methods. These innovations enable high-quality, structure-aware fact retrieval and reasoning, establishing a new paradigm for knowledge graph-based RAG systems.

Novelty

This work is the first to apply self-consistency prompting specifically to hypergraph fact extraction, significantly improving structural completeness. It uniquely integrates PPR with hypergraph topology for chunk retrieval, moving beyond standard vector similarity. The combined approach enhances multi-hop reasoning and long-text comprehension, representing a major step forward in hypergraph-based knowledge augmentation for large language models.

Limitations

  • Despite improvements, LLM extraction still suffers from errors in complex sentences, leading to incomplete or inaccurate hypergraphs. The computational cost of hypergraph construction and PPR propagation is high, limiting scalability. The current method does not incorporate multi-modal data, such as images or videos, which could further enrich knowledge representations.

Future Work

Future research will focus on reducing computational overhead, integrating multi-modal data sources, and developing end-to-end training frameworks. Exploring adaptive hypergraph construction techniques and more efficient relevance propagation algorithms will further enhance scalability and robustness, broadening the applicability in real-world, large-scale knowledge systems.

AI Executive Summary

Knowledge graphs have long served as a structured way to represent complex relationships among entities. However, traditional binary relation models often fall short when capturing the richness of real-world facts involving multiple entities simultaneously. Hypergraphs, with their hyperedges connecting multiple nodes, offer a more faithful representation but face challenges in reliable extraction and effective retrieval. Existing methods rely heavily on LLMs for hypergraph construction, which can introduce structural errors and incomplete data. Moreover, current retrieval strategies primarily depend on semantic similarity, underutilizing the hypergraph’s global topology, thus limiting multi-hop reasoning capabilities.

This paper introduces a novel framework combining self-consistency prompting (EXT++) and a Personalized PageRank (PPR) algorithm to address these issues. The EXT++ method enhances hypergraph completeness by aggregating multiple extraction passes, reducing structural fragmentation and entity omission. Simultaneously, PPR leverages the hypergraph’s global connectivity to prioritize relevant chunks based on their structural relevance rather than mere vector similarity. The integrated approach was evaluated across diverse datasets—fiction, computer science, and legal—showing consistent performance gains. Contextual recall improved by over 50%, and accuracy metrics increased significantly, demonstrating the method’s robustness in complex, multi-hop scenarios.

The significance of this work lies in its ability to faithfully model complex facts and exploit hypergraph topology for more precise retrieval. It addresses fundamental limitations of previous systems, enabling better reasoning over long, intricate texts. This advancement opens new avenues for knowledge-intensive applications in legal analysis, scientific research, and enterprise intelligence, where accurate, multi-relational understanding is crucial.

Despite these advances, challenges remain. The reliance on LLMs for extraction can still produce errors, especially with complex language. Computational costs for hypergraph construction and PPR propagation are high, posing scalability issues. Future work will explore multi-modal data integration, more efficient algorithms, and end-to-end training to further improve performance and applicability, aiming to realize truly intelligent, structure-aware knowledge systems.

Deep Dive

Abstract

GraphRAG enables deeper reasoning by structuring knowledge as graphs but struggles with n-ary facts. HyperGraphRAG uses hypergraphs for richer semantics, improving accuracy, yet relies on error-prone LLM extraction and inefficient standard chunk retrieval. We address this by employing self-consistency prompting to improve the extraction, and Personalized PageRank algorithm over hypergraph to enhance chunk retrieval.

cs.AI