Identifying Spurious Correlations for Robust Text Classification

Zhao Wang, Aron Culotta
10/6/2020
cs.LGcs.CLcs.IR

Official code: tapilab/emnlp-2020-spurious (17 stars, Jupyter Notebook, last commit 2021-03-22).

Abstract

The predictions of text classifiers are often driven by spurious correlations -- e.g., the term `Spielberg' correlates with positively reviewed movies, even though the term itself does not semantically convey a positive sentiment. In this paper, we propose a method to distinguish spurious and genuine correlations in text classification.

Show full abstract

We treat this as a supervised classification problem, using features derived from treatment effect estimators to distinguish spurious correlations from "genuine" ones. Due to the generic nature of these features and their small dimensionality, we find that the approach works well even with limited training examples, and that it is possible to transport the word classifier to new domains. Experiments on four datasets (sentiment classification and toxicity detection) suggest that using this approach to inform feature selection also leads to more robust classification, as measured by improved worst-case accuracy on the samples affected by spurious correlations.

View on arXivView PDF

Code Implementations(1)

173Jupyter Notebook, PythonOct 5, 20205 years ago

Similar Papers

Cite this paper

@article{wang2020identifying,
  title  = {Identifying Spurious Correlations for Robust Text Classification},
  author = {Zhao Wang and Aron Culotta},
  year   = {2020},
  eprint = {2010.02458},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.02458}
}

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

Discussion