Improving Generalization in Semantic Parsing by Increasing Natural Language Variation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Saparina, Irina, Lapata, Mirella
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866929242495778816
author Saparina, Irina
Lapata, Mirella
author_facet Saparina, Irina
Lapata, Mirella
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2402_08666
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Improving Generalization in Semantic Parsing by Increasing Natural Language Variation
Saparina, Irina
Lapata, Mirella
Computation and Language
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.
title Improving Generalization in Semantic Parsing by Increasing Natural Language Variation
topic Computation and Language
url https://arxiv.org/abs/2402.08666