Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Query-Aware Flow Diffusion for Graph-Based RAG with Retrieval Guarantees

About

Graph-based Retrieval-Augmented Generation (RAG) systems leverage interconnected knowledge structures to capture complex relationships that flat retrieval struggles with, enabling multi-hop reasoning. Yet most existing graph-based methods suffer from (i) heuristic designs lacking theoretical guarantees for subgraph quality or relevance and/or (ii) the use of static exploration strategies that ignore the query's holistic meaning, retrieving neighborhoods or communities regardless of intent. We propose Query-Aware Flow Diffusion RAG (QAFD-RAG), a training-free framework that dynamically adapts graph traversal to each query's holistic semantics. The central innovation is query-aware traversal: during graph exploration, edges are dynamically weighted by how well their endpoints align with the query's embedding, guiding flow along semantically relevant paths while avoiding structurally connected but irrelevant regions. These query-specific reasoning subgraphs enable the first statistical guarantees for query-aware graph retrieval, showing that QAFD-RAG recovers relevant subgraphs with high probability under mild signal-to-noise conditions. The algorithm converges exponentially fast, with complexity scaling with the retrieved subgraph size rather than the full graph. Experiments on question answering and text-to-SQL tasks demonstrate consistent improvements over state-of-the-art graph-based RAG methods.

Zhuoping Zhou, Davoud Ataee Tarzanagh, Sima Didari, Wenjun Hu, Baruch Gutow, Oxana Verkholyak, Masoud Faraki, Heng Hao, Hankyu Moon, Seungjai Min• 2026

Related benchmarks

TaskDatasetResultRank
Text-to-SQLSpider 2.0 (test)
Execution Accuracy (Spider 2.0 Test)26.7
27
Multi-hop Question AnsweringMuSiQue
Exact Match (EM)33.5
17
Text-to-SQLSpider Snow 2.0 (test)
Execution Accuracy (EX)23.7
10
General QAUltraDomain Mathematics (test)
Comprehensiveness87.3
5
General QAUltraDomain Mix (test)
Comprehensive Score87.15
5
General QAUltraDomain Music (test)
Comprehensiveness87.95
5
General QAUltraDomain Philosophy (test)
Comprehensive86.78
5
General QAUltraDomain Physics (test)
Comprehensiveness89.51
5
Knowledge Graph Question AnsweringUltraDomain agriculture
Comprehensive Score89.93
5
Knowledge Graph Question AnsweringUltraDomain Biology
Comprehensive89.44
5
Showing 10 of 15 rows

Other info

Follow for update