Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQL

要約

自然言語の質問に従って正確な SQL を生成する (テキストから SQL) ことは、ユーザーの質問の理解、データベース スキーマの理解、および SQL の生成において困難であるため、長年の課題です。
従来のテキストから SQL へのシステムには、人間工学やディープ ニューラル ネットワークが含まれています。
その後、事前トレーニングされた言語モデル (PLM) が開発され、テキストから SQL へのタスクに利用され、期待できるパフォーマンスが達成されました。
最新のデータベースがより複雑になり、対応するユーザーの質問がより困難になるにつれて、理解能力が限られた PLM では誤った SQL が生成される可能性があります。
これには、より高度でカスタマイズされた最適化手法が必要となり、PLM ベースのシステムのアプリケーションが制限されます。
ごく最近、大規模言語モデル (LLM) は、モデルの規模が拡大し続けるにつれて、自然言語理解において顕著な能力を実証しました。
したがって、LLM ベースの実装を統合すると、テキストから SQL への研究に独自の機会、課題、および解決策がもたらされる可能性があります。
この調査では、LLM ベースのテキストから SQL への包括的なレビューを紹介します。
具体的には、現在の課題と text-to-SQL の進化プロセスの簡単な概要を提案します。
次に、text-to-SQL システムを評価するために設計されたデータセットとメトリックについて詳しく説明します。
その後、LLM ベースの text-to-SQL における最近の進歩を体系的に分析します。
最後に、この分野に残された課題について議論し、将来の方向性への期待を提案します。

要約(オリジナル)

Generating accurate SQL according to natural language questions (text-to-SQL) is a long-standing problem since it is challenging in user question understanding, database schema comprehension, and SQL generation. Conventional text-to-SQL systems include human engineering and deep neural networks. Subsequently, pre-trained language models (PLMs) have been developed and utilized for text-to-SQL tasks, achieving promising performance. As modern databases become more complex and corresponding user questions more challenging, PLMs with limited comprehension capabilities can lead to incorrect SQL generation. This necessitates more sophisticated and tailored optimization methods, which, in turn, restricts the applications of PLM-based systems. Most recently, large language models (LLMs) have demonstrated significant abilities in natural language understanding as the model scale remains increasing. Therefore, integrating the LLM-based implementation can bring unique opportunities, challenges, and solutions to text-to-SQL research. In this survey, we present a comprehensive review of LLM-based text-to-SQL. Specifically, we propose a brief overview of the current challenges and the evolutionary process of text-to-SQL. Then, we provide a detailed introduction to the datasets and metrics designed to evaluate text-to-SQL systems. After that, we present a systematic analysis of recent advances in LLM-based text-to-SQL. Finally, we discuss the remaining challenges in this field and propose expectations for future directions.

arxiv情報

著者 Zijin Hong,Zheng Yuan,Qinggang Zhang,Hao Chen,Junnan Dong,Feiran Huang,Xiao Huang
発行日 2024-06-12 17:13:17+00:00
arxivサイト arxiv_id(pdf)

提供元, 利用サービス

arxiv.jp, Google

カテゴリー: cs.AI, cs.CL, cs.DB パーマリンク