BASIL-W: Scope-Aware Evidence for Text-to-SQL Selection
Anup Roy, Rishabh Gyanendra Upadhyay, Animesh Rameshbhai Panara, Aidan Philip Millar, Larry Murray, Robin Mills
Abstract
Execution feedback can mislead text-to-SQL selectors when incomplete query outputs are treated as conclusive evidence. BASIL-W represents observations as scope-aware witnesses containing the executed SQL, its output, completion status, and certified scope. An absence claim requires a completed check covering the claimed predicate and domain. A 2x2 factorial experiment varies scope metadata and an explicit instruction while holding the model, candidates, and probes fixed. On the full Spider and WikiSQL test splits with GPT-4.1, execution accuracy increases from 85.98% to 88.50% and from 90.50% to 91.60% (all six paired contrasts Holm-adjusted p<0.006). The combined interface outperforms either factor alone. The arm ordering also holds with Qwen2.5-Coder-32B and Llama-3.3-70B and on BIRD dev, where the gain reaches +3.7 percentage points. Observed margins over the strongest matched selection baseline are +1.58 on Spider, +1.76 on BIRD dev, and +0.15 on WikiSQL; these comparisons lack paired uncertainty estimates. The Spider audit found unsupported absence-claim rates of 12.0% for raw evidence and 4.3% for BASIL-W. The design does not isolate scope content from prompt length or presentation, and the audit does not establish a causal mechanism.
Create a lesson
Related papers
HandContextLLM: Task-Aware Evidence Selection for Continuous Hand-Task Understanding and Forecasting
Shared title terminologycs.AIChiyue Wang, Dong She, Yang Gao et al.
TASTE: Time-Aware Sequential Evidence Selection with Adaptive Stopping for Time-Sensitive Question Answering
Shared title terminologycs.AILulu Chen, Yiliu Yang, Yue Sun et al.
ESEA: Error-Aware Sparse Expert Allocation for Efficient Diffusion MoE Inference
Shared title terminologycs.AIJing Xu, Jiateng Wei, Chenqian Yan et al.
HBFresh: Selective Refresh Management for LLM Inference on High-Bandwidth Flash
Shared title terminologycs.AIYuanwu Zhu, Yanpeng Hu, Jingwei Sun et al.
Paper2Skill: Compiling Jailbreak Research into Reusable and Evidence-Grounded Evaluation Skills
Shared title terminologycs.AIHaoran Wu, Guan Wang, Xikang Yang et al.
Scout: A Game-Based Framework for Teaching Token, Energy, and Water Awareness in AI-Assisted Programming
Shared title terminologycs.AIAbdur R. Shahid, Ahmed Imteaj