DiscoverDaily Paper CastCypherBench: Towards Precise Retrieval over Full-scale Modern Knowledge Graphs in the LLM Era
CypherBench: Towards Precise Retrieval over Full-scale Modern Knowledge Graphs in the LLM Era

CypherBench: Towards Precise Retrieval over Full-scale Modern Knowledge Graphs in the LLM Era

Update: 2024-12-31
Share

Description

🤗 Upvotes: 3 | cs.CL, cs.AI, cs.DB



Authors:

Yanlin Feng, Simone Papicchio, Sajjadur Rahman



Title:

CypherBench: Towards Precise Retrieval over Full-scale Modern Knowledge Graphs in the LLM Era



Arxiv:

http://arxiv.org/abs/2412.18702v1



Abstract:

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 (edge et al., 2024). 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.

Comments 
In Channel
1.58-bit FLUX

1.58-bit FLUX

2024-12-3122:59

loading
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

CypherBench: Towards Precise Retrieval over Full-scale Modern Knowledge Graphs in the LLM Era

CypherBench: Towards Precise Retrieval over Full-scale Modern Knowledge Graphs in the LLM Era

Jingwen Liang, Gengyu Wang