Show simple item record

dc.contributor.authorGan, Y
dc.contributor.authorChen, X
dc.contributor.authorHuang, Q
dc.contributor.authorPurver, M
dc.contributor.authorWoodward, JR
dc.contributor.authorXie, J
dc.contributor.authorHuang, P
dc.date.accessioned2021-06-24T09:23:07Z
dc.date.available2021-06-24T09:23:07Z
dc.date.issued2021
dc.identifier.urihttps://qmro.qmul.ac.uk/xmlui/handle/123456789/72701
dc.description.abstractRecently, there has been significant progress in studying neural networks to translate text descriptions into SQL queries. Despite achieving good performance on some public benchmarks, existing text-to-SQL models typically rely on the lexical matching between words in natural language (NL) questions and tokens in table schemas, which may render the models vulnerable to attacks that break the schema linking mechanism. In this work, we investigate the robustness of text-to-SQL models to synonym substitution. In particular, we introduce Spider-Syn, a human-curated dataset based on the Spider benchmark for text-to-SQL translation. NL questions in Spider-Syn are modified from Spider, by replacing their schema-related words with manually selected synonyms that reflect real-world question paraphrases. We observe that the accuracy dramatically drops by eliminating such explicit correspondence between NL questions and table schemas, even if the synonyms are not adversarially selected to conduct worst-case adversarial attacks. Finally, we present two categories of approaches to improve the model robustness. The first category of approaches utilizes additional synonym annotations for table schemas by modifying the model input, while the second category is based on adversarial training. We demonstrate that both categories of approaches significantly outperform their counterparts without the defense, and the first category of approaches are more effective.en_US
dc.subjectcs.CLen_US
dc.subjectcs.CLen_US
dc.titleTowards Robustness of Text-to-SQL Models against Synonym Substitutionen_US
dc.typeConference Proceedingen_US
pubs.author-urlhttp://arxiv.org/abs/2106.01065v1en_US
pubs.notesNot knownen_US
rioxxterms.funderDefault funderen_US
rioxxterms.identifier.projectDefault projecten_US
qmul.funderEMBEDDIA: Cross-Lingual Embeddings for Less-Represented Languages in European News Media::European Commissionen_US
qmul.funderEMBEDDIA: Cross-Lingual Embeddings for Less-Represented Languages in European News Media::European Commissionen_US


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record