Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?

About

Sequence-to-sequence models excel at handling natural language variation, but have been shown to struggle with out-of-distribution compositional generalization. This has motivated new specialized architectures with stronger compositional biases, but most of these approaches have only been evaluated on synthetically-generated datasets, which are not representative of natural language variation. In this work we ask: can we develop a semantic parsing approach that handles both natural language variation and compositional generalization? To better assess this capability, we propose new train and test splits of non-synthetic datasets. We demonstrate that strong existing approaches do not perform well across a broad set of evaluations. We also propose NQG-T5, a hybrid model that combines a high-precision grammar-based approach with a pre-trained sequence-to-sequence model. It outperforms existing approaches across several compositional generalization challenges on non-synthetic data, while also being competitive with the state-of-the-art on standard evaluations. While still far from solving this problem, our study highlights the importance of diverse evaluations and the open challenge of handling both compositional generalization and natural language variation in semantic parsing.

Peter Shaw, Ming-Wei Chang, Panupong Pasupat, Kristina Toutanova• 2020

Related benchmarks

TaskDatasetResultRank
Text-to-SQLSpider (test)--
140
Text-to-SQLSpider (dev)--
100
Semantic ParsingGeoQuery (i.i.d.)
Exact Match Accuracy76
32
Semantic ParsingGeoQuery (TMCD)
Exact Match Acc41
12
Semantic ParsingSCAN 1-shot lexical
Accuracy100
6
Semantic ParsingSCAN (length)
Accuracy100
6
Semantic ParsingSCAN (MCD)
Accuracy100
6
Semantic ParsingSCAN (IID)
Accuracy100
6
Semantic ParsingSCAN 0-shot lexical
Accuracy (0-shot)0.00e+0
6
Semantic ParsingSCAN Template
Accuracy0.00e+0
6
Showing 10 of 17 rows

Other info

Follow for update