ACL Findings2023
Know What I don't Know: Handling Ambiguous and Unknown Questions for Text-to-SQL
Bing Wang, Yan Gao, Zhoujun Li, Jian-Guang Lou
摘要
The task of text-to-SQL aims to convert a natural language question into its corresponding SQL query within the context of relational tables. Existing text-to-SQL parsers generate a "plausible" SQL query for an arbitrary user question, thereby failing to correctly handle problematic user questions. To formalize this problem, we conduct a preliminary study on the observed ambiguous and unanswerable cases in text-to-SQL and summarize them into 6 feature categories. Correspondingly, we identify the causes behind each category and propose requirements for handling ambiguous and unanswerable questions. Following this study, we propose a simple yet effective counterfactual example generation approach that automatically produces ambiguous and unanswerable text-to-SQL examples. Furthermore, we propose a weakly supervised DTE (Detecting-Then-Explaining) model for error detection, localization, and explanation. Experimental results show that our model achieves the best result on both real-world examples and generated examples compared with various baselines. We release our data and code at: https://github.com/wbbeyourself/DTE.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Re-examining the Role of Schema Linking in Text-to-SQL 引用了 RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parsers
- Towards Robustness of Text-to-SQL Models Against Natural and Realistic Adversarial Table Perturbation 引用了 RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parsers
- Towards Robustness of Text-to-SQL Models Against Natural and Realistic Adversarial Table Perturbation 引用了 On the Potential of Lexico-logical Alignments for Semantic Parsing to SQL Queries
- Towards Robustness of Text-to-SQL Models Against Natural and Realistic Adversarial Table Perturbation 引用了 Re-examining the Role of Schema Linking in Text-to-SQL
引用它的顶会 Paper12
- Text2Analysis: A Benchmark of Table Question Answering with Advanced Data Analysis and Unclear QueriesXinyi He, Mengyu Zhou, Xinrun Xu, Xiaojun Ma 等AAAI 2024 · 48 次引用
- SQLens: An End-to-End Framework for Error Detection and Correction in Text-to-SQLYue Gong, Chuan Lei, Xiao Qin, Kapil Vaidya 等NeurIPS 2025 · 21 次引用
- Causality Meets the Table: Debiasing LLMs for Faithful TableQA via Front-Door InterventionZhen Yang, Ziwei Du, Minghan Zhang, Wei Du 等NeurIPS 2025 · 6 次引用
- AdverIntent-Agent: Adversarial Reasoning for Repair Based on Inferred Program IntentHe Ye, Aidan Z. H. Yang, Chang Hu, Yanlin Wang 等ISSTA 2025 · 3 次引用
- From Conversation to Query Execution: Benchmarking User and Tool Interactions for EHR Database AgentsGyubok Lee, Woosog Chay, Heeyoung Kwak, Yeong Hwa Kim 等ICLR 2026 · 2 次引用
它引用的 Paper8
- Simple and Principled Uncertainty Estimation with Deterministic Deep Learning via Distance AwarenessJeremiah Z. Liu, Zi Lin, Shreyas Padhy, Dustin Tran 等NeurIPS 2020 · 604 次引用
- Re-examining the Role of Schema Linking in Text-to-SQLWenqiang Lei, Weixin Wang, Zhixin Ma, Tian Gan 等EMNLP 2020 · 71 次引用
- On the Potential of Lexico-logical Alignments for Semantic Parsing to SQL QueriesTianze Shi, Chen Zhao, Jordan L. Boyd-Graber, Hal Daumé III 等EMNLP Findings 2020 · 45 次引用
- Towards Robustness of Text-to-SQL Models Against Natural and Realistic Adversarial Table PerturbationXinyu Pi, Bing Wang, Yan Gao, Jiaqi Guo 等ACL 2022 · 41 次引用
- RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL ParsersBailin Wang, Richard Shin, Xiaodong Liu, Oleksandr Polozov 等ACL 2020 · 39 次引用
相关 Paper
- Exploring Schema Generalizability of Text-to-SQLJieyu Li, Lu Chen, Ruisheng Cao, Su Zhu 等ACL Findings 2023 · 3 次引用
- SQL-Checker: Error Detection and Labeling for Text-to-SQL with Interpretability AnalysisXingyu Ma, Xin Tian, Lingxiang Wu, Xuepeng Wang 等WWW 2026
- S²SQL: Injecting Syntax to Question-Schema Interaction Graph Encoder for Text-to-SQL ParsersBinyuan Hui, Ruiying Geng, Lihan Wang, Bowen Qin 等ACL Findings 2022 · 66 次引用
- Error Detection for Text-to-SQL Semantic ParsingShijie Chen, Ziru Chen, Huan Sun, Yu SuEMNLP Findings 2023 · 10 次引用
- Data Ambiguity Profiling for the Generation of Training ExamplesEnzo Veltri, Gilbert Badaro, Mohammed Saeed, Paolo PapottiICDE 2023 · 12 次引用
