[Paper Review] An Investigation into Whitening Loss for Self-supervised Learning
This paper proposes Channel Whitening with Random Group Partition (CW-RGP), a novel self-supervised learning method that avoids representation collapse by enforcing full-rank embeddings through channel-wise whitening with random group partitioning. Unlike batch whitening methods, CW-RGP avoids the need for large batch sizes while maintaining strong performance, achieving state-of-the-art results on ImageNet classification and COCO object detection with 60.5 AP on COCO detection and 57.3 AP on instance segmentation.
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.
Motivation & Objective
- To investigate the theoretical and practical behavior of whitening loss in self-supervised learning and demystify its role in preventing representation collapse.
- To analyze why certain whitening transformations fail to prevent dimensional collapse despite theoretical guarantees.
- To develop a method that retains the collapse-avoidance benefits of batch whitening while eliminating its dependence on large batch sizes.
- To propose a theoretically grounded and empirically effective alternative to batch whitening in self-supervised representation learning.
Proposed method
- Decomposes symmetric whitening loss into two asymmetric losses, each requiring the online network to match a whitened target, enabling connections to other SSL methods.
- Proposes channel whitening with random group partition (CW-RGP), which whitens embeddings within randomly partitioned channel groups rather than across the full batch.
- Uses a full-rank constraint on embeddings as sufficient for collapse avoidance, showing that whitening is not strictly necessary.
- Employs a symmetric training framework with stop-gradient and predictor-like components, similar to SimSiam, to stabilize learning.
- Applies random group partitioning to reduce computational cost and improve generalization, especially under small batch settings.
- Employs standard data augmentations and a ResNet backbone for evaluation on ImageNet and COCO.
Experimental results
Research questions
- RQ1Why do some whitening transformations fail to prevent dimensional collapse despite theoretical guarantees?
- RQ2What is the true inductive bias introduced by batch whitening in self-supervised learning?
- RQ3Can a whitening-based method avoid the large-batch-size requirement of batch whitening while preserving collapse avoidance?
- RQ4How does random group partitioning in channel whitening improve representation learning compared to full-batch whitening?
- RQ5What is the relationship between full-rank embeddings and collapse avoidance in self-supervised learning?
Key findings
- CW-RGP achieves 60.5 AP on COCO object detection and 57.3 AP on instance segmentation, outperforming or matching state-of-the-art methods like SimSiam and MoCo v2.
- CW-RGP improves linear and 5-NN accuracy on CIFAR-100 by 1.25 and 1.29 percentage points respectively compared to standard channel whitening.
- CW-RGP is more robust to small batch sizes than batch whitening, with significantly smaller accuracy drops at batch sizes of 32 and 64.
- The ablation study confirms that random group partitioning improves performance over fixed group partitioning and standard channel whitening.
- Batch whitening methods do not impose true whitening constraints; instead, they only require the embedding to be full-rank, which is sufficient for collapse avoidance.
- Theoretical analysis reveals that the key mechanism in batch whitening is full-rankness, not whitening per se, which explains the empirical success of such methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.