NAT-NL2GQL: A Novel Multi-Agent Framework for Translating Natural Language to Graph Query Language
Yuanyuan Liang, Tingyu Xie, Gan Peng, Zihao Huang, Yunshi Lan, Weining, Qian

TL;DR
This paper introduces NAT-NL2GQL, a multi-agent framework utilizing collaborative LLMs to improve natural language to graph query language translation, demonstrating superior performance on new and existing datasets.
Contribution
The paper presents a novel multi-agent system with specialized roles for NL2GQL translation, including dataset creation and experimental validation, advancing the state-of-the-art in this domain.
Findings
Outperforms baseline methods on StockGQL and SpCQL datasets.
Develops a new high-quality dataset for NL2GQL in financial graphs.
Shows the effectiveness of multi-agent collaboration in complex query translation.
Abstract
The emergence of Large Language Models (LLMs) has revolutionized many fields, not only traditional natural language processing (NLP) tasks. Recently, research on applying LLMs to the database field has been booming, and as a typical non-relational database, the use of LLMs in graph database research has naturally gained significant attention. Recent efforts have increasingly focused on leveraging LLMs to translate natural language into graph query language (NL2GQL). Although some progress has been made, these methods have clear limitations, such as their reliance on streamlined processes that often overlook the potential of LLMs to autonomously plan and collaborate with other LLMs in tackling complex NL2GQL challenges. To address this gap, we propose NAT-NL2GQL, a novel multi-agent framework for translating natural language to graph query language. Specifically, our framework consists…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSemantic Web and Ontologies · Natural Language Processing Techniques · Topic Modeling
