Introduction
Traditional self-supervised learning (SSL) frameworks, particularly those based on contrastive learning like MoCo or SimCLR, operate on a rigid binary principle: augmented versions of the same image are treated as "positives," while all other images in a batch are "negatives." This approach forces the model to distinguish between semantically similar images (e.g., two different breeds of dogs) simply because they are not the same instance. This "instance discrimination" task can be counter-productive for learning general semantic representations, especially in real-world datasets where class distributions are often highly unbalanced.
Methodology: Iterative Similarity Distillation
To address these limitations, the authors propose Iterative Similarity Distillation (ISD). Instead of binary classification, ISD treats SSL as a distillation task where a student model learns to match the "soft" similarity relationships identified by a slowly evolving teacher model.
The framework consists of several key components:
- Dual-Network Architecture: A student network and a teacher network, where the teacher's weights are a momentum-based moving average of the student's weights.
- Anchor Memory Bank: A large repository (typically 128K images) of random "anchor" images provides a consistent reference space for calculating similarities.
- Soft Distillation Loss: For a given query image, both the teacher and student calculate its similarity to all anchor points. The teacher's scores are converted into a soft probability distribution. The student is then trained to minimize the KL Divergence between its own distribution and the teacher's.
- Neighborhood Consistency: Unlike methods that demand strict instance invariance, ISD allows representations to change under augmentation as long as the image's relationship to its semantic neighbors remains stable.
Experimental Results
ISD was evaluated on ImageNet-1K and various transfer learning benchmarks. The results demonstrate that ISD is highly competitive with state-of-the-art methods while offering better efficiency and robustness.
Performance on Standard Benchmarks
On ResNet-50, ISD achieves a Top-1 linear accuracy of 69.8%, placing it on par with MoCo-v2 and BYOL under similar constraints. Notably, ISD's advantage becomes more pronounced on smaller architectures; on ResNet-18, it reaches 53.8%, significantly outperforming MoCo-v2 (51.0%) and BYOL-asym (52.6%).
Robustness to Unbalanced Data
A key strength of ISD is its performance on "long-tail" distributions. In experiments using a custom unbalanced subset of ImageNet, ISD consistently outperformed traditional contrastive methods. The performance gap was most significant for rare categories, where ISD showed a +2.57% improvement over MoCo, suggesting that soft similarity distillation is more effective at capturing features from underrepresented classes.
Computational Efficiency
ISD is more efficient than "symmetric" loss methods (like SwAV or SimCLR) because it only requires a single "positive" view per iteration to calculate the loss. As shown in the performance table, ISD avoids the 2x FLOPs penalty associated with symmetric loss functions while maintaining high accuracy.
Conclusion and Future Work
ISD shifts the focus of self-supervised learning from instance discrimination to neighborhood consistency. By leveraging soft labels from a momentum teacher, it naturally handles false negatives and excels in real-world, unbalanced data scenarios. Future research may explore the impact of temporal ensembling within the teacher model and the application of ISD to newer architectures like Vision Transformers.
Summary updated