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

PolyG: Adaptive Graph Traversal for Diverse GraphRAG Questions

About

GraphRAG enhances large language models (LLMs) to generate quality answers for user questions by retrieving related facts from external knowledge graphs. However, current GraphRAG methods are primarily evaluated on and overly tailored for knowledge graph question answering (KGQA) benchmarks, which are biased towards a few specific question patterns and do not reflect the diversity of real-world questions. To better evaluate GraphRAG methods, we propose a complete four-class taxonomy to categorize the basic patterns of knowledge graph questions and use it to create PolyBench, a new GraphRAG benchmark encompassing a comprehensive set of graph questions. With the new benchmark, we find that existing GraphRAG methods fall short in effectiveness (i.e., quality of the generated answers) and/or efficiency (i.e., response time or token usage) because they adopt either a fixed graph traversal strategy or free-form exploration by LLMs for fact retrieval. However, different question patterns require distinct graph traversal strategies and context formation. To facilitate better retrieval, we propose PolyG, an adaptive GraphRAG approach by decomposing and categorizing the questions according to our proposed question taxonomy. Built on top of a unified interface and execution engine, PolyG dynamically prompts an LLM to generate a graph database query to retrieve the context for each decomposed basic question. Compared with SOTA GraphRAG methods, PolyG achieves a higher win rate in generation quality and has a low response latency and token cost. Our code and benchmark are open-source at https://github.com/Liu-rj/PolyG.

Renjie Liu, Haitian Jiang, Xiao Yan, Bo Tang, Jinyang Li• 2025

Related benchmarks

TaskDatasetResultRank
Graph ReasoningGRBENCH E-Commerce
QwenScore0.545
32
Graph ReasoningGRBENCH Healthcare
QwenScore49.3
32
Graph ReasoningGRBENCH Literature
QwenScore58.3
32
Graph ReasoningGRBENCH Academic
QwenScore0.605
32
Graph ReasoningGRBENCH Legal
QwenScore42.2
32
Showing 5 of 5 rows

Other info

Follow for update