[Paper Review] A Simple Recipe for Competitive Low-compute Self supervised Vision Models
This paper introduces Replace One Branch (RoB), a simple knowledge distillation framework that repurposes existing self-supervised joint-embedding methods by replacing one branch with a frozen, large-scale self-supervised teacher model. RoB achieves state-of-the-art performance on low-compute vision models, improving ViT-Tiny by 2.3% on ImageNet and outperforming supervised distillation on five downstream tasks.
Self-supervised methods in vision have been mostly focused on large architectures as they seem to suffer from a significant performance drop for smaller architectures. In this paper, we propose a simple self-supervised distillation technique that can train high performance low-compute neural networks. Our main insight is that existing joint-embedding based SSL methods can be repurposed for knowledge distillation from a large self-supervised teacher to a small student model. Thus, we call our method Replace one Branch (RoB) as it simply replaces one branch of the joint-embedding training with a large teacher model. RoB is widely applicable to a number of architectures such as small ResNets, MobileNets and ViT, and pretrained models such as DINO, SwAV or iBOT. When pretraining on the ImageNet dataset, RoB yields models that compete with supervised knowledge distillation. When applied to MSN, RoB produces students with strong semi-supervised capabilities. Finally, our best ViT-Tiny models improve over prior SSL state-of-the-art on ImageNet by $2.3\%$ and are on par or better than a supervised distilled DeiT on five downstream transfer tasks (iNaturalist, CIFAR, Clevr/Count, Clevr/Dist and Places). We hope RoB enables practical self-supervision at smaller scale.
Motivation & Objective
- To close the performance gap between self-supervised and supervised pretraining on low-compute vision models such as ResNet18, ViT-Tiny, and MobileNets.
- To demonstrate that knowledge distillation can be effectively adapted to self-supervised learning without requiring additional training objectives or complex modifications.
- To enable strong transfer and semi-supervised performance from small student networks using only self-supervised pretraining with distillation.
- To show that self-supervised distillation can match or exceed supervised distillation performance on small architectures.
Proposed method
- RoB replaces one branch of a joint-embedding self-supervised method with a frozen, large-scale self-supervised teacher model (e.g., DINO, SwAV, iBOT, MSN).
- The method modifies the loss to remove regularization terms that prevent representation collapse, enabling stable distillation.
- Instead of cross-view predictions, RoB uses identical-view predictions, where the student matches the teacher’s representation of the same augmented view.
- The student is trained using a contrastive loss based on the teacher’s features, leveraging the invariances already learned by the teacher.
- The approach is generic and applicable to various architectures (ResNets, MobileNets, ViTs) and self-supervised methods (DINO, SwAV, iBOT, MSN).
- Training is performed with standard hyperparameters, and the student’s projection head is kept consistent with the original method to avoid performance degradation.
Experimental results
Research questions
- RQ1Can knowledge distillation be effectively applied to self-supervised learning to improve performance on small vision models?
- RQ2Does replacing one branch of a joint-embedding SSL method with a frozen teacher improve transfer learning performance on low-compute architectures?
- RQ3Is multi-crop augmentation necessary for effective self-supervised distillation in low-compute settings?
- RQ4Does using identical-view predictions instead of cross-view predictions improve training stability and performance in distillation?
- RQ5Can self-supervised distillation outperform supervised distillation on small models in linear probe and few-shot transfer settings?
Key findings
- RoB improves ViT-Tiny performance on ImageNet by 2.3% over prior self-supervised SOTA, achieving 71.8% top-1 accuracy.
- RoB-trained ViT-Tiny models match or exceed the performance of supervised distilled DeiT on five downstream tasks: iNaturalist, CIFAR, CLEVR/Count, CLEVR/Dist, and Places.
- On the iNaturalist18 benchmark, RoB with DINO S/8 achieves 39.8% linear probe accuracy, outperforming supervised distillation baselines.
- Removing multi-crop augmentation during distillation leads to a 4.4% drop in performance on iNaturalist18, highlighting its necessity.
- Using identical-view predictions instead of cross-view predictions improves or maintains performance, with up to 1% gain on iBOT-based distillation.
- Replacing the student’s projection head with a simple MLP leads to a 1.6% drop in iNaturalist18 performance, indicating that head consistency is crucial.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.