Breaking the Static Graph: Context-Aware Traversal for Robust Retrieval-Augmented Generation
Kwun Hang Lau, Fangyuan Zhang, Boyu Ruan, Yingli Zhou, Qintian Guo, Ruiyuan Zhang, Xiaofang Zhou
TL;DR
CatRAG tackles the Static Graph Fallacy in HippoRAG 2 by introducing a triad of context-aware mechanisms—Symbolic Anchoring, Query-Aware Dynamic Edge Weighting, and Key-Fact Passage Weight Enhancement—that adapt the knowledge-graph traversal to the user query. By grounding the walk with weak symbolic seeds, pruning irrelevant paths via adaptive edge weighting, and biasing toward evidentiary passages, CatRAG reduces semantic drift and hub bias, improving full chain retrieval and reasoning completeness in multi-hop tasks. Across MuSiQue, 2WikiMultiHopQA, HotpotQA, and HoVer, CatRAG yields consistent recall gains and substantial improvements in FCR and JSR, indicating more grounded, complete evidence chains even when partial recall was already strong. The approach demonstrates that query-conditioned graph steering can bridge partial context and fully grounded multi-hop reasoning, with trade-offs in computation due to on-the-fly LLM scoring and the need for careful hyperparameter tuning.
Abstract
Recent advances in Retrieval-Augmented Generation (RAG) have shifted from simple vector similarity to structure-aware approaches like HippoRAG, which leverage Knowledge Graphs (KGs) and Personalized PageRank (PPR) to capture multi-hop dependencies. However, these methods suffer from a "Static Graph Fallacy": they rely on fixed transition probabilities determined during indexing. This rigidity ignores the query-dependent nature of edge relevance, causing semantic drift where random walks are diverted into high-degree "hub" nodes before reaching critical downstream evidence. Consequently, models often achieve high partial recall but fail to retrieve the complete evidence chain required for multi-hop queries. To address this, we propose CatRAG, Context-Aware Traversal for robust RAG, a framework that builds on the HippoRAG 2 architecture and transforms the static KG into a query-adaptive navigation structure. We introduce a multi-faceted framework to steer the random walk: (1) Symbolic Anchoring, which injects weak entity constraints to regularize the random walk; (2) Query-Aware Dynamic Edge Weighting, which dynamically modulates graph structure, to prune irrelevant paths while amplifying those aligned with the query's intent; and (3) Key-Fact Passage Weight Enhancement, a cost-efficient bias that structurally anchors the random walk to likely evidence. Experiments across four multi-hop benchmarks demonstrate that CatRAG consistently outperforms state of the art baselines. Our analysis reveals that while standard Recall metrics show modest gains, CatRAG achieves substantial improvements in reasoning completeness, the capacity to recover the entire evidence path without gaps. These results reveal that our approach effectively bridges the gap between retrieving partial context and enabling fully grounded reasoning. Resources are available at https://github.com/kwunhang/CatRAG.
