Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Unsupervised Learning of Visual Features by Contrasting Cluster Assignments

About

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.

Mathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal, Piotr Bojanowski, Armand Joulin• 2020

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100 (test)--
3518
Semantic segmentationADE20K (val)
mIoU35.4
2731
Object DetectionCOCO 2017 (val)
AP42.1
2454
Semantic segmentationPASCAL VOC 2012 (val)
Mean IoU73
2040
Image ClassificationImageNet-1K 1.0 (val)
Top-1 Accuracy74.3
1866
Image ClassificationImageNet-1k (val)
Top-1 Accuracy78.5
1453
Image ClassificationImageNet (val)
Top-1 Acc82
1206
ClassificationImageNet-1K 1.0 (val)
Top-1 Accuracy (%)72.7
1155
Instance SegmentationCOCO 2017 (val)
APm0.378
1144
Semantic segmentationADE20K
mIoU37.3
936
Showing 10 of 271 rows
...

Other info

Code

Follow for update