Identifying Spurious Biases Early in Training through the Lens of Simplicity Bias

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Yang, Yu, Gan, Eric, Dziugaite, Gintare Karolina, Mirzasoleiman, Baharan
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909129999646720
author Yang, Yu
Gan, Eric
Dziugaite, Gintare Karolina
Mirzasoleiman, Baharan
author_facet Yang, Yu
Gan, Eric
Dziugaite, Gintare Karolina
Mirzasoleiman, Baharan
contents Neural networks trained with (stochastic) gradient descent have an inductive bias towards learning simpler solutions. This makes them highly prone to learning spurious correlations in the training data, that may not hold at test time. In this work, we provide the first theoretical analysis of the effect of simplicity bias on learning spurious correlations. Notably, we show that examples with spurious features are provably separable based on the model's output early in training. We further illustrate that if spurious features have a small enough noise-to-signal ratio, the network's output on the majority of examples is almost exclusively determined by the spurious features, leading to poor worst-group test accuracy. Finally, we propose SPARE, which identifies spurious correlations early in training and utilizes importance sampling to alleviate their effect. Empirically, we demonstrate that SPARE outperforms state-of-the-art methods by up to 21.1% in worst-group accuracy, while being up to 12x faster. We also show that SPARE is a highly effective but lightweight method to discover spurious correlations.
format Preprint
id arxiv_https___arxiv_org_abs_2305_18761
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Identifying Spurious Biases Early in Training through the Lens of Simplicity Bias
Yang, Yu
Gan, Eric
Dziugaite, Gintare Karolina
Mirzasoleiman, Baharan
Machine Learning
Computer Vision and Pattern Recognition
Neural networks trained with (stochastic) gradient descent have an inductive bias towards learning simpler solutions. This makes them highly prone to learning spurious correlations in the training data, that may not hold at test time. In this work, we provide the first theoretical analysis of the effect of simplicity bias on learning spurious correlations. Notably, we show that examples with spurious features are provably separable based on the model's output early in training. We further illustrate that if spurious features have a small enough noise-to-signal ratio, the network's output on the majority of examples is almost exclusively determined by the spurious features, leading to poor worst-group test accuracy. Finally, we propose SPARE, which identifies spurious correlations early in training and utilizes importance sampling to alleviate their effect. Empirically, we demonstrate that SPARE outperforms state-of-the-art methods by up to 21.1% in worst-group accuracy, while being up to 12x faster. We also show that SPARE is a highly effective but lightweight method to discover spurious correlations.
title Identifying Spurious Biases Early in Training through the Lens of Simplicity Bias
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2305.18761