NeFut Logo NeFut
Admin Login

[CS.AI] QDA-SQL: Enhancing Multi-Turn Text-to-SQL with Dialogue Augmentation

Published at: 2026-07-19 22:00 Last updated: 2026-07-22 01:02
#algorithm #AI #Machine Learning

Abstract

Fine-tuning large language models (LLMs) for specific domain tasks has achieved great success in Text-to-SQL tasks. However, these fine-tuned models often face challenges with multi-turn Text-to-SQL tasks caused by ambiguous or unanswerable questions. It is desired to enhance LLMs to handle multiple types of questions in multi-turn Text-to-SQL tasks.

To address this, we propose a novel data augmentation method, called QDA-SQL, which generates multiple types of multi-turn Q&A pairs using LLMs. In QDA-SQL, we introduce a method incorporating validation and correction mechanisms to handle complex multi-turn Text-to-SQL tasks. Experimental results demonstrate that QDA-SQL enables fine-tuned models to exhibit higher performance on SQL statement accuracy and enhances their ability to handle complex, unanswerable questions in multi-turn Text-to-SQL tasks.

The generation script and test set are released at GitHub.

Blogger's Review: QDA-SQL significantly enhances LLMs' performance in multi-turn dialogues, particularly in handling complex queries. This offers a fresh perspective for future SQL generation tasks, making it a noteworthy area for further exploration and study.

Original Source: https://arxiv.org/abs/2406.10593

[h] Back to Home