CypherBench: Towards Precise Retrieval over Full-scale Modern Knowledge Graphs in the LLM Era
摘要
Retrieval from graph data is crucial for augmenting large language models (LLM) with both open-domain knowledge and private enterprise data, and it is also a key component in the recent GraphRAG system [1] . Despite decades of research on knowledge graphs and knowledge base question answering, leading LLM frameworks (e.g., Langchain and LlamaIndex) have only minimal support for retrieval from modern encyclopedic knowledge graphs like Wikidata. In this paper, we analyze the root cause and suggest that modern RDF knowledge graphs (e.g., Wikidata, Freebase) are less efficient for LLMs due to overly large schemas that far exceed the typical LLM context window, use of resource identifiers, overlapping relation types and lack of normalization. As a solution, we propose property graph views on top of the underlying RDF graph that can be efficiently queried by LLMs using Cypher. We instantiated this idea on Wikidata and introduced CypherBench, the first benchmark with 11 large-scale, multi-domain property graphs with 7.8 million entities and over 10,000 questions. To achieve this, we tackled several key challenges, including developing an RDF-to-property graph conversion engine, creating a systematic pipeline for text-to-Cypher task generation, and designing new evaluation metrics. Dataset https://huggingface.co/datasets/megagonlabs/cypherbench Code https://github.com/megagonlabs/cypherbench * The work began during Simone Papicchio's internship at Megagon Labs. As part of one subtask of his overall internship goal, he implemented an initial version of the benchmark that involved SQL-inspired template design, query categorization, and validation of the generated benchmark. The work has since further evolved to broaden and bolster the template generation process and redefining query categories while introducing new evaluation metrics. 2 Graph retrieval can be considered as a broader task than KBQA, as it is not only essential for question answering but also for other tasks such as fact checking [9] .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Paths-over-Graph: Knowledge Graph Empowered Large Language Model Reasoning 引用了 Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning
- Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning 引用了 Subgraph Retrieval Enhanced Model for Multi-hop Knowledge Base Question Answering
- CypherSmith: Transforming Text-to-Cypher Generation for LLMs with Synthetic Data 引用了 Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge Bases
- CypherSmith: Transforming Text-to-Cypher Generation for LLMs with Synthetic Data 引用了 Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning
引用它的顶会 Paper5
- The Great Nugget Recall: Automating Fact Extraction and RAG Evaluation with Large Language ModelsRonak Pradeep, Nandan Thakur, Shivani Upadhyay, Daniel Campos 等SIGIR 2025 · 13 次引用
- Cypher-RI: Reinforcement Learning for Integrating Schema Selection into Cypher GenerationHanchen Su, Xuyuan Li, Yan Zhou, Zhuoyi Lu 等NeurIPS 2025 · 1 次引用
- GQLBench: A Large-Scale Cross-Domain, Cross-Dialect Benchmark for NL2GQLYanning Su, Yuhang Zhou, Yang Fang, Sen Liu 等ACL 2026
- CypherSmith: Transforming Text-to-Cypher Generation for LLMs with Synthetic DataZeyu Zhang, Kexuan Sun, Zheng Tang, Jens-S. Vöckler 等ACL 2026
- SQUAB: Evaluating LLM robustness to Ambiguous and Unanswerable Questions in Semantic ParsingSimone Papicchio, Luca Cagliero, Paolo PapottiEMNLP 2025
它引用的 Paper19
- Reasoning on Graphs: Faithful and Interpretable Large Language Model ReasoningLinhao Luo, Yuan-Fang Li, Gholamreza Haffari, Shirui PanICLR 2024 · 499 次引用
- Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge BasesYu Gu, Sue Kase, Michelle Vanni, Brian M. Sadler 等WWW 2021 · 304 次引用
- Subgraph Retrieval Enhanced Model for Multi-hop Knowledge Base Question AnsweringJing Zhang, Xiaokang Zhang, Jifan Yu, Jian Tang 等ACL 2022 · 221 次引用
- Scalable Multi-Hop Relational Reasoning for Knowledge-Aware Question AnsweringYanlin Feng, Xinyue Chen, Bill Yuchen Lin, Peifeng Wang 等EMNLP 2020 · 207 次引用
- Paths-over-Graph: Knowledge Graph Empowered Large Language Model ReasoningXingyu Tan, Xiaoyang Wang, Qing Liu, Xiwei Xu 等WWW 2025 · 86 次引用
相关 Paper
- ZOGRASCOPE: A New Benchmark for Semantic Parsing over Property GraphsFrancesco Cazzaro, Justin Kleindienst, Sofia Márquez Gomez, Ariadna QuattoniEMNLP Findings 2025 · 1 次引用
- Evaluating LLMs on Large-Scale Graph Property Estimation via Random WalksSunil Kumar Maurya, Xin LiuACL 2026
- Dialogue Benchmark Generation from Knowledge Graphs with Cost-Effective Retrieval-Augmented LLMsReham Omar, Omij Mangukiya, Essam MansourSIGMOD 2025 · 9 次引用
- Schema Generation for Large Knowledge Graphs Using Large Language ModelsBohui Zhang, Yuan He, Lydia Pintscher, Albert Meroño-Peñuela 等EMNLP Findings 2025 · 3 次引用
- LightPROF: A Lightweight Reasoning Framework for Large Language Model on Knowledge GraphTu Ao, Yanhua Yu, Yuling Wang, Yang Deng 等AAAI 2025 · 28 次引用
