Relink: Constructing Query-Driven Evidence Graph On-the-Fly for GraphRAG

Manzong Huang, Chenyang Bu, Yi He, Xingrui Zhuo, Xindong Wu

TL;DR

Relink introduces a novel "reason-and-construct" paradigm for Graph-based Retrieval-Augmented Generation (GraphRAG), moving away from traditional, rigid static knowledge graphs. By dynamically building query-specific evidence graphs on the fly from both explicit knowledge bases and latent text relations, it successfully repairs broken reasoning paths and filters out misleading distractor facts.

What Problem Does This Paper Address?

GraphRAG has become a popular method to mitigate hallucinations in Large Language Models (LLMs) by grounding them in structured Knowledge Graphs (KGs). However, current approaches suffer from a fundamental flaw: they rely on a build-then-reason paradigm using a pre-constructed, static KG.

This static dependency introduces two major challenges:

  1. Incompleteness: Real-world KGs are rarely complete. Missing links frequently break the multi-hop reasoning chains required to answer complex questions.
  2. Low Signal-to-Noise Ratio: Static graphs often contain "distractor facts"—information that is topically relevant to the query keywords but completely unhelpful or misleading for the specific goal (e.g., retrieving where a painter died when the query asks where they are buried).
Static GraphRAG failures vs. Relink's dynamic construction.

Methods

To overcome these limitations, the authors propose Relink, a framework that shifts the workflow to a reason-and-construct paradigm. Instead of traversing a rigid pre-built graph, Relink dynamically constructs a compact, query-aligned evidence graph using the following components:

  • Heterogeneous Knowledge Sources: Relink draws from a high-precision (but incomplete) factual KG backbone ($G_b$) and a high-recall Latent Relation Pool ($R_c$). The latent pool is constructed by identifying entity co-occurrences in the raw text corpus and filtering them using Pointwise Mutual Information (PMI).
  • Unified Semantic Space: Explicit KG triples and latent text relations are projected into a single, shared embedding space using specialized encoders ($Encoder_F$ and $Encoder_L$). This allows a single ranker to evaluate candidates from completely different sources on equal footing.
  • Query-Driven Dynamic Path Exploration: Using a beam search algorithm starting from the query's topic entities, Relink explores candidate paths using a coarse-to-fine ranking strategy. A lightweight ranker quickly filters out irrelevant paths, and an LLM provides fine-grained re-ranking.
  • Dynamic Instantiation: If a latent text relation is selected as the optimal next step in a path, an LLM dynamically reads the source text context and instantiates it into a precise factual triple, effectively repairing broken graph segments on the fly.

The framework is optimized using a multi-task objective combining a pairwise Ranking Loss ($\mathcal{L}_{rank}$) and a Contrastive Alignment Loss ($\mathcal{L}_{contra}$) via a staged training strategy.

Relink's dynamic evidence graph construction pipeline.

Datasets

The authors evaluated Relink on five standard open-domain multi-hop question answering (ODQA) benchmarks:

  • 2WikiMultiHopQA
  • HotpotQA
  • ConcurrentQA
  • MuSiQue-Ans
  • MuSiQue-Full

Key Insights and Ideas

  • Local vs. Global Completion: Instead of trying to fix KG incompleteness globally ahead of time (which is query-agnostic, expensive, and often misses niche details), it is far more effective to repair the graph locally and on-demand based on what the query actually needs.
  • Utility Over Pre-existence: Traditional retrieval focuses on topical relevance, which invites distractor noise. Relink evaluates a candidate fact based on its utility to complete the reasoning chain, allowing it to actively discard misleading paths even if they exist in the core KG.
  • Graceful Degradation: The interplay between the explicit graph and the latent pool creates a highly resilient system. The explicit graph provides a reliable, verified anchor, while the latent pool acts as a safety net to bridge gaps when the graph is sparse.

Key Results

  • State-of-the-Art Performance: Relink consistently outperformed all baseline categories (LLM-only, text-based RAG, graph-based RAG, and hybrid models like HippoRAG and LightRAG). It achieved average improvements of 5.4% in Exact Match (EM) and 5.2% in F1 score over leading GraphRAG baselines.
  • Massive Relative Gains: On the 2WikiMultiHopQA dataset, Relink achieved an EM score of 0.628, representing a 115.1% relative improvement over standard GPT-4o.
  • Robustness to Knowledge Sparsity: To test resilience, the authors simulated graph degradation by randomly deleting edges from the explicit KG. While the performance of static GraphRAG baselines collapsed (dropping up to 34.7% in F1), Relink maintained a remarkably stable F1 score (0.669) even when 90% of the explicit graph was missing, thanks to its dynamic path repair mechanism.
Performance robustness under knowledge graph sparsity.

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@inproceedings{huang2026relink,
  author = {Manzong Huang and Chenyang Bu and Yi He and Xingrui Zhuo and Xindong Wu},
  title = {{Relink: Constructing Query-Driven Evidence Graph On-the-Fly for GraphRAG}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i37.40382},
}
Figure