Unsupervised Learning of Visual Features by Contrasting Cluster Assignments - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2020

Unsupervised Learning of Visual Features by Contrasting Cluster Assignments

Résumé

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.
Fichier principal
Vignette du fichier
main.pdf (510.63 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-02883765 , version 1 (29-06-2020)
hal-02883765 , version 2 (27-10-2020)

Identifiants

  • HAL Id : hal-02883765 , version 2

Citer

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⟩
1011 Consultations
1010 Téléchargements

Partager

Gmail Facebook X LinkedIn More