English

Structural generalization in COGS: Supertagging is (almost) all you need

Computation and Language 2023-10-24 v1

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.

Keywords

Cite

@article{arxiv.2310.14124,
  title  = {Structural generalization in COGS: Supertagging is (almost) all you need},
  author = {Alban Petit and Caio Corro and François Yvon},
  journal= {arXiv preprint arXiv:2310.14124},
  year   = {2023}
}

Comments

accepted at EMNLP 2023

R2 v1 2026-06-28T12:57:48.003Z