Structural generalization in COGS: Supertagging is (almost) all you need
Abstract
In many Natural Language Processing applications, neural networks have been found to fail to generalize on out-of-distribution examples. In particular, several recent semantic parsing datasets have put forward important limitations of neural networks in cases where compositional generalization is required. In this work, we extend a neural graph-based semantic parsing framework in several ways to alleviate this issue. Notably, we propose: (1) the introduction of a supertagging step with valency constraints, expressed as an integer linear program; (2) a reduction of the graph prediction problem to the maximum matching problem; (3) the design of an incremental early-stopping training strategy to prevent overfitting. Experimentally, our approach significantly improves results on examples that require structural generalization in the COGS dataset, a known challenging benchmark for compositional generalization. Overall, our results confirm that structural constraints are important for generalization in semantic parsing.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- COGS: A Compositional Generalization Challenge Based on Semantic Interpretation cites Measuring Compositional Generalization: A Comprehensive Method on Realistic Data
- COGS: A Compositional Generalization Challenge Based on Semantic Interpretation cites Permutation Equivariant Models for Compositional Generalization in Language
- Learning to Recombine and Resample Data For Compositional Generalization cites Measuring Compositional Generalization: A Comprehensive Method on Realistic Data
- Learning to Recombine and Resample Data For Compositional Generalization cites Permutation Equivariant Models for Compositional Generalization in Language
- The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers cites COGS: A Compositional Generalization Challenge Based on Semantic Interpretation
- The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers cites Measuring Compositional Generalization: A Comprehensive Method on Realistic Data
- The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers cites Permutation Equivariant Models for Compositional Generalization in Language
- Strengthening Structural Inductive Biases by Pre-training to Perform Syntactic Transformations cites COGS: A Compositional Generalization Challenge Based on Semantic Interpretation
- Strengthening Structural Inductive Biases by Pre-training to Perform Syntactic Transformations cites Measuring Compositional Generalization: A Comprehensive Method on Realistic Data
Cited by top-tier papers1
Builds on13
- Measuring Compositional Generalization: A Comprehensive Method on Realistic DataDaniel Keysers, Nathanael Schärli, Nathan Scales, Hylke Buisman et al.ICLR 2020 · 401 citations
- COGS: A Compositional Generalization Challenge Based on Semantic InterpretationNajoung Kim, Tal LinzenEMNLP 2020 · 149 citations
- Permutation Equivariant Models for Compositional Generalization in LanguageJonathan Gordon, David Lopez-Paz, Marco Baroni, Diane BouchacourtICLR 2020 · 112 citations
- The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of TransformersRóbert Csordás, Kazuki Irie, Jürgen SchmidhuberEMNLP 2021 · 55 citations
- Learning to Recombine and Resample Data For Compositional GeneralizationEkin Akyürek, Afra Feyza Akyürek, Jacob AndreasICLR 2021 · 36 citations
Related papers
- Compositional Generalization without Trees using Multiset Tagging and Latent PermutationsMatthias Lindemann, Alexander Koller, Ivan TitovACL 2023
- Compositional Generalization with Grounded Language ModelsSondre Wold, Étienne Simon, Lucas Georges Gabriel Charpentier, Egor V. Kostylev et al.ACL Findings 2024
- Improving Compositional Generalization in Semantic ParsingInbar Oren, Jonathan Herzig, Nitish Gupta, Matt Gardner et al.EMNLP Findings 2020 · 48 citations
- LAGr: Label Aligned Graphs for Better Systematic Generalization in Semantic ParsingDora Jambor, Dzmitry BahdanauACL 2022
- Compositional Generalization via Semantic TaggingHao Zheng, Mirella LapataEMNLP Findings 2021 · 22 citations
