Pith. sign in

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

arxiv 2402.16567 v3 pith:5JGZROZH submitted 2024-02-26 cs.CL cs.AIcs.DB

classification cs.CLcs.AIcs.DB
keywords graphlanguagellmsdatanl2gqlabsolutealigningdomain-specific
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
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.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 4 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

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

    cs.CL 2024-12 conditional novelty 6.0 of 10

    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.

  2. FathomGPT: A Natural Language Interface for Interactively Exploring Ocean Science Data

    cs.HC 2024-12 conditional novelty 5.0 of 10

    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.

  3. Synergizing Logical Reasoning, Knowledge Management and Collaboration in Multi-Agent LLM System

    cs.MA 2025-07 conditional novelty 4.0 of 10

    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.

  4. A Collaborative Multi-Agent Approach to Retrieval-Augmented Generation Across Diverse Data

    cs.AI 2024-12 reject novelty 3.0 of 10

    A multi-agent RAG architecture with per-database query agents is described, but its stated performance gains are unvalidated.

Pith tools