Whitening Improves Robustness to Spurious Correlations in Linear Probes

Floris Holstege, Bram Wouters, Noud van Giersbergen, Cees Diks
9/30/2026
cs.LG

No confident code implementation found for this paper.

Abstract

Deep neural networks tend to rely on simple features that may be spurious and thus fail to generalize. We study this problem in the setting of linear probes, where a (generalized) linear model is fitted on the representations of a (pretrained) model. We use the connection of these models to the max-margin classifier, and show they favor directions associated with large eigenvalues of the covariance matrix. Whitening removes this preference by equalizing the eigenvalues of the covariance matrix. This observation motivates whitening as a preprocessing step that can reduce reliance on spurious correlations without requiring prior knowledge of their presence or labeled data. We examine the effect of whitening on a synthetic data-generating process and standard spurious correlation benchmarks, and find that it improves robustness. We also find that whitening can improve robustness when added to existing approaches.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{holstege2026whitening,
  title  = {Whitening Improves Robustness to Spurious Correlations in Linear Probes},
  author = {Floris Holstege and Bram Wouters and Noud van Giersbergen and Cees Diks},
  year   = {2026},
  eprint = {2609.39177},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.39177v1}
}

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

Discussion