ClusterFit: Improving Generalization of Visual Representations

Xueting Yan, Ishan Misra, Abhinav Gupta, Deepti Ghadiyaram, Dhruv Mahajan
12/6/2019
cs.CVcs.LG
contrastive-ssl

Official code: facebookresearch/vissl (3,288 stars, Jupyter Notebook, MIT, last commit 2024-03-03).

Abstract

Pre-training convolutional neural networks with weakly-supervised and self-supervised strategies is becoming increasingly popular for several computer vision tasks. However, due to the lack of strong discriminative signals, these learned representations may overfit to the pre-training objective (e.g., hashtag prediction) and not generalize well to downstream tasks.

Show full abstract

In this work, we present a simple strategy - ClusterFit (CF) to improve the robustness of the visual representations learned during pre-training. Given a dataset, we (a) cluster its features extracted from a pre-trained network using k-means and (b) re-train a new network from scratch on this dataset using cluster assignments as pseudo-labels. We empirically show that clustering helps reduce the pre-training task-specific information from the extracted features thereby minimizing overfitting to the same. Our approach is extensible to different pre-training frameworks -- weak- and self-supervised, modalities -- images and videos, and pre-training tasks -- object and action classification. Through extensive transfer learning experiments on 11 different target datasets of varied vocabularies and granularities, we show that ClusterFit significantly improves the representation quality compared to the state-of-the-art large-scale (millions / billions) weakly-supervised image and video models and self-supervised image models.

View on arXivView PDF

Code Implementations(1)

MIT

VISSL is FAIR's library of extensible, modular and scalable components for SOTA Self-Supervised Learning with images.

3,288322Jupyter Notebook, PythonApr 9, 20202 years agoMIT

Similar Papers

Cite this paper

@article{yan2019clusterfit,
  title  = {ClusterFit: Improving Generalization of Visual Representations},
  author = {Xueting Yan and Ishan Misra and Abhinav Gupta and Deepti Ghadiyaram and Dhruv Mahajan},
  year   = {2019},
  eprint = {1912.03330},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.03330}
}

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/1912.03330.svg)](https://codeofpaper.com/paper/1912.03330)

Discussion