Skip to content

Research on the robustness of text-to-SQL models to synonym substitutionTowards Robustness of Text-to-SQL Models against Synonym Substitution

arXiv· arXiv:2106.01065· ACL 2021· Yujian Gan, Xinyun Chen, Qiuping Huang, Matthew Purver, John R. Woodward, Jinxia Xie, Pengsheng Huang·Indexed by this site · 25 days ago· Originally publishedAI updates
AI summary

The paper studies the robustness of text-to-SQL models under synonym substitution. The authors build a manually annotated dataset, Spider-Syn, based on Spider, replacing words in natural language questions that relate to the table schema with manually selected synonyms, simulating real question paraphrasing. The authors find that once this explicit correspondence is removed, model accuracy drops substantially, even though these synonyms were not selected as worst-case adversarial attacks. To improve robustness, the authors propose two types of methods: one augments the model input with synonym annotations for the table schema, and the other is based on adversarial training. Experiments show that both types of methods significantly outperform the undefended baseline, and that the first type is more effective.

Read originalACL 2021