Revisiting the Compositional Generalization Abilities of Neural Sequence Models

Arkil Patel, Satwik Bhattamishra, Phil Blunsom, Navin Goyal
3/14/2022
cs.CL

Official code: arkilpatel/Compositional-Generalization-Seq2Seq (13 stars, Python, MIT, last commit 2024-10-23).

Abstract

Compositional generalization is a fundamental trait in humans, allowing us to effortlessly combine known phrases to form novel sentences. Recent works have claimed that standard seq-to-seq models severely lack the ability to compositionally generalize.

Show full abstract

In this paper, we focus on one-shot primitive generalization as introduced by the popular SCAN benchmark. We demonstrate that modifying the training distribution in simple and intuitive ways enables standard seq-to-seq models to achieve near-perfect generalization performance, thereby showing that their compositional generalization abilities were previously underestimated. We perform detailed empirical analysis of this phenomenon. Our results indicate that the generalization performance of models is highly sensitive to the characteristics of the training data which should be carefully considered while designing such benchmarks in future.

View on arXivView PDF

Code Implementations(1)

MIT

ACL 2022: Revisiting the Compositional Generalization Abilities of Neural Sequence Models

130Python, ShellMar 9, 20222 years agoMIT

Similar Papers

Cite this paper

@article{patel2022revisiting,
  title  = {Revisiting the Compositional Generalization Abilities of Neural Sequence Models},
  author = {Arkil Patel and Satwik Bhattamishra and Phil Blunsom and Navin Goyal},
  year   = {2022},
  eprint = {2203.07402},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.07402}
}

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/2203.07402.svg)](https://codeofpaper.com/paper/2203.07402)

Discussion