Identifying Spurious Correlations for Robust Text Classification
Preprint
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. 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.Keywords
All Related Versions
This publication has 14 references indexed in Scilit:
- Text and Causal Inference: A Review of Using Text to Remove Confounding from Causal Estimates2020
- A Backdoor Attack Against LSTM-Based Text Classification SystemsIEEE Access, 2019
- Robust Text Classification under Confounding ShiftJournal of Artificial Intelligence Research, 2018
- A Survey of Methods for Explaining Black Box ModelsACM Computing Surveys, 2018
- Ex Machina2017
- Ups and Downs2016
- Matching Methods for Causal Inference: A Review and a Look ForwardStatistical Science, 2010
- Nonparametric Estimation of Average Treatment Effects Under Exogeneity: A ReviewReview of Economics and Statistics, 2004
- THE ESTIMATION OF CAUSAL EFFECTS FROM OBSERVATIONAL DATAAnnual Review of Sociology, 1999
- Correlations Genuine and Spurious in Pearson and YuleStatistical Science, 1995