paper-with-me

홈 › Papers

What Predicts Correctness in Text-to-SQL? A Selective-Prediction Study

2026-07-07 · Robert Richardson arxiv

Evaluating uncertainty in AI-generated SQL queries requires estimating whether a query is correct, where correct means it executes to the same result as a human-written reference. We study which signals predict correctness on hard multi-table text-to-SQL, using AUROC to measure how well each ranks correct queries above incorrect ones. On BIRD and Spider, black-box signals such as string, structural, and execution self-consistency, a schema-relevance score, and query executability all fall between about 0.61 and 0.68 AUROC, with string self-consistency strongest at 0.675; white-box log-probability is similar (0.67). The signals that move past this ceiling are verification-based: an LLM judge scores from 0.72 (GPT-4o-mini) to 0.78 (Claude). Judges from different providers make different errors, so a two-provider ensemble reaches 0.82 AUROC with a well-calibrated probability (expected calibration error 0.03) and supports useful abstention frontiers (for example, answering 27% of questions at 24% selective risk) where self-consistency offers no valid low-risk subset. The pattern holds across two benchmarks, two generators, and two judge providers. We also ask whether a verifier can be trained. Fine-tuned verifiers, both encoder and generative, reach about 0.77 to 0.79 AUROC in-distribution but fall to about 0.66 on unseen schemas; scaling to 7B, adding schema diversity, distilling a strong judge's rationales, and cross-benchmark training all fail to close that gap. Cross-schema transfer appears to track model scale and reasoning rather than fine-tuning. In practice, correctness uncertainty for text-to-SQL lives in reasoning-based signals: a fine-tuned verifier is a good in-domain tool, but a verifier that generalizes across schemas currently means a large frozen reasoning model.

📄 PDF Abstract BibTeX arXiv:2607.06799

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Selective Generation for Controllable Language Models

2023-07-18 · Minjae Lee, KyungMin Kim, Taesoo Kim, Sangdon Park

Trustworthiness of generative language models (GLMs) is crucial in their deployment to critical decision making systems. Hence, certified risk control methods such as selective prediction and conformal prediction have be…

Conformal PredictionHallucinationNatural Language InferencePrediction+2

On Calibrating Semantic Segmentation Models: Analyses and An Algorithm

2022-12-22 · CVPR 2023 1 · Dongdong Wang, Boqing Gong, Liqiang Wang

We study the problem of semantic segmentation calibration. Lots of solutions have been proposed to approach model miscalibration of confidence in image classification. However, to date, confidence calibration research on…

image-classificationImage ClassificationPredictionSegmentation+1

Generalized Correctness Models: Learning Calibrated and Model-Agnostic Correctness Predictors from Historical Patterns

2025-09-29 · Hanqi Xiao, Vaidehi Patil, Hyunji Lee, Elias Stengel-Eskin 외 arxiv

Generating accurate and calibrated confidence estimates is critical for deploying LLMs in high-stakes or user-facing applications, and remains an open challenge. Prior research has often framed confidence as a problem of…

Entropy Alone is Insufficient for Safe Selective Prediction in LLMs

2026-03-22 · Edward Phillips, Fredrik K. Gustafsson, Sean Wu, Anshul Thakur 외 arxiv

Selective prediction systems can mitigate harms resulting from language model hallucinations by abstaining from answering in high-risk cases. Uncertainty quantification techniques are often employed to identify such case…

What Does It Take to Build a Performant Selective Classifier?

2025-10-23 · Stephan Rabanser, Nicolas Papernot arxiv

Selective classifiers improve model reliability by abstaining on inputs the model deems uncertain. However, few practical approaches achieve the gold-standard performance of a perfect-ordering oracle that accepts example…