PremiseSQL: Evaluating Premise Critique and Abstention in Text-to-SQL Systems
Not on the map. Why?
Abstract (arXiv)
Recent advances in large language models (LLMs) have substantially improved Text-to-SQL performance, yet existing NL2SQL systems largely assume that user queries are valid and answerable. As a result, models often generate executable SQL even for queries with flawed premises. We introduce premise critique ability in NL2SQL, namely the ability to recognize flawed queries and abstain from generating misleading SQL. To evaluate this capability, we propose PremiseSQL, a benchmark containing 1,800 flawed NL2SQL queries across four categories of premise failures, along with their 1,800 original queries. We further design an evaluation framework to measure intrinsic and prompt-induced premise-aware behavior across three prompting settings. Experiments on frontier LLMs show that current models are strongly premise-trusting by default and rarely critique flawed premises. Stronger critique-oriented prompting improves detection and abstention on flawed queries, but also increases false invalid judgments and suppresses SQL generation on originals. The code is available at https://github.com/vegeet/PremiseSQL.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 16 of its 31 references that are in the map. Submitted 15 Oct 2026.
Builds on
16 of 31 references.
References · 16
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,772
- 2025Qwen3 Technical Reportcited by 10,000
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 3,132
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,622
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,205
- 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 747
- 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 503
- 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 446
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 432
- 2022Out-of-Distribution Detection and Selective Generation for Conditional Language Modelscited by 205
- 2025AbstentionBench: Reasoning LLMs Fail on Unanswerable Questionscited by 178
- 2022Reliable Visual Question Answering: Abstain Rather Than Answer Incorrectlycited by 106
4 more
- 2025NL2SQL-BUGs: A Benchmark for Detecting Semantic Errors in NL2SQL Translationcited by 38
- 2026The Llama 4 Herd: Architecture, Training, Evaluation, and Deployment Notescited by 33
- 2024TrustSQL: Benchmarking Text-to-SQL Reliability with Penalty-Based Scoringcited by 20
- 2020Did You Ask a Good Question? A Cross-Domain Question Intention Classification Benchmark for Text-to-SQLcited by 17
Built on by
Not cited yet.