Identifying and Mitigating Spurious Correlations for Improving Robustness in NLP Models

Tianlu Wang, Rohit Sridhar, Diyi Yang, Xuezhi Wang
10/14/2021
cs.CL

Official code: tianlu-wang/Identifying-and-Mitigating-Spurious-Correlations-for-Improving-Robustness-in-NLP-Models (15 stars, Jupyter Notebook, last commit 2022-05-04).

Abstract

Recently, NLP models have achieved remarkable progress across a variety of tasks; however, they have also been criticized for being not robust. Many robustness problems can be attributed to models exploiting spurious correlations, or shortcuts between the training data and the task labels.

Show full abstract

Most existing work identifies a limited set of task-specific shortcuts via human priors or error analyses, which requires extensive expertise and efforts. In this paper, we aim to automatically identify such spurious correlations in NLP models at scale. We first leverage existing interpretability methods to extract tokens that significantly affect model's decision process from the input text. We then distinguish "genuine" tokens and "spurious" tokens by analyzing model predictions across multiple corpora and further verify them through knowledge-aware perturbations. We show that our proposed method can effectively and efficiently identify a scalable set of "shortcuts", and mitigating these leads to more robust models in multiple applications.

View on arXivView PDF

Code Implementations(1)

NAACL 2022 Findings

150Jupyter Notebook, PythonMay 3, 20224 years ago

Similar Papers

Cite this paper

@article{wang2021identifying,
  title  = {Identifying and Mitigating Spurious Correlations for Improving Robustness in NLP Models},
  author = {Tianlu Wang and Rohit Sridhar and Diyi Yang and Xuezhi Wang},
  year   = {2021},
  eprint = {2110.07736},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.07736}
}

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

Discussion