Last Layer Re-Training is Sufficient for Robustness to Spurious Correlations

Polina Kirichenko, Pavel Izmailov, Andrew Gordon Wilson
4/6/2022
cs.LGcs.CVstat.ML

Official code: PolinaKirichenko/deep_feature_reweighting (112 stars, BSD-2-Clause, last commit 2023-09-20).

Abstract

Neural network classifiers can largely rely on simple spurious features, such as backgrounds, to make predictions. However, even in these cases, we show that they still often learn core features associated with the desired attributes of the data, contrary to recent findings. Inspired by this insight, we demonstrate that simple last layer retraining can match or outperform state-of-the-art approaches on spurious correlation benchmarks, but with profoundly lower complexity and computational expenses. Moreover, we show that last layer retraining on large ImageNet-trained models can also significantly reduce reliance on background and texture information, improving robustness to covariate shift, after only minutes of training on a single GPU.

View on arXivView PDF

Code Implementations(1)

BSD-2-Clause
11211Python, Jupyter NotebookApr 2, 20223 years agoBSD-2-Clause

Similar Papers

Cite this paper

@article{kirichenko2022last,
  title  = {Last Layer Re-Training is Sufficient for Robustness to Spurious Correlations},
  author = {Polina Kirichenko and Pavel Izmailov and Andrew Gordon Wilson},
  year   = {2022},
  eprint = {2204.02937},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.02937}
}

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

Discussion