DisCo: Remedy Self-supervised Learning on Lightweight Models with Distilled Contrastive Learning
arXiv:2104.09124
Abstract
While self-supervised representation learning (SSL) has received widespread attention from the community, recent research argue that its performance will suffer a cliff fall when the model size decreases. The current method mainly relies on contrastive learning to train the network and in this work, we propose a simple yet effective Distilled Contrastive Learning (DisCo) to ease the issue by a large margin. Specifically, we find the final embedding obtained by the mainstream SSL methods contains the most fruitful information, and propose to distill the final embedding to maximally transmit a teacher's knowledge to a lightweight model by constraining the last embedding of the student to be consistent with that of the teacher. In addition, in the experiment, we find that there exists a phenomenon termed Distilling BottleNeck and present to enlarge the embedding dimension to alleviate this problem. Our method does not introduce any extra parameter to lightweight models during deployment. Experimental results demonstrate that our method achieves the state-of-the-art on all lightweight models. Particularly, when ResNet-101/ResNet-50 is used as teacher to teach EfficientNet-B0, the linear result of EfficientNet-B0 on ImageNet is very close to ResNet-101/ResNet-50, but the number of parameters of EfficientNet-B0 is only 9.4\%/16.3\% of ResNet-101/ResNet-50. Code is available at https://github. com/Yuting-Gao/DisCo-pytorch.
arXiv commentECCV 2022
References in corpus (14)
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Distilling the Knowledge in a Neural Network
- The information bottleneck method
- Improved Baselines with Momentum Contrastive Learning
- Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
- Paying More Attention to Attention: Improving the Performance of Convolutional Neural Networks via Attention Transfer
- Barlow Twins: Self-Supervised Learning via Redundancy Reduction
- Opening the Black Box of Deep Neural Networks via Information
- Exploring Simple Siamese Representation Learning
- XCiT: Cross-Covariance Image Transformers
- Discriminative Unsupervised Feature Learning with Exemplar Convolutional Neural Networks
- Enhancing Unsupervised Video Representation Learning by Decoupling the Scene and the Motion
- Removing the Background by Adding the Background: Towards Background Robust Self-supervised Video Representation Learning
- Cross-Layer Distillation with Semantic Calibration