The official repo of GraphRAG-Bench for evaluating GraphRAG models. "When to use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented Generation". (ICLR'26)
See the code📃 Please cite our paper if you find our survey or repository helpful!
📫 Contact us via emails: {xiangzhishang,wuchuanjie}@stu.xmu.edu.cn, qinggangzhang@jlu.edu.cn
This repository is for the GraphRAG-Bench project, a comprehensive benchmark for evaluating Graph Retrieval-Augmented Generation models.

Two domain-specific leaderboards with comprehensive metrics:
1. GraphRAG-Bench (Novel)
2. GraphRAG-Bench (Medical)
Evaluation Dimensions:
Level 1: Fact Retrieval Example: "Which region of France is Mont St. Michel located?"
Level 2: Complex Reasoning Example: "How did Hinze's agreement with Felicia relate to the perception of England's rulers?"
Level 3: Contextual Summarization Example: "What role does John Curgenven play as a Cornish boatman for visitors exploring this region?"
Level 4: Creative Generation Example: "Retell King Arthur's comparison to John Curgenven as a newspaper article."
First, install the necessary dependencies for GraphRAG-Bench.
pip install -r requirements.txt
To prevent dependency conflicts, we strongly recommend using separate Conda environments for each framework:
We use the installation of LightRAG as an example. For other frameworks, please refer to their respective installation instructions.
# Create and activate environment (example for LightRAG)
conda create -n lightrag python=3.10 -y
conda activate lightrag
# Install LightRAG
git clone https://github.com/HKUDS/LightRAG.git
cd LightRAG
pip install -e .
We provide detailed instructions on how to use GraphRAG-Bench to evaluate each framework.
Specifically, we introduce how to perform index construction and batch inference for each framework in the Examples folder with instructions in the Examples README.
Note that the evaluation code is standardized across all frameworks to ensure fair comparison. Please refer to the Evaluation folder and the Evaluation README for detailed instructions on the evaluation.
If you find this survey helpful, please cite our paper:
@article{xiang2025use,
title={When to use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented Generation},
author={Xiang, Zhishang and Wu, Chuanjie and Zhang, Qinggang and Chen, Shengyuan and Hong, Zijin and Huang, Xiao and Su, Jinsong},
journal={arXiv preprint arXiv:2506.05690},
year={2025}
}
Python
100.0%
The official repo of GraphRAG-Bench for evaluating GraphRAG models. "When to use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented Generation". (ICLR'26)
See the code📃 Please cite our paper if you find our survey or repository helpful!
📫 Contact us via emails: {xiangzhishang,wuchuanjie}@stu.xmu.edu.cn, qinggangzhang@jlu.edu.cn
This repository is for the GraphRAG-Bench project, a comprehensive benchmark for evaluating Graph Retrieval-Augmented Generation models.

Two domain-specific leaderboards with comprehensive metrics:
1. GraphRAG-Bench (Novel)
2. GraphRAG-Bench (Medical)
Evaluation Dimensions:
Level 1: Fact Retrieval Example: "Which region of France is Mont St. Michel located?"
Level 2: Complex Reasoning Example: "How did Hinze's agreement with Felicia relate to the perception of England's rulers?"
Level 3: Contextual Summarization Example: "What role does John Curgenven play as a Cornish boatman for visitors exploring this region?"
Level 4: Creative Generation Example: "Retell King Arthur's comparison to John Curgenven as a newspaper article."
First, install the necessary dependencies for GraphRAG-Bench.
pip install -r requirements.txt
To prevent dependency conflicts, we strongly recommend using separate Conda environments for each framework:
We use the installation of LightRAG as an example. For other frameworks, please refer to their respective installation instructions.
# Create and activate environment (example for LightRAG)
conda create -n lightrag python=3.10 -y
conda activate lightrag
# Install LightRAG
git clone https://github.com/HKUDS/LightRAG.git
cd LightRAG
pip install -e .
We provide detailed instructions on how to use GraphRAG-Bench to evaluate each framework.
Specifically, we introduce how to perform index construction and batch inference for each framework in the Examples folder with instructions in the Examples README.
Note that the evaluation code is standardized across all frameworks to ensure fair comparison. Please refer to the Evaluation folder and the Evaluation README for detailed instructions on the evaluation.
If you find this survey helpful, please cite our paper:
@article{xiang2025use,
title={When to use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented Generation},
author={Xiang, Zhishang and Wu, Chuanjie and Zhang, Qinggang and Chen, Shengyuan and Hong, Zijin and Huang, Xiao and Su, Jinsong},
journal={arXiv preprint arXiv:2506.05690},
year={2025}
}
Python
100.0%