SSMBA: Self-Supervised Manifold Based Data Augmentation for Improving Out-of-Domain Robustness

Nathan Ng, Kyunghyun Cho, Marzyeh Ghassemi
9/21/2020
cs.CLcs.LGstat.ML
contrastive-ssl

Official code: nng555/ssmba (61 stars, Python, last commit 2022-04-19).

Abstract

Models that perform well on a training domain often fail to generalize to out-of-domain (OOD) examples. Data augmentation is a common method used to prevent overfitting and improve OOD generalization.

Show full abstract

However, in natural language, it is difficult to generate new examples that stay on the underlying data manifold. We introduce SSMBA, a data augmentation method for generating synthetic training examples by using a pair of corruption and reconstruction functions to move randomly on a data manifold. We investigate the use of SSMBA in the natural language domain, leveraging the manifold assumption to reconstruct corrupted text with masked language models. In experiments on robustness benchmarks across 3 tasks and 9 datasets, SSMBA consistently outperforms existing data augmentation methods and baseline models on both in-domain and OOD data, achieving gains of 0.8% accuracy on OOD Amazon reviews, 1.8% accuracy on OOD MNLI, and 1.4 BLEU on in-domain IWSLT14 German-English.

View on arXivView PDF

Code Implementations(1)

nng555/ssmbaOfficial100%
613PythonSep 10, 20204 years ago

Similar Papers

Cite this paper

@article{ng2020ssmba,
  title  = {SSMBA: Self-Supervised Manifold Based Data Augmentation for Improving Out-of-Domain Robustness},
  author = {Nathan Ng and Kyunghyun Cho and Marzyeh Ghassemi},
  year   = {2020},
  eprint = {2009.10195},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.10195}
}

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

Discussion