Syntactic Data Augmentation Increases Robustness to Inference Heuristics

Junghyun Min, R. Thomas McCoy, Dipanjan Das, Emily Pitler, Tal Linzen
4/24/2020
cs.CL

Official code: Aatlantise/syntactic-augmentation-nli (17 stars, Python, MIT, last commit 2021-02-22).

Abstract

Pretrained neural models such as BERT, when fine-tuned to perform natural language inference (NLI), often show high accuracy on standard datasets, but display a surprising lack of sensitivity to word order on controlled challenge sets. We hypothesize that this issue is not primarily caused by the pretrained model's limitations, but rather by the paucity of crowdsourced NLI examples that might convey the importance of syntactic structure at the fine-tuning stage.

Show full abstract

We explore several methods to augment standard training sets with syntactically informative examples, generated by applying syntactic transformations to sentences from the MNLI corpus. The best-performing augmentation method, subject/object inversion, improved BERT's accuracy on controlled examples that diagnose sensitivity to word order from 0.28 to 0.73, without affecting performance on the MNLI test set. This improvement generalized beyond the particular construction used for data augmentation, suggesting that augmentation causes BERT to recruit abstract syntactic representations.

View on arXivView PDF

Code Implementations(1)

MIT

Create augmentation examples from MultiNLI by subject-object inversion and passivizing.

175Python, ShellOct 8, 20195 years agoMIT

Similar Papers

Cite this paper

@article{min2020syntactic,
  title  = {Syntactic Data Augmentation Increases Robustness to Inference Heuristics},
  author = {Junghyun Min and R. Thomas McCoy and Dipanjan Das and Emily Pitler and Tal Linzen},
  year   = {2020},
  eprint = {2004.11999},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.11999}
}

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

Discussion