Exploring Underexplored Limitations of Cross-Domain Text-to-SQL Generalization
Yujian Gan, Xinyun Chen, Matthew Purver

TL;DR
This paper examines the limitations of current cross-domain text-to-SQL models in handling rare domain knowledge, introduces a new dataset to evaluate this challenge, and shows significant accuracy drops in such scenarios.
Contribution
It introduces Spider-DK, a human-curated dataset highlighting the models' struggles with rarely observed domain knowledge in text-to-SQL translation.
Findings
Prediction accuracy drops significantly on samples requiring rare domain knowledge.
Models perform poorly on unseen domain knowledge even if related training samples exist.
The dataset reveals robustness issues in current text-to-SQL models.
Abstract
Recently, there has been significant progress in studying neural networks for translating text descriptions into SQL queries under the zero-shot cross-domain setting. Despite achieving good performance on some public benchmarks, we observe that existing text-to-SQL models do not generalize when facing domain knowledge that does not frequently appear in the training data, which may render the worse prediction performance for unseen domains. In this work, we investigate the robustness of text-to-SQL models when the questions require rarely observed domain knowledge. In particular, we define five types of domain knowledge and introduce Spider-DK (DK is the abbreviation of domain knowledge), a human-curated dataset based on the Spider benchmark for text-to-SQL translation. NL questions in Spider-DK are selected from Spider, and we modify some samples by adding domain knowledge that reflects…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Multimodal Machine Learning Applications
