mlsanityData to 14 Oct 2026

Confidence Estimation for Error Detection in Text-to-SQL Systems

arXiv 2501.09527 ↗First posted 16 Jan 2025cs.LG cs.CLcited by 11

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

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  2. 2017On Calibration of Modern Neural Networkscited by 4,960
  3. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  4. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  5. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
  6. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 688
  7. 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 385
  8. 2020Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep Learningcited by 210
  9. 2022Out-of-Distribution Detection and Selective Generation for Conditional Language Modelscited by 197
  10. 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
  11. 2021KaggleDBQA: Realistic Evaluation of Text-to-SQL Parserscited by 106
  12. 2023Dr.Spider: A Diagnostic Evaluation Benchmark towards Text-to-SQL Robustnesscited by 53
8 more
  1. 2024Understanding the Effects of Noise in Text-to-SQL: An Examination of the BIRD-Bench Benchmarkcited by 34
  2. 2018Confidence Modeling for Neural Semantic Parsingcited by 33
  3. 2022Calibrated Interpretation: Confidence Estimation in Semantic Parsingcited by 33
  4. 2024TrustSQL: Benchmarking Text-to-SQL Reliability with Penalty-Based Scoringcited by 17
  5. 2023Error Detection for Text-to-SQL Semantic Parsingcited by 12
  6. 2022SUN: Exploring Intrinsic Uncertainties in Text-to-SQL Parserscited by 7
  7. 2024ProbGate at EHRSQL 2024: Enhancing SQL Query Generation Accuracy through Probabilistic Threshold Filtering and Error Handlingcited by 7
  8. 2024Towards Unbiased Evaluation of Detecting Unanswerable Questions in EHRSQLcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 6; 2026: 5.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024SelECT-SQL: Self-correcting ensemble Chain-of-Thought for Text-to-SQL
  2. 2025SLM-SQL: An Exploration of Small Language Models for Text-to-SQL
  3. 2026What Predicts Correctness in Text-to-SQL? A Selective-Prediction Study
  4. 2024Learning from Imperfect Data: Towards Efficient Knowledge Distillation of Autoregressive Language Models for Text-to-SQL
  5. 2025GradeSQL: Test-Time Inference with Outcome Reward Models for Text-to-SQL Generation from Large Language Models
  6. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction
  7. 2025Text2SQL-Flow: A Robust SQL-Aware Data Augmentation Framework for Text-to-SQL
  8. 2026Human-Level Text-to-SQL via Reinforcement Learning on Verified Data, Without Pipeline Engineering