Towards Evaluating Large Language Models for Graph Query Generation
November 13, 2024 Β· Declared Dead Β· π arXiv.org
"No code URL or promise found in abstract"
Evidence collected by the PWNC Scanner
Authors
Siraj Munir, Alessandro Aldini
arXiv ID
2411.08449
Category
cs.ET: Emerging Technologies
Cross-listed
cs.CL
Citations
3
Venue
arXiv.org
Last Checked
3 months ago
Abstract
Large Language Models (LLMs) are revolutionizing the landscape of Generative Artificial Intelligence (GenAI), with innovative LLM-backed solutions emerging rapidly. However, when applied to database technologies, specifically query generation for graph databases and Knowledge Graphs (KGs), LLMs still face significant challenges. While research on LLM-driven query generation for Structured Query Language (SQL) exists, similar systems for graph databases remain underdeveloped. This paper presents a comparative study addressing the challenge of generating Cypher queries a powerful language for interacting with graph databases using open-access LLMs. We rigorously evaluate several LLM agents (OpenAI ChatGPT 4o, Claude Sonnet 3.5, Google Gemini Pro 1.5, and a locally deployed Llama 3.1 8B) using a designed few-shot learning prompt and Retrieval Augmented Generation (RAG) backed by Chain-of-Thoughts (CoT) reasoning. Our empirical analysis of query generation accuracy reveals that Claude Sonnet 3.5 outperforms its counterparts in this specific domain. Further, we highlight promising future research directions to address the identified limitations and advance LLM-driven query generation for graph databases.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
π Similar Papers
In the same crypt β Emerging Technologies
π
π
The Cartographer
R.I.P.
π»
Ghosted
In-memory hyperdimensional computing
R.I.P.
π»
Ghosted
Magnetic skyrmion-based synaptic devices
R.I.P.
π»
Ghosted
DNA-Based Storage: Trends and Methods
π
π
The Cartographer
Neuro-memristive Circuits for Edge Computing: A review
R.I.P.
π»
Ghosted
4K-Memristor Analog-Grade Passive Crossbar Circuit
Died the same way β π» Ghosted
R.I.P.
π»
Ghosted
Federated Learning: Strategies for Improving Communication Efficiency
R.I.P.
π»
Ghosted
In-Datacenter Performance Analysis of a Tensor Processing Unit
R.I.P.
π»
Ghosted
Deep Convolutional Neural Networks for Computer-Aided Detection: CNN Architectures, Dataset Characteristics and Transfer Learning
R.I.P.
π»
Ghosted