Learning to Recombine and Resample Data for Compositional Generalization

Ekin Akyürek, Afra Feyza Akyürek, Jacob Andreas
10/8/2020
cs.CLcs.LG

Official code: ekinakyurek/compgen (11 stars, Jupyter Notebook, last commit 2020-10-09).

Abstract

Flexible neural sequence models outperform grammar- and automaton-based counterparts on a variety of tasks. However, neural models perform poorly in settings requiring compositional generalization beyond the training data -- particularly to rare or unseen subsequences.

Show full abstract

Past work has found symbolic scaffolding (e.g. grammars or automata) essential in these settings. We describe R&R, a learned data augmentation scheme that enables a large category of compositional generalizations without appeal to latent symbolic structure. R&R has two components: recombination of original training examples via a prototype-based generative model and resampling of generated examples to encourage extrapolation. Training an ordinary neural sequence model on a dataset augmented with recombined and resampled examples significantly improves generalization in two language processing problems -- instruction following (SCAN) and morphological analysis (SIGMORPHON 2018) -- where R&R enables learning of new constructions and tenses from as few as eight initial examples.

View on arXivView PDF

Code Implementations(1)

Paper: Learning to Recombine and Resample Data for Compositional Generalization

111Jupyter Notebook, JuliaOct 25, 20196 years ago

Similar Papers

Cite this paper

@article{akyrek2020learning,
  title  = {Learning to Recombine and Resample Data for Compositional Generalization},
  author = {Ekin Akyürek and Afra Feyza Akyürek and Jacob Andreas},
  year   = {2020},
  eprint = {2010.03706},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.03706}
}

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

Discussion