Abstract
Self-supervision has emerged as a propitious method for visual representation learning after the recent paradigm shift from handcrafted pretext tasks to instance-similarity based approaches. Most state-of-the-art methods enforce similarity between various augmentations of a given image, while some methods additionally use contrastive approaches to explicitly ensure diverse representations. While these approaches have indeed shown promising direction, they require a significantly larger number of training iterations when compared to the supervised counterparts. In this work, we explore reasons for the slow convergence of these methods, and further propose to strengthen them using well-posed auxiliary tasks that converge significantly faster, and are also useful for representation learning. The proposed method utilizes the task of rotation prediction to improve the efficiency of existing state-of-the-art methods. We demonstrate significant gains in performance using the proposed method on multiple datasets, specifically for lower training epochs.
What Problem Does This Paper Address?
Modern self-supervised learning (SSL) has transitioned from simple pretext tasks (like solving jigsaw puzzles) to sophisticated instance-similarity methods such as SimCLR, BYOL, and SwAV. These methods typically learn by ensuring that two different augmentations or "crops" of the same image result in similar feature representations.
However, these methods suffer from slow convergence, often requiring massive computational budgets and many more iterations than supervised learning. The authors identify noise in the training objective as the primary culprit:
- False Negatives: Contrastive methods (e.g., SimCLR) may treat two different images of the same category (e.g., two different dogs) as negatives, forcing their representations apart.
- False Positives: Methods like BYOL may force similarity between two crops of the same image that share no semantic content, such as one crop containing a dog and another containing only background grass.
This conflicting signal confuses the network, leading to inefficient learning and slow convergence.
Methods
The researchers propose a multi-task learning framework that augments state-of-the-art instance-similarity methods with a classic, "noise-free" pretext task: Rotation Prediction (RotNet).
As shown in the architecture above, the system processes an input image through two random augmentations ($a_1, a_2$). These are passed through a base encoder ($f_\theta$) and a derived/momentum encoder ($f_\psi$) to calculate the standard SSL instance-similarity loss. Simultaneously, one of these augmented images is subjected to a random rotation $\tau \in \{0^\circ, 90^\circ, 180^\circ, 270^\circ\}$. The base encoder must then predict this rotation.
Because the ground-truth rotation is known with mathematical certainty, it provides a stable, noise-free signal. This helps the network establish a robust feature extraction baseline much faster than the noisy similarity task alone. The total loss is defined as $\mathcal{L} = \mathcal{L}_{base} + \lambda \mathcal{L}_{rotation}$, where $\lambda$ is typically set to 0.2.
Key Results and Insights
The proposed method was evaluated on CIFAR-10/100, ImageNet-100, and the full ImageNet-1k dataset using ResNet architectures. Key findings include:
- Efficiency Gains: The method achieves baseline accuracy in approximately one-third of the training time. On CIFAR-10, the "BYOL + Rotation" model reached the same accuracy at 200 epochs that standard BYOL required 600-800 epochs to achieve.
- Performance Boosts:
- On CIFAR-100, the method improved SimCLR's linear evaluation accuracy by 2.44% and BYOL's by 6.4%.
- On ImageNet-1k (30 epochs), adding the rotation task to SwAV resulted in a 2.4% Top-1 accuracy improvement.
- Covariance vs. Invariance: While most SSL aims for transformation invariance, the authors find that learning covariant representations—where the network recognizes a transformation has occurred while still identifying the object—leads to superior downstream performance.
- Generality: The approach successfully boosted the performance of multiple algorithms, including SimCLR, BYOL, SwAV, and SimSiam, demonstrating its broad applicability.
Conclusion
By introducing a stable, noise-free auxiliary task, this work significantly bridges the efficiency gap between self-supervised and supervised learning. Rotation prediction serves as a powerful regularizer that guides the network toward useful features early in training, mitigating the impact of noisy instance-similarity signals. Future work may explore other geometric pretext tasks to further enhance the efficiency of visual representation learning.
Summary updated