Research on the robustness of text-to-SQL models to synonym substitutionTowards Robustness of Text-to-SQL Models against Synonym Substitution
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.