Introduction
Self-supervised learning (SSL) has rapidly advanced, approaching the performance of supervised counterparts by extracting powerful representations from unlabeled data. However, SSL models frequently suffer from a phenomenon known as dimensional collapse. While "complete collapse" (where every input maps to the same constant vector) is largely solved, dimensional collapse is subtler: the model ignores most of its available capacity, and the learned features occupy only a tiny fraction of the available mathematical space. This results in redundant, highly correlated features that limit the model's expressive power.
This paper demonstrates that current fixes only address the symptoms at the output layer. By applying Orthogonality Regularization (OR) to the encoder's weight matrices during pretraining, the authors prevent collapse throughout the entire network, leading to significant performance gains across 13 different SSL methods and various architectures, including CNNs and Vision Transformers (ViTs).
The Problem: The "Whitening" Illusion
Most existing solutions attempt to "whiten" the final output (the representations) to ensure they are diverse and decorrelated. However, the authors point out a major oversight: even if the final output looks diverse, the internal weight matrices and hidden features might still be collapsed.
If the "filters" in a neural network are all doing the same thing, the model is fundamentally limited in its expressive power, regardless of what the final layer's output looks like. The paper proves that simply whitening the final representations (as methods like VICReg do) does not prevent the internal weights from collapsing. In some cases, it can even accelerate weight collapse.
The Solution: Orthogonality Regularization
To address this, the authors propose a "plug-and-play" solution: Orthogonality Regularization (OR). Instead of just constraining the data coming out of the model, they constrain the weights inside the model. They force the filters in convolutional and linear layers to be as close to orthogonal as possible during pretraining.
They explore two main types of regularizers:
- Soft Orthogonality (SO): This uses the Frobenius norm to minimize the difference between the weight matrix's "Gram matrix" ($W^TW$) and an Identity matrix. Essentially, it penalizes filters for being correlated with one another.
- Spectral Restricted Isometry Property (SRIP): A more sophisticated version that uses the spectral norm (the largest eigenvalue) to bound the deviation from orthogonality.
By adding one of these as a secondary loss term during pretraining, the model is forced to maintain diverse, non-redundant filters at every layer of the encoder.
Key Insights and Empirical Evidence
Adding OR provides a theoretical safeguard. The authors provide mathematical proofs showing that orthogonal weights preserve the normalization and de-correlation of features as they pass through the network, preventing the "signal" from shrinking into a low-dimensional subspace.
Interestingly, the benefits of OR become more pronounced as models get deeper. This is particularly true for Vision Transformers (ViTs), which are more prone to dimensional collapse in their linear layers than traditional CNNs. Furthermore, unlike some SSL tricks that require massive memory banks or complex architectures, OR is computationally cheap. Adding it to a 12-hour training run on CIFAR-100 only adds about 45-60 minutes of overhead.
Key Results
The researchers conducted an extensive battery of tests across datasets like CIFAR, ImageNet-1k, and downstream tasks like Food101, Flowers102, and PASCAL VOC. The results were remarkably consistent across 13 different SSL methods (including MoCo, BYOL, DINO, and SimCLR):
- ViT Boosts: On CIFAR-100, adding SO to the DINO method improved Top-1 accuracy by over 6% on a ViT-tiny backbone and nearly 3% on a ViT-base.
- ImageNet-1k: For BYOL trained on ImageNet-1k, OR provided a steady 2% improvement in Top-1 accuracy.
- Object Detection: Using BYOL with SO on ImageNet-1k led to a massive 20% relative improvement in Average Precision (AP) on the PASCAL VOC object detection task compared to the baseline.
- Transferability: Models pretrained with OR consistently outperformed baselines on out-of-distribution datasets, suggesting the learned features are more general and robust.
Limitations and Future Work
While highly effective for joint-embedding architectures, this study has not yet tested how OR affects generative SSL models like Masked Autoencoders (MAE). Additionally, while the method is "plug-and-play," it introduces a hyperparameter that controls the strength of the regularization, which requires slight tuning depending on the backbone architecture (e.g., ResNet vs. ViT).
Looking forward, the authors express interest in applying these findings to larger "foundation models," including Large Language Models (LLMs) and multi-modal models like CLIP, where dimensional redundancy remains a known and pressing challenge.
Summary updated