Know When to Abstain: conformal confidence estimation for Text-to-SQL
Original title: Know When to Abstain: Conformal Confidence Estimation for Text-to-SQL
On Spider, a 15% risk budget accepts 52.4% of queries with 9.1% observed error, versus 22.6% wrong without abstention.
The paper treats Text-to-SQL confidence as probabilistic query validation under a latent correctness variable. A generator LLM writes and executes a query; a separate critic LLM scores the query and its result. Those scores fuse with verbalized confidence, token uncertainty and SQL features in a random forest, with Learn-then-Test and conformal p-values bounding accepted error and false abstention. On Spider, GPT-OSS-120B and Gemma-4-31B yield AUARC 0.899. Scores stay informative on BIRD without retraining, but the risk guarantee does not transfer.
- Without abstention, 22.6% of Spider queries are wrong.
- A 15% budget with delta 0.1 is certified on all 10 splits.
- The system accepts 52.4% of queries with 9.1% observed error.
- Against Olmo-3-32B logits, AUARC is 89.5 versus 81.2.
- On BIRD, AUROC is 0.72 versus 0.79 on Spider.
- AI models
- GPT-OSS-120BGemma-4-31BOlmo-3-32B
From the original article
1 min read at arxiv.orgText-to-SQL systems often return queries that execute successfully but answer the wrong question. Detecting these errors at deployment is hard because execution correctness is defined against a gold query, which exists only in labeled data.
By Avinash Kumar Singh · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.