CLFeb 13, 2024

Improving Generalization in Semantic Parsing by Increasing Natural Language Variation

arXiv:2402.08666v1107 citationsh-index: 86EACL
Originality Incremental advance
AI Analysis

This work addresses generalization issues in semantic parsing for database querying, offering an incremental improvement through enhanced data augmentation.

The paper tackled the problem of poor generalization in text-to-SQL semantic parsers due to limited natural language variation in the Spider benchmark, and by using large language models for data augmentation to double the dataset size, it achieved substantial improvements on robustness and out-of-domain evaluations.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes