Good-Enough Compositional Data Augmentation

Jacob Andreas
4/21/2019
cs.CL

Official code: jacobandreas/geca (40 stars, Python, last commit 2021-01-11).

Abstract

We propose a simple data augmentation protocol aimed at providing a compositional inductive bias in conditional and unconditional sequence models. Under this protocol, synthetic training examples are constructed by taking real training examples and replacing (possibly discontinuous) fragments with other fragments that appear in at least one similar environment.

Show full abstract

The protocol is model-agnostic and useful for a variety of tasks. Applied to neural sequence-to-sequence models, it reduces error rate by as much as 87% on diagnostic tasks from the SCAN dataset and 16% on a semantic parsing task. Applied to n-gram language models, it reduces perplexity by roughly 1% on small corpora in several languages.

View on arXivView PDF

Code Implementations(1)

jacobandreas/gecaOfficial100%
406Python, ShellNov 29, 20185 years ago

Similar Papers

Cite this paper

@article{andreas2019goodenough,
  title  = {Good-Enough Compositional Data Augmentation},
  author = {Jacob Andreas},
  year   = {2019},
  eprint = {1904.09545},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.09545}
}

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

Discussion