Improving Generalization in Semantic Parsing by Increasing Natural Language Variation

Irina Saparina, Mirella Lapata


Abstract
Text-to-SQL semantic parsing has made significant progress in recent years, with various models demonstrating impressive performance on the challenging Spider benchmark. However, it has also been shown that these models often struggle to generalize even when faced with small perturbations of previously (accurately) parsed expressions. This is mainly due to the linguistic form of questions in Spider which are overly specific, unnatural, and display limited variation. In this work, we use data augmentation to enhance the robustness of text-to-SQL parsers against natural language variations. Existing approaches generate question reformulations either via models trained on Spider or only introduce local changes. In contrast, we leverage the capabilities of large language models to generate more realistic and diverse questions. Using only a few prompts, we achieve a two-fold increase in the number of questions in Spider. Training on this augmented dataset yields substantial improvements on a range of evaluation sets, including robustness benchmarks and out-of-domain data.
Anthology ID:
2024.eacl-long.71
Volume:
Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers)
Month:
March
Year:
2024
Address:
St. Julian’s, Malta
Editors:
Yvette Graham, Matthew Purver
Venue:
EACL
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
1178–1193
Language:
URL:
https://aclanthology.org/2024.eacl-long.71
DOI:
Bibkey:
Cite (ACL):
Irina Saparina and Mirella Lapata. 2024. Improving Generalization in Semantic Parsing by Increasing Natural Language Variation. In Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1178–1193, St. Julian’s, Malta. Association for Computational Linguistics.
Cite (Informal):
Improving Generalization in Semantic Parsing by Increasing Natural Language Variation (Saparina & Lapata, EACL 2024)
Copy Citation:
PDF:
https://aclanthology.org/2024.eacl-long.71.pdf