PreprintCited by 2,499Domain Adaptation and Few-Shot LearningAdvanced Neural Network ApplicationsAdvanced Image and Video Retrieval Techniques

Unsupervised Learning of Visual Features by Contrasting Cluster Assignments

Open access
Caron, Mathilde, Misra, Ishan, Mairal, Julien, Goyal, Priya, Bojanowski, Piotr, Joulin, Armand·2020·arXiv

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.

Integrity signals

Registry

DataCite · 10.48550/arxiv.2006.09882

Cites

10 of 10 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Good performance with k-NN only emerges when combining certain components such as momentum encoder and multi-crop augmentation.

    “However, the good performance with k -NN only emerge when combining certain components such as momentum encoder [33] and multi-crop augmentation [10].”

    From Emerging Properties in Self-Supervised Vision Transformers (2021) · cites this paper as [10]

  • Training DINO with ViT takes just two 8-GPU servers over 3 days to achieve 76.1% on ImageNet linear benchmark, which outperforms self-supervised systems based on convnets of comparable sizes with significantly reduced compute requirements.

    “In particular, training DINO with ViT takes just two 8-GPU servers over 3 days to achieve 76 . 1% on ImageNet linear benchmark, which outperforms self-supervised systems based on convnets of comparable sizes with significantly reduced compute requirements [10, 30].”

    From Emerging Properties in Self-Supervised Vision Transformers (2021) · cites this paper as [10]

  • DINO can work with only a centering and sharpening of the teacher output to avoid collapse, while other popular components such as predictor, advanced normalization or contrastive loss add little benefits in terms of stability or performance.

    “Interestingly, our method can work with only a centering and sharpening of the teacher output to avoid collapse, while other popular components such as predictor [30], advanced normalization [10] or contrastive loss [33] add little benefits in terms of stability or performance.”

    From Emerging Properties in Self-Supervised Vision Transformers (2021) · cites this paper as [10]

  • For ViT architectures, self-supervised pretraining transfers better than features trained with supervision.

    “We observe that for ViT architectures, self-supervised pretraining transfers better than features trained with supervision, which is consistent with observations made on convolutional networks [10, 33, 62].”

    From Emerging Properties in Self-Supervised Vision Transformers (2021) · cites this paper as [10]

  • This result outperforms state-of-the-art self-supervised systems based on convolutional networks of comparable sizes with a significant reduction of computational requirements.

    “This result outperforms state-of-the-art self-supervised systems based on convolutional networks of comparable sizes with a significant reduction of computational requirements [30, 10].”

    From Emerging Properties in Self-Supervised Vision Transformers (2021) · cites this paper as [10]

Cites

Flagged first, then by citations

Cited by

Sorted by citations

Authors
Caron, M., Misra, I., Mairal, J., Goyal, P., Bojanowski, P., & Joulin, A.
Affiliations
  • Meta (United States) (US)
  • THOTH: Apprentissage de modèles visuels à partir de données massives (FR)
Venue
arXiv
Publisher
arXiv
Published
2020
Volume
33
Pages
9912-9924
ISSN
2331-8422 (ISSN-L)
OpenAlex
W3036224891
Cited by
2,499
References
10
Citations by year
2026: 7 · 2025: 312 · 2024: 606 · 2023: 672 · 2022: 456 · 2021: 398 · 2020: 48
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion)
  • HAL (submittedVersion, other-oa)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Image and Video Retrieval Techniques
Keywords
SwAV, contrastive learning, online clustering, memory efficiency, ImageNet, transfer learning

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review