paper-with-me

Papers

Auto-Cypher: Improving LLMs on Cypher generation via LLM-supervised generation-verification framework

2024-12-17 · Aman Tiwari, Shiva Krishna Reddy Malay, Vikas Yadav, Masoud Hashemi, Sathwik Tejaswi Madhusudhan

Graph databases like Neo4j are gaining popularity for handling complex, interconnected data, over traditional relational databases in modeling and querying relationships. While translating natural language into SQL queries is well-researched, generating Cypher queries for Neo4j remains relatively underexplored. In this work, we present an automated, LLM-Supervised, pipeline to generate high-quality synthetic data for Text2Cypher. Our Cypher data generation pipeline introduces LLM-As-Database-Filler, a novel strategy for ensuring Cypher query correctness, thus resulting in high quality generations. Using our pipeline, we generate high quality Text2Cypher data - SynthCypher containing 29.8k instances across various domains and queries with varying complexities. Training open-source LLMs like LLaMa-3.1-8B, Mistral-7B, and QWEN-7B on SynthCypher results in performance gains of up to 40% on the Text2Cypher test split and 30% on the SPIDER benchmark, adapted for graph databases.

📄 PDF Abstract BibTeX arXiv:2412.12612

Code (0)

등록된 구현이 없습니다.

Tasks

Knowledge GraphsSynthetic Data Generationtext-to-Cypher

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

SyntheT2C: Generating Synthetic Data for Fine-Tuning Large Language Models on the Text2Cypher Task

2024-06-15 · Ziije Zhong, Linqing Zhong, Zhaoze Sun, Qingyun Jin 외

Integrating Large Language Models (LLMs) with existing Knowledge Graph (KG) databases presents a promising avenue for enhancing LLMs' efficacy and mitigating their "hallucinations". Given that most KGs reside in graph da…

Achieving Precise Text-To-Cypher Via Grounded Knowledge Graph Data Generation

2026-06-12 · Francesco Cazzaro, Jessica Lennon, Ariadna Quattoni arxiv

Property Graphs are rapidly being adopted as database frameworks for representing heterogeneous data sources. To enable precise access to the information contained in them we need conversational interfaces based on Text-…

Synthetic Data Generation

PIPE-Cypher: Automatic Enterprise Benchmark Generation for Text-to-Cypher Systems

2026-06-07 · Suraj Ranganath, Anish Raghavendra arxiv

Enterprise property graphs vary widely in schema structure, internal terminology, domain assumptions, governance constraints, and user interaction patterns. A deployment-relevant Text2Cypher benchmark therefore reflects …

KG2Cypher: Data-Centric Pipeline for Building Enterprise Text-to-Cypher Systems

2026-06-26 · Minjun Choi, Yerin Kim, Junghyuk Seo, Sujin Mo 외 arxiv

Enterprise Knowledge Graphs (KGs) are increasingly used for internal search, analytics, and question answering, but building natural-language interfaces for private enterprise graphs remains costly. We present KG2Cypher,…

Question AnsweringKnowledge Graphs

Text2Cypher: Bridging Natural Language and Graph Databases

2024-12-13 · Makbule Gulcin Ozsoy, Leila Messallem, Jon Besga, Gianandrea Minneci

Knowledge graphs use nodes, relationships, and properties to represent arbitrarily complex data. When stored in a graph database, the Cypher query language enables efficient modeling and querying of knowledge graphs. How…

Knowledge GraphsNatural Language Queries