Skip to Main content Skip to Navigation
New interface
Conference papers

Unsupervised Learning of Visual Features by Contrasting Cluster Assignments

Abstract : Unsupervised image representations have significantly reduced the gap with supervised pretraining, notably with the recent achievements of contrastive learning methods. These contrastive methods typically work online and rely on a large number of explicit pairwise feature comparisons, which is computationally challenging. In this paper, we propose an online algorithm, SwAV, that takes advantage of contrastive methods without requiring to compute pairwise comparisons. Specifically, our method simultaneously clusters the data while enforcing consistency between cluster assignments produced for different augmentations (or "views") of the same image, instead of comparing features directly as in contrastive learning. Simply put, we use a "swapped" prediction mechanism where we predict the cluster assignment of a view from the representation of another view. Our method can be trained with large and small batches and can scale to unlimited amounts of data. Compared to previous contrastive methods, our method is more memory efficient since it does not require a large memory bank or a special momentum network. In addition, we also propose a new data augmentation strategy, multi-crop, that uses a mix of views with different resolutions in place of two full-resolution views, without increasing the memory or compute requirements much. We validate our findings by achieving 75.3% top-1 accuracy on ImageNet with ResNet-50, as well as surpassing supervised pretraining on all the considered transfer tasks.
Document type :
Conference papers
Complete list of metadata

Cited literature [62 references]  Display  Hide  Download
Contributor : Mathilde Caron Connect in order to contact the contributor
Submitted on : Tuesday, October 27, 2020 - 11:13:09 AM
Last modification on : Saturday, November 19, 2022 - 3:58:50 AM


Files produced by the author(s)


  • HAL Id : hal-02883765, version 2


Mathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal, Piotr Bojanowski, et al.. Unsupervised Learning of Visual Features by Contrasting Cluster Assignments. 34th Conference on Neural Information Processing Systems, NeurIPS'20, Dec 2020, Virtual-only, United States. pp.9912-9924. ⟨hal-02883765v2⟩



Record views


Files downloads