REVIEW 4 cited by
Aligning Large Language Models to a Domain-specific Graph Database for NL2GQL
Not yet reviewed by Pith; the record is open.
This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.
SPECIMEN: schema-true, not a live event
T0 review · schema-true
One-sentence machine reading of the paper's core claim.
pith:XXXXXXXX · record.json · timestamp
read the original abstract
Graph Databases (Graph DB) find extensive application across diverse domains such as finance, social networks, and medicine. Yet, the translation of Natural Language (NL) into the Graph Query Language (GQL), referred to as NL2GQL, poses significant challenges owing to its intricate and specialized nature. Some approaches have sought to utilize Large Language Models (LLMs) to address analogous tasks like text2SQL. Nonetheless, in the realm of NL2GQL tasks tailored to a particular domain, the absence of domain-specific NL-GQL data pairs adds complexity to aligning LLMs with the graph DB. To tackle this challenge, we present a well-defined pipeline. Initially, we utilize ChatGPT to generate NL-GQL data pairs, leveraging the provided graph DB with self-instruction. Subsequently, we employ the generated data to fine-tune LLMs, ensuring alignment between LLMs and the graph DB. Moreover, we find the importance of relevant schema in efficiently generating accurate GQLs. Thus, we introduce a method to extract relevant schema as the input context. We evaluate our method using two carefully constructed datasets derived from graph DBs in the finance and medicine domains, named FinGQL and MediGQL. Experimental results reveal that our approach significantly outperforms a set of baseline methods, with improvements of 5.90 and 6.36 absolute points on EM, and 6.00 and 7.09 absolute points on EX for FinGQL and MediGQL, respectively.
Forward citations
Cited by 4 Pith papers
-
CypherBench: Towards Precise Retrieval over Full-scale Modern Knowledge Graphs in the LLM Era
CypherBench provides 11 Wikidata-derived property graphs and 10,000+ text-to-Cypher questions, and state-of-the-art LLMs currently answer only about 60% correctly.
-
FathomGPT: A Natural Language Interface for Interactively Exploring Ocean Science Data
FathomGPT is an open-source natural language interface for the FathomNet ocean image database, with ablations showing improved text-to-SQL accuracy through fine-tuning and prompt modification.
-
Synergizing Logical Reasoning, Knowledge Management and Collaboration in Multi-Agent LLM System
SynergyMAS combines a graph database with a Clingo logic solver, corrective RAG, and Theory of Mind prompts in a hierarchical multi-agent team, demonstrated on a Smart Home Energy Management case study.
-
A Collaborative Multi-Agent Approach to Retrieval-Augmented Generation Across Diverse Data
A multi-agent RAG architecture with per-database query agents is described, but its stated performance gains are unvalidated.
Discussion (0). Continue with ORCID to comment.