TL;DR
Retrieval-Augmented Generation (RAG) gives language models a library to read from, yet models still hallucinate by stitching together unrelated facts to bridge gaps in that library. This paper introduces Substrata, an "unknown-aware" RAG framework that uses algebraic topology to locate missing relationships in a knowledge graph and writes explicit "warning labels" about them directly into the database. The result is a system that knows what it doesn't know—drastically cutting down hallucinations while making knowledge graph updates over 10× cheaper.
What Problem Does This Paper Address?
Imagine reading a collection of AI papers. One mentions that Model A uses ImageNet, and another mentions that Model B also uses ImageNet. If someone asks how Model A builds on Model B's training objective, an eager LLM using standard RAG will retrieve both papers, notice their conceptual proximity, and happily invent a story connecting them—even if the corpus contains zero evidence that they are related.
Conventional RAG focuses almost entirely on "what do we know, and how do we retrieve it?" It treats the knowledge base as a static given and optimizes downstream steps like reranking or query rewriting. However, hallucinations often stem from a lack of boundary awareness: the model cannot see where the corpus is structurally incomplete, leading to "path hallucinations" across unsupported gaps. Furthermore, while graph-based RAG methods help organize relationships, they usually require rebuilding the entire graph from scratch whenever new documents arrive, which is prohibitively expensive.
Methods
Substrata intervenes upstream at the knowledge source itself, combining three novel mechanisms with standard retrieval:
- Incremental Graph Updates via Evidence Fusion: Instead of rebuilding the knowledge graph from scratch when new documents arrive, Substrata updates it locally. It clusters new entities into communities and decides whether to merge them into existing communities or keep them separate using Dempster–Shafer Theory (DST)—a mathematical framework for reasoning under uncertainty. By weighing graph connectivity against semantic similarity (and preserving conflicts as explicit uncertainty rather than forcing a bad merge), the graph evolves organically.
- Locating the Unknown with Persistent Homology: Once the graph updates, Substrata hunts for "structural holes"—loops of indirectly connected entities that fail to close into tightly supported triangles. Using persistent homology (a tool from algebraic topology that tracks geometric features across scales), it filters edges by how strongly the text supports them. Long-lived 1D loops ($H_1$) signal significant relational gaps. An LLM then inspects the source text around each hole and generates a structured "unknown annotation"—essentially a plain-text note stating what relationship is missing—and drops it right into the standard chunk pool.
- Hybrid Retrieval: At query time, Substrata runs standard vector search and BM25 keyword search alongside a 1-hop graph search. Because unknown annotations live in the exact same text pool as factual chunks, reciprocal rank fusion naturally surfaces both supporting facts and explicit warnings about missing links.
Datasets
- Public Multi-hop QA Benchmarks: Evaluated on 1,000 sampled questions each from HotpotQA, MuSiQue, and 2WikiMultiHopQA.
- SelfBound (New Benchmark): The authors introduce a 120-question benchmark built over AI academic literature. Alongside 80 standard questions (Simple with Condition, Comparison, Multi-hop, False Premise), it features 40 Spurious Relational Premise (SRP) questions specifically designed to test whether RAG systems fabricate connections across relational gaps (mixing confirmable and unconfirmable queries so a model can't cheat by refusing everything).
Key Insights and Ideas
- Making ignorance a first-class, retrievable object: The standout "aha" moment is turning the absence of information into presence. By converting topological holes into plain-text chunks, downstream LLMs don't need special architectures or fine-tuning to respect knowledge boundaries—they just read the warning note in their context window.
- Uncertainty prevents graph bloat and collapse: Using Dempster–Shafer fusion allows the system to say "I'm not sure if this new topic belongs here" and spin off a new peripheral community, naturally forming a clean hub-and-leaf graph structure without global re-clustering.
- Topology filters out trivial gaps: Not every missing edge between two entities matters. Persistent homology isolates long-lived loops among strongly connected concepts—precisely the deceptive neighborhoods where an LLM is most tempted to hallucinate a bridge.
Key Results
- Multi-hop QA: Under a shared evaluation setup against five baselines (BM25, Dense, RAPTOR, LightRAG, HippoRAG2), Substrata takes first place across the board, averaging 58.5% Exact Match (EM) and 68.6% F1 (with 96.0% Recall@20), beating the runner-up HippoRAG2 by +7.4% EM on the challenging MuSiQue dataset.
- Stopping Path Hallucinations: On SelfBound, Substrata achieves 95.0% accuracy on Spurious Relational Premise questions and 100.0% on False Premise questions, compared to 70.0% and 85.0% for an enhanced GraphRAG+ baseline.
- Massive Token Savings: Over 10 rounds of incremental updates, Substrata consumes 40.7M tokens versus 420.5M tokens for full GraphRAG reconstruction—a 10.3× reduction—while remaining highly robust even when up to 20% synthetic noise is injected into the graph.
Limitations and Future Work
The authors note two primary constraints. First, natural language only enters the graph as extracted entity-relation triples, which inevitably flattens some nuance from the raw prose. Second, to keep precision high, unknown detection currently only looks for closed loop structures ($H_1$ holes), meaning relational gaps that don't form neat topological loops—like open bridges or isolated branches—go unannotated. Future work aims to build richer structural representations of natural language so that marking the unknown can extend beyond simple loops.
Summary updated