mlsanityData to 7 Oct 2026

Evaluating and Enhancing LLMs for Multi-turn Text-to-SQL with Multiple Question Types

arXiv 2412.17867 ↗First posted 21 Dec 2024cs.CL cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

Recent advancements in large language models (LLMs) have significantly advanced text-to-SQL systems. However, most LLM-based methods often narrowly focus on SQL generation, neglecting the complexities of real-world conversational queries. This oversight can lead to unreliable responses, particularly for ambiguous questions that cannot be directly addressed with SQL. To bridge this gap, we propose MMSQL, a comprehensive test suite designed to evaluate the question classification and SQL generation capabilities of LLMs by simulating real-world scenarios with diverse question types and multi-turn Q&A interactions. Using MMSQL, we assessed the performance of popular LLMs, including both open-source and closed-source models, and identified key factors impacting their performance in such scenarios. Moreover, we introduce an LLM-based multi-agent framework that employs specialized agents to identify question types and determine appropriate answering strategies. Our experiments demonstrate that this approach significantly enhances the model's ability to navigate the complexities of conversational dynamics, effectively handling the diverse and complex nature of user queries. Our dataset and code are publicly available at https://mcxiaoxiao.github.io/MMSQL.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 33 of its 47 references that are in the map. First posted on arXiv 21 Dec 2024.

Builds on

33 of 47 references.

References · 33

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  4. 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,205
  5. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
  6. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
  7. 2023Instruction-Following Evaluation for Large Language Modelscited by 1,143
  8. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
  9. 2023Large Language Models are not Fair Evaluatorscited by 1,050
  10. 2023ChatDev: Communicative Agents for Software Developmentcited by 893
  11. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
  12. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
21 more
  1. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
  2. 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
  3. 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
  4. 2023A Survey of Hallucination in Large Foundation Modelscited by 365
  5. 2019CoSQL: A Conversational Text-to-SQL Challenge Towards Cross-Domain Natural Language Interfaces to Databasescited by 180
  6. 2023MAC-SQL: A Multi-Agent Collaborative Framework for Text-to-SQLcited by 158
  7. 2019SParC: Cross-Domain Semantic Parsing in Contextcited by 141
  8. 2024CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQLcited by 132
  9. 2019A Comprehensive Exploration on WikiSQL with Table-Aware Word Contextualizationcited by 88
  10. 2023Cognitive Mirage: A Review of Hallucinations in Large Language Modelscited by 83
  11. 2024MT-Eval: A Multi-Turn Capabilities Evaluation Benchmark for Large Language Modelscited by 78
  12. 2024Fine-tuning large language models for domain adaptation: Exploration of training strategies, scaling, model merging and synergistic capabilitiescited by 67
  13. 2023Text2Analysis: A Benchmark of Table Question Answering with Advanced Data Analysis and Unclear Queriescited by 38
  14. 2024AMBROSIA: A Benchmark for Parsing Ambiguous Questions into Database Queriescited by 32
  15. 2023Benchmarking and Improving Text-to-SQL Generation under Ambiguitycited by 31
  16. 2024MAG-SQL: Multi-Agent Generative Approach with Soft Schema Linking and Iterative Sub-SQL Refinement for Text-to-SQLcited by 22
  17. 2020Did You Ask a Good Question? A Cross-Domain Question Intention Classification Benchmark for Text-to-SQLcited by 16
  18. 2024ChatBI: Towards Natural Language to Complex Business Intelligence SQLcited by 9
  19. 2024LLM-Generated Natural Language Meets Scaling Laws: New Explorations and Data Augmentation Methodscited by 8
  20. 2024QDA-SQL: Questions Enhanced Dialogue Augmentation for Multi-Turn Text-to-SQLcited by 5
  21. 2024Grade Score: Quantifying LLM Performance in Option Selectioncited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023On Evaluating the Integration of Reasoning and Action in LLM Agents with Database Question Answering
  2. 2025A Survey of Large Language Model Agents for Question Answering
  3. 2025Agentic LLMs for Question Answering over Tabular Data
  4. 2024Lucy: Think and Reason to Solve Text-to-SQL
  5. 2026A Tri-Agent Framework for Evaluating and Aligning Question Clarification Capabilities of Large Language Models
  6. 2026Accurate Table Question Answering with Accessible LLMs
  7. 2024Open-SQL Framework: Enhancing Text-to-SQL on Open-source Large Language Models
  8. 2024CoE-SQL: In-Context Learning for Multi-Turn Text-to-SQL with Chain-of-Editions