PremiseSQL: Evaluating Premise Critique and Abstention in Text-to-SQL Systems
Shuo Lin, Jinzhe Li, Chenlu Guo, Yanhan Li, Yuan Wu, Yi Chang
Abstract
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.
Create a lesson
Related papers
Semantic-aware Decoding for Diverse Text-to-SQL under Schema Ambiguity
Shared title terminologycs.CLYuxuan Jiang, Anna Mitsopoulou, Apostolos Koukouvinis et al.
AuditKIT: A Unified Evaluation Spine for Benchmarking, Judging, and Comparing Large Language Models and Agentic Systems
Shared title terminologycs.CLShreeyans Arora, Utsav Avaiya, Zera Lyngkhoi et al.
Abstracts or full text? Evaluating input scope and computational efficiency in biomedical lay summarization
Shared title terminologycs.CLEgecan Çelik Evgin, İlknur Karadeniz, Olcay Taner Yıldız
FOL-Proof: Verifying LLM Text-to-Logic Translations via Deterministic Semantics
Shared title terminologycs.CLYisrael Clark, Guy Katz
Beyond Fixed-Context Likelihood: Zero-Shot AI-Generated Text Detection via Context Perturbation Discrepancy
Shared title terminologycs.CLYifan Tang, Jingran Li, Yihao Wang et al.
ASCENT: A Benchmark for Evaluating and Advancing Stepwise Diagnostic Reasoning in Large Language Models on Common Clinical Scenarios
Shared title terminologycs.CLYera Choi, Yeong Hwa Kim, Jaedeok Lee et al.