Introduction
Retrieval-Augmented Generation (RAG) has become a standard approach for grounding Large Language Models (LLMs) in external knowledge. However, traditional RAG systems often struggle with hierarchical complexity. Most existing frameworks utilize "flat" Euclidean embeddings, where semantically broad concepts (e.g., "health") act as geometric "hubs" that are close to many unrelated specific facts. This "hubness" bias often causes retrievers to favor generic, high-frequency documents over the precise, fine-grained evidence required for complex multi-hop reasoning.
As illustrated in the figure above, Euclidean-based GraphRAG can produce superficial answers by failing to distinguish between general topics and specific causal chains. HyperbolicRAG addresses this by mapping knowledge into a curved Poincaré manifold, which naturally accommodates the tree-like structure of human information.
Methodology
HyperbolicRAG introduces three core innovations to move beyond the limitations of flat geometry:
1. Depth-Aware Representation Learning
The system predicts a "semantic depth" score for every passage, entity, and fact, projecting them into a Poincaré ball. In this hyperbolic space, general concepts are placed near the center, while specific facts are pushed toward the boundary. Because hyperbolic space expands exponentially as one moves outward, it provides significantly more "room" to distinguish between specific leaf nodes, mitigating the crowding effect seen in Euclidean space.
2. Bidirectional Containment Alignment
To ensure the geometry reflects logical hierarchies, the model uses an unsupervised contrastive loss. This forces "parent" passages to remain proximal to their "child" facts in hyperbolic space, ensuring the model internalizes the containment relationships inherent in the data.
3. Dual-Space Retrieval Fusion
HyperbolicRAG utilizes a parallel retrieval architecture to combine the strengths of different geometric models.
As shown in the retrieval pipeline, the system runs two branches:
- Euclidean Branch: Excels at capturing local topical similarity.
- Hyperbolic Branch: Excels at hierarchical reasoning and identifying specific evidence.
The results are merged using a mutual-ranking fusion mechanism that prioritizes documents appearing high in both rankings, effectively filtering out noisy, generic results.
Experimental Evaluation
The authors evaluated HyperbolicRAG across five benchmarks, including factual recall tasks (Natural Questions, PopQA) and complex multi-hop reasoning tasks (MuSiQue, 2WikiMultiHopQA, HotpotQA). Knowledge graphs were constructed using Llama-3-70B for Open Information Extraction (OpenIE).
Key Results
- Retrieval Performance: HyperbolicRAG achieved an average Recall@5 of 79.0%, surpassing state-of-the-art baselines like HippoRAG2 (78.2%) and significantly outperforming strong Euclidean retrievers (73.4%).
- Generation Quality: On the MuSiQue multi-hop task, it achieved 39.5% Exact Match (EM) and 50.6% F1 score, demonstrating a superior ability to capture biological mechanisms and causal chains compared to Euclidean-based methods.
- Robustness: The framework proved to be a versatile "plug-and-play" enhancement, showing consistent gains regardless of the underlying LLM or embedding model used.
Conclusion
HyperbolicRAG demonstrates that the geometry of embedding spaces is crucial for effective RAG. By leveraging hyperbolic manifolds to represent knowledge hierarchies, the framework successfully mitigates hubness and improves the precision of multi-hop reasoning. Future research will explore curvature-adaptive models to further optimize geometric fit across diverse knowledge domains.
Summary updated