Know When to Abstain: Conformal Confidence Estimation for Text-to-SQL
[Sztuczna inteligencja] Autorzy: Avinash Kumar Singh, Bhaskarjit Sarmah, Stefano Pasquali
Text-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. We formulate confidence estimation for Text-to-SQL as probabilistic query validation under a latent correctness variable that is observable at calibration time through gold-SQL execution and latent at deployment. Our estimator separates generation from validation. A generator LLM writes and executes the query, and a different critic LLM judges the query and its execution result. The critic's validation and execution-grounded alignment scores are fused with the generator's verbalized confidence, token-level uncertainty, and SQL-structural features in a Random Forest, using two sequential LLM calls. Two calibration steps give finite-sample guarantees. …
- Kategoria arxiv
- cs.AI
- Kategoria
- Sztuczna inteligencja