Whitening Consistently Improves Self-Supervised Learning

András Kalapos, Bálint Gyires-Tóth
8/14/2024
cs.CV

No official code found. Best implementation: kaland313/SSL-Whitening (3 stars, MIT, last commit 2024-08-28).

Abstract

Self-supervised learning (SSL) has been shown to be a powerful approach for learning visual representations. In this study, we propose incorporating ZCA whitening as the final layer of the encoder in self-supervised learning to enhance the quality of learned features by normalizing and decorrelating them. Although whitening has been utilized in SSL in previous works, its potential to universally improve any SSL model has not been explored. We demonstrate that adding whitening as the last layer of SSL pretrained encoders is independent of the self-supervised learning method and encoder architecture, thus it improves performance for a wide range of SSL methods across multiple encoder architectures and datasets. Our experiments show that whitening is capable of improving linear and k-NN probing accuracy by 1-5%. Additionally, we propose metrics that allow for a comprehensive analysis of the learned features, provide insights into the quality of the representations and help identify collapse patterns.

View on arXivView PDF

Code Implementations(1)

MIT

Official implementation of our paper "Whitening Consistently Improves Self-Supervised Learning"

30Python, MakefileAug 13, 20242 years agoMIT

Similar Papers

Cite this paper

@article{kalapos2024whitening,
  title  = {Whitening Consistently Improves Self-Supervised Learning},
  author = {András Kalapos and Bálint Gyires-Tóth},
  year   = {2024},
  eprint = {2408.07519},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.07519v1}
}

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

Discussion