Whitening Consistently Improves Self-Supervised Learning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kalapos, András, Gyires-Tóth, Bálint
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914912889995264
author Kalapos, András
Gyires-Tóth, Bálint
author_facet Kalapos, András
Gyires-Tóth, Bálint
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2408_07519
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Whitening Consistently Improves Self-Supervised Learning
Kalapos, András
Gyires-Tóth, Bálint
Computer Vision and Pattern Recognition
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.
title Whitening Consistently Improves Self-Supervised Learning
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2408.07519