Bag of Instances Aggregation Boosts Self-supervised Distillation

Haohang Xu, Jiemin Fang, Xiaopeng Zhang, Lingxi Xie, Xinggang Wang +3 more
7/4/2021
cs.CV
contrastive-ssldistillation

Official code: haohang96/bingo (33 stars, Python, last commit 2022-04-26).

Abstract

Recent advances in self-supervised learning have experienced remarkable progress, especially for contrastive learning based methods, which regard each image as well as its augmentations as an individual class and try to distinguish them from all other images. However, due to the large quantity of exemplars, this kind of pretext task intrinsically suffers from slow convergence and is hard for optimization.

Show full abstract

This is especially true for small-scale models, in which we find the performance drops dramatically comparing with its supervised counterpart. In this paper, we propose a simple but effective distillation strategy for unsupervised learning. The highlight is that the relationship among similar samples counts and can be seamlessly transferred to the student to boost the performance. Our method, termed as BINGO, which is short for Bag of InstaNces aGgregatiOn, targets at transferring the relationship learned by the teacher to the student. Here bag of instances indicates a set of similar samples constructed by the teacher and are grouped within a bag, and the goal of distillation is to aggregate compact representations over the student with respect to instances in a bag. Notably, BINGO achieves new state-of-the-art performance on small-scale models, i.e., 65.5% and 68.9% top-1 accuracies with linear evaluation on ImageNet, using ResNet-18 and ResNet-34 as the backbones respectively, surpassing baselines (52.5% and 57.4% top-1 accuracies) by a significant margin. The code is available at https://github.com/haohang96/bingo.

View on arXivView PDF

Code Implementations(1)

haohang96/bingoOfficial100%

Bag of Instances Aggregation Boosts Self-supervised Distillation (ICLR 2022)

331Python, ShellJul 2, 20214 years ago

Similar Papers

Cite this paper

@article{xu2021instances,
  title  = {Bag of Instances Aggregation Boosts Self-supervised Distillation},
  author = {Haohang Xu and Jiemin Fang and Xiaopeng Zhang and Lingxi Xie and Xinggang Wang and Wenrui Dai and Hongkai Xiong and Qi Tian},
  year   = {2021},
  eprint = {2107.01691},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.01691}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2107.01691.svg)](https://codeofpaper.com/paper/2107.01691)

Discussion