Confidence Estimation for Error Detection in Text-to-SQL Systems
Not on the map. Why?
Abstract (arXiv)
Text-to-SQL enables users to interact with databases through natural language, simplifying the retrieval and synthesis of information. Despite the success of large language models (LLMs) in converting natural language questions into SQL queries, their broader adoption is limited by two main challenges: achieving robust generalization across diverse queries and ensuring interpretative confidence in their predictions. To tackle these issues, our research investigates the integration of selective classifiers into Text-to-SQL systems. We analyse the trade-off between coverage and risk using entropy based confidence estimation with selective classifiers and assess its impact on the overall performance of Text-to-SQL models. Additionally, we explore the models' initial calibration and improve it with calibration techniques for better model alignment between confidence and accuracy. Our experimental results show that encoder-decoder T5 is better calibrated than in-context-learning GPT 4 and decoder-only Llama 3, thus the designated external entropy-based selective classifier has better performance. The study also reveal that, in terms of error detection, selective classifier with a higher probability detects errors associated with irrelevant questions rather than incorrect query generations.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 20 of its 40 references that are in the map. First posted on arXiv 16 Jan 2025.
Builds on
20 of 40 references.
References · 20
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
- 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 688
- 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 385
- 2020Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep Learningcited by 210
- 2022Out-of-Distribution Detection and Selective Generation for Conditional Language Modelscited by 197
- 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
- 2021KaggleDBQA: Realistic Evaluation of Text-to-SQL Parserscited by 106
- 2023Dr.Spider: A Diagnostic Evaluation Benchmark towards Text-to-SQL Robustnesscited by 53
8 more
- 2024Understanding the Effects of Noise in Text-to-SQL: An Examination of the BIRD-Bench Benchmarkcited by 34
- 2018Confidence Modeling for Neural Semantic Parsingcited by 33
- 2022Calibrated Interpretation: Confidence Estimation in Semantic Parsingcited by 33
- 2024TrustSQL: Benchmarking Text-to-SQL Reliability with Penalty-Based Scoringcited by 17
- 2023Error Detection for Text-to-SQL Semantic Parsingcited by 12
- 2022SUN: Exploring Intrinsic Uncertainties in Text-to-SQL Parserscited by 7
- 2024ProbGate at EHRSQL 2024: Enhancing SQL Query Generation Accuracy through Probabilistic Threshold Filtering and Error Handlingcited by 7
- 2024Towards Unbiased Evaluation of Detecting Unanswerable Questions in EHRSQLcited by 3
Built on by
Citing papers per year: 2025: 6; 2026: 5.
11 papers.
- 2025Confidence Estimation for Text-to-SQL in Large Language Modelscited by 3
- 2025Node-Level Uncertainty Estimation in LLM-Generated SQLcited by 2
- 2025Team Anotheroption at SemEval-2025 Task 8: Bridging the Gap Between Open-Source and Proprietary LLMs in Table QAcited by 1
- 2025The benefits of query-based KGQA systems for complex and temporal questions in LLM eracited by 1
- 2026SCP-NL2TL: Selective Conformal Prediction with Semantic Verification for Natural Language to Temporal Logic Specificationscited by 1
- 2026Never the Number: Structural Abstention for AI Systems Whose Answers Are Consumed as Factcited by 1
- 2025SCARE: A Benchmark for SQL Correction and Question Answerability Classification for Reliable EHR Question Answeringcited by 0
- 2025Bridging Global Intent with Local Details: A Hierarchical Representation Approach for Semantic Validation in Text-to-SQLcited by 0
- 2026TrustDABench: Benchmarking Reliability and Robustness of LLMs for Structured Data Analysiscited by 0
- 2026Certified Against Which Oracle? Execution Labels Set the Reported Risk of Conformal Abstention for Text-to-SQLcited by 0
- 2026Trajectory-Derived Confidence for Reliable, Resource-Aware Clinical Text-to-SQL Agentscited by 0
- 2026Trajectory-Derived Confidence for Reliable, Resource-Aware Clinical Text-to-SQL Agents2 Oct 2026
- 2026Certified Against Which Oracle? Execution Labels Set the Reported Risk of Conformal Abstention for Text-to-SQL22 Sep 2026
- 2026TrustDABench: Benchmarking Reliability and Robustness of LLMs for Structured Data Analysis25 Aug 2026
- 2026Never the Number: Structural Abstention for AI Systems Whose Answers Are Consumed as Fact14 Aug 2026
- 2026SCP-NL2TL: Selective Conformal Prediction with Semantic Verification for Natural Language to Temporal Logic Specifications5 Aug 2026
- 2025Bridging Global Intent with Local Details: A Hierarchical Representation Approach for Semantic Validation in Text-to-SQL28 Dec 2025
- 2025Node-Level Uncertainty Estimation in LLM-Generated SQL17 Nov 2025
- 2025SCARE: A Benchmark for SQL Correction and Question Answerability Classification for Reliable EHR Question Answering13 Nov 2025
- 2025Confidence Estimation for Text-to-SQL in Large Language Models8 Aug 2025
- 2025The benefits of query-based KGQA systems for complex and temporal questions in LLM era16 Jul 2025
- 2025Team Anotheroption at SemEval-2025 Task 8: Bridging the Gap Between Open-Source and Proprietary LLMs in Table QA11 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2024SelECT-SQL: Self-correcting ensemble Chain-of-Thought for Text-to-SQL
- 2025SLM-SQL: An Exploration of Small Language Models for Text-to-SQL
- 2026What Predicts Correctness in Text-to-SQL? A Selective-Prediction Study
- 2024Learning from Imperfect Data: Towards Efficient Knowledge Distillation of Autoregressive Language Models for Text-to-SQL
- 2025GradeSQL: Test-Time Inference with Outcome Reward Models for Text-to-SQL Generation from Large Language Models
- 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction
- 2025Text2SQL-Flow: A Robust SQL-Aware Data Augmentation Framework for Text-to-SQL
- 2026Human-Level Text-to-SQL via Reinforcement Learning on Verified Data, Without Pipeline Engineering