An Empirical Study on Robustness to Spurious Correlations using Pre-trained Language Models

Lifu Tu, Garima Lalwani, Spandana Gella, He He
7/14/2020
cs.CLcs.LG

Official code: lifu-tu/Study-NLP-Robustness (14 stars, Python, last commit 2020-07-31).

Abstract

Recent work has shown that pre-trained language models such as BERT improve robustness to spurious correlations in the dataset. Intrigued by these results, we find that the key to their success is generalization from a small amount of counterexamples where the spurious correlations do not hold.

Show full abstract

When such minority examples are scarce, pre-trained models perform as poorly as models trained from scratch. In the case of extreme minority, we propose to use multi-task learning (MTL) to improve generalization. Our experiments on natural language inference and paraphrase identification show that MTL with the right auxiliary tasks significantly improves performance on challenging examples without hurting the in-distribution performance. Further, we show that the gain from MTL mainly comes from improved generalization from the minority examples. Our results highlight the importance of data diversity for overcoming spurious correlations.

View on arXivView PDF

Code Implementations(1)

Code for TACL 2020 paper "An Empirical Study on Robustness to Spurious Correlations using Pre-trained Language Models"

140Python, MakefileJul 13, 20206 years ago

Similar Papers

Cite this paper

@article{tu2020empirical,
  title  = {An Empirical Study on Robustness to Spurious Correlations using Pre-trained Language Models},
  author = {Lifu Tu and Garima Lalwani and Spandana Gella and He He},
  year   = {2020},
  eprint = {2007.06778},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.06778}
}

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

Discussion