Abstract
Many state of the art self-supervised learning approaches fundamentally rely on transformations applied to the input in order to selectively extract task-relevant information. Recently, the field of equivariant deep learning has developed to introduce structure into the feature space of deep neural networks by designing them as homomorphisms with respect to input transformations. In this work, we observe that many existing self-supervised learning algorithms can be both unified and generalized when seen through the lens of equivariant representations. Specifically, we introduce a general framework we call Homomorphic Self-Supervised Learning (H-SSL), and theoretically show how it may subsume the use of input-augmentations provided an augmentation-homomorphic feature extractor. We validate this theory experimentally for simple augmentations, demonstrate the necessity of representational structure for feature-space SSL, and further empirically explore how the parameters of this framework relate to those of traditional augmentation-based self-supervised learning. We conclude with a discussion of the potential benefits afforded by this new perspective on self-supervised learning.
Introduction
Self-supervised learning (SSL) has revolutionized computer vision by enabling models to learn from unlabeled data. Most state-of-the-art methods, such as SimCLR, rely on Augmentation-based SSL (A-SSL). In this paradigm, a model is trained to recognize that two different "views" of the same image (e.g., a rotation and a crop) represent the same underlying object.
Parallel to this, a less understood branch known as Feature-space SSL (e.g., Deep InfoMax) compares different patches within a single image's representation. This paper introduces Homomorphic Self-Supervised Learning (H-SSL), a framework that unifies these two approaches. The authors argue that the need for hand-crafted augmentations is a consequence of a lack of structure in standard neural networks. By using equivariant networks, the "different views" required for training are already present within a single forward pass.
The H-SSL Framework
The core of H-SSL is the use of Equivariant Neural Networks, specifically those employing Group Convolutions (G-convs). These networks are designed as homomorphisms: if you transform the input, the resulting feature map transforms in a predictable, corresponding way.
Lifting and Equivariance
Equivariant networks "lift" the input (e.g., a 2D image) into a higher-dimensional group space. For example, a rotation-equivariant network adds a third axis representing the rotation angle ($\theta$).
The H-SSL Objective
Instead of performing multiple forward passes on augmented images, H-SSL performs one forward pass on a single unaugmented image. It then extracts "positive pairs" from different coordinates along the lifted dimensions (like different rotation angles) of that single feature map. The authors mathematically prove that if the network is a perfect homomorphism, the H-SSL loss is identical to the traditional A-SSL loss.
Experimental Validation
The researchers validated H-SSL using standard benchmarks: MNIST, CIFAR10, and Tiny ImageNet.
- Empirical Equivalence: On all datasets, H-SSL achieved nearly identical downstream accuracy to A-SSL. For example, on MNIST Scale tasks, A-SSL reached 98.6% accuracy while H-SSL reached 98.3% without using any input augmentations.
- Generalization: H-SSL allows models to incorporate symmetries beyond translation. Using Scale-Equivariant Steerable Networks (SESN), the authors showed significant performance gains on scaling tasks compared to standard translation-only CNNs.
Key Insights
- Structure is Mandatory: When the equivariant structure was removed (using standard MLPs or non-equivariant CNNs), H-SSL failed to learn. This proves that previous feature-space methods implicitly relied on the translation-equivariance of standard convolutions.
- Topographic Distance: The authors equate "augmentation strength" (how much you rotate or crop) with "topographic distance" (how far apart you sample features in the group-dimension). This provides a geometric way to tune SSL hyperparameters.
Conclusion
H-SSL provides a unified theory for self-supervised learning, suggesting that explicit data augmentation is a proxy for internal representational structure. While currently limited by the complexity of designing equivariant layers for all possible augmentations (like color jitter), H-SSL hints at more computationally efficient training and potential breakthroughs in layer-wise learning.
Summary updated