Text-to-SQL study tests when AI systems should withhold queries
In an arXiv preprint, Avinash Kumar Singh and colleagues tested a method for deciding when to withhold an AI-generated SQL query. On the Spider benchmark, GPT-OSS-120B generated the query and Gemma-4-31B assessed it alongside its execution result. With a 15% error budget, the system accepted 52.4% of queries on average across 10 resampled splits. The observed error rate among accepted queries was 9.1%, compared with 22.6% when every query was accepted. Confidence scores still helped distinguish correct queries on the BIRD benchmark without retraining, but the error guarantee did not carry over.
Why it matters
A query can run successfully and still answer the wrong question. The benchmark quantifies the trade-off between returning fewer queries and reducing the error rate among those returned.
Sources
- OpenAI reports early lab evidence for GPT-6.2 protein designs
- AI-assisted searches flag possible planets in public telescope data
- Google DeepMind launches benchmark for everyday AI reliability
- Google expands Gemini partnership with the Warriors, Valkyries and Chase Center
- Amazon SageMaker HyperPod adds a training health check for EKS clusters