Abstract
Self-supervised learning (SSL) has significantly advanced representation learning, yet training efficiency remains a major bottleneck. Standard methods often require extensive training epochs and high computational overhead. We introduce FroSSL (Frobenius SSL), a novel objective that achieves state-of-the-art training efficiency by minimizing the Frobenius norm of embedding covariance matrices. FroSSL provides the fast convergence typical of sample-contrastive methods alongside the architectural simplicity of dimension-contrastive methods. By implicitly regularizing the eigenvalue spectrum without expensive eigendecomposition, FroSSL reduces computational complexity and scales linearly with the number of augmented views.
Introduction
The primary challenge in modern SSL is efficiency; reaching peak performance often requires weeks of GPU time. Research suggests two main avenues for acceleration: manipulating eigenvalues to ensure the model learns multiple data directions simultaneously, and utilizing more than two augmented views per image. However, existing methods that manipulate eigenvalues (e.g., I-VNE) often rely on computationally expensive eigendecomposition ($O(D^3)$), while many multiview methods scale quadratically ($O(V^2)$) with the number of views. FroSSL addresses these limitations by providing a mathematically elegant objective that is computationally efficient ($O(D^2)$) and scales linearly with the number of views.
Methods and Architecture
The FroSSL objective is composed of two primary terms designed to balance feature invariance and representation diversity:
- Invariance Term: This term utilizes a Mean Squared Error (MSE) loss to pull embeddings of different augmented views of the same image toward their centroid. This ensures the learned features are robust to noise and stylistic augmentations.
- Variance Term: This is the core innovation of FroSSL. Instead of explicit eigenvalue calculation, FroSSL minimizes the logarithm of the squared Frobenius norm of the embedding covariance matrices.
Mathematically, the squared Frobenius norm of a matrix equals the sum of the squares of its eigenvalues. By minimizing this norm, FroSSL implicitly regularizes the eigenvalue distribution, pushing the model toward high-rank, diverse representations without the $O(D^3)$ cost of eigendecomposition.
Theoretical Advantages
FroSSL is uniquely positioned among SSL frameworks due to its computational properties. As shown in the comparison below, FroSSL is the only method that simultaneously manipulates eigenvalues explicitly, maintains linear scaling with the number of views, and keeps computational complexity quadratic in batch size and dimension.
Experimental Results
The authors evaluated FroSSL across benchmarks including STL-10, CIFAR-10/100, Tiny ImageNet, and ImageNet-1k. Key findings include:
- Training Speed: On STL-10, FroSSL with 8 views reached 80% top-1 accuracy in just 1.2 hours, significantly faster than SimCLR (2.4 hours) and VICReg (2.7 hours).
- Low-Data Regime: When pretrained on ImageNet-1k using only 10% of labels, FroSSL (8 views) achieved 38.2% Top-1 accuracy, outperforming SimCLR (31.1%) and Barlow Twins (23.6%).
- Robustness: FroSSL demonstrates superior robustness to "weak" augmentations compared to dimension-contrastive methods like VICReg, which are prone to representation collapse under less aggressive augmentation strategies.
Conclusion and Future Work
FroSSL offers a "computational free lunch" by providing entropy-based regularization benefits at the cost of simple matrix multiplication. While the current study focused on ResNet-18 and noted high VRAM requirements for 8-view training, the underlying theory suggests broad applicability. Future work may involve integrating FroSSL with multi-crop strategies and exploring its performance on larger architectures like Vision Transformers (ViTs).
Summary updated