SQLfuse: Enhancing Text-to-SQL Performance through Comprehensive LLM Synergy

Tingkai Zhang, Chaoyu Chen, Cong Liao, Jun Wang, Xudong Zhao +4 more
7/19/2024
cs.CLcs.AIcs.DB

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Text-to-SQL conversion is a critical innovation, simplifying the transition from complex SQL to intuitive natural language queries, especially significant given SQL's prevalence in the job market across various roles. The rise of Large Language Models (LLMs) like GPT-3.5 and GPT-4 has greatly advanced this field, offering improved natural language understanding and the ability to generate nuanced SQL statements. However, the potential of open-source LLMs in Text-to-SQL applications remains underexplored, with many frameworks failing to leverage their full capabilities, particularly in handling complex database queries and incorporating feedback for iterative refinement. Addressing these limitations, this paper introduces SQLfuse, a robust system integrating open-source LLMs with a suite of tools to enhance Text-to-SQL translation's accuracy and usability. SQLfuse features four modules: schema mining, schema linking, SQL generation, and a SQL critic module, to not only generate but also continuously enhance SQL query quality. Demonstrated by its leading performance on the Spider Leaderboard and deployment by Ant Group, SQLfuse showcases the practical merits of open-source LLMs in diverse business contexts.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2024sqlfuse,
  title  = {SQLfuse: Enhancing Text-to-SQL Performance through Comprehensive LLM Synergy},
  author = {Tingkai Zhang and Chaoyu Chen and Cong Liao and Jun Wang and Xudong Zhao and Hang Yu and Jianchao Wang and Jianguo Li and Wenhui Shi},
  year   = {2024},
  eprint = {2407.14568},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.14568v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.14568.svg)](https://codeofpaper.com/paper/2407.14568)

Discussion