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

Alban Petit, Caio Corro, François Yvon
10/21/2023
cs.CL

No confident code implementation found for this paper.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{petit2023structural,
  title  = {Structural generalization in COGS: Supertagging is (almost) all you need},
  author = {Alban Petit and Caio Corro and François Yvon},
  year   = {2023},
  eprint = {2310.14124},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.14124v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.14124.svg)](https://codeofpaper.com/paper/2310.14124)

Discussion