English

An Investigation into Whitening Loss for Self-supervised Learning

Computer Vision and Pattern Recognition 2022-10-10 v1 Machine Learning

Abstract

A desirable objective in self-supervised learning (SSL) is to avoid feature collapse. Whitening loss guarantees collapse avoidance by minimizing the distance between embeddings of positive pairs under the conditioning that the embeddings from different views are whitened. In this paper, we propose a framework with an informative indicator to analyze whitening loss, which provides a clue to demystify several interesting phenomena as well as a pivoting point connecting to other SSL methods. We reveal that batch whitening (BW) based methods do not impose whitening constraints on the embedding, but they only require the embedding to be full-rank. This full-rank constraint is also sufficient to avoid dimensional collapse. Based on our analysis, we propose channel whitening with random group partition (CW-RGP), which exploits the advantages of BW-based methods in preventing collapse and avoids their disadvantages requiring large batch size. Experimental results on ImageNet classification and COCO object detection reveal that the proposed CW-RGP possesses a promising potential for learning good representations. The code is available at https://github.com/winci-ai/CW-RGP.

Keywords

Cite

@article{arxiv.2210.03586,
  title  = {An Investigation into Whitening Loss for Self-supervised Learning},
  author = {Xi Weng and Lei Huang and Lei Zhao and Rao Muhammad Anwer and Salman Khan and Fahad Shahbaz Khan},
  journal= {arXiv preprint arXiv:2210.03586},
  year   = {2022}
}

Comments

Accepted at NeurIPS 2022. The Code is available at: https://github.com/winci-ai/CW-RGP

R2 v1 2026-06-28T03:00:37.042Z