On Feature Learning in the Presence of Spurious Correlations

Pavel Izmailov, Polina Kirichenko, Nate Gruver, Andrew Gordon Wilson
10/20/2022
cs.LGcs.CVstat.ML

Official code: izmailovpavel/spurious_feature_learning (49 stars, Python, Apache-2.0, last commit 2023-01-17).

Abstract

Deep classifiers are known to rely on spurious features $\unicode{x2013}$ patterns which are correlated with the target on the training data but not inherently relevant to the learning problem, such as the image backgrounds when classifying the foregrounds. In this paper we evaluate the amount of information about the core (non-spurious) features that can be decoded from the representations learned by standard empirical risk minimization (ERM) and specialized group robustness training.

Show full abstract

Following recent work on Deep Feature Reweighting (DFR), we evaluate the feature representations by re-training the last layer of the model on a held-out set where the spurious correlation is broken. On multiple vision and NLP problems, we show that the features learned by simple ERM are highly competitive with the features learned by specialized group robustness methods targeted at reducing the effect of spurious correlations. Moreover, we show that the quality of learned feature representations is greatly affected by the design decisions beyond the training method, such as the model architecture and pre-training strategy. On the other hand, we find that strong regularization is not necessary for learning high quality feature representations. Finally, using insights from our analysis, we significantly improve upon the best results reported in the literature on the popular Waterbirds, CelebA hair color prediction and WILDS-FMOW problems, achieving 97%, 92% and 50% worst-group accuracies, respectively.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
496PythonOct 20, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{izmailov2022feature,
  title  = {On Feature Learning in the Presence of Spurious Correlations},
  author = {Pavel Izmailov and Polina Kirichenko and Nate Gruver and Andrew Gordon Wilson},
  year   = {2022},
  eprint = {2210.11369},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.11369}
}

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

Discussion