Papers / Vision
MoCo (2019)
Momentum Contrast for Unsupervised Visual Representation Learning
Built a large, consistent queue of negative keys with a slowly moving momentum encoder so unsupervised pretraining beat supervised ImageNet on transfer.
Why it matters
For years, self-supervised vision features trailed supervised ImageNet pretraining whenever transferred to real downstream tasks. MoCo was the turning point showing that contrastive pretraining on unlabeled photos could surpass supervised pretraining on detection and segmentation, and its momentum encoder became a fixture across later SSL methods.
- Year
- 2019
- Authors
- Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, Ross Girshick
- Venue
- CVPR 2020
- Data
- ImageNet (ILSVRC), PASCAL VOC, MS COCO, Cityscapes
The idea
Frame contrastive learning as matching two crops of the same image against a large dictionary of other images. Keep the dictionary as a rolling queue of 65,536 past embeddings—decoupling its size from the GPU batch size—and encode the keys with an exponential moving average of the query network so old keys stay consistent with new ones.
The result
60.6% linear top-1 on ImageNet with ResNet-50 (68.6% with ResNet-50 4×) and stronger transfer than supervised ImageNet pretraining on seven detection and segmentation benchmarks across PASCAL VOC, COCO and Cityscapes.
The data
ImageNet (ILSVRC)
20091.28 million photos across 1,000 classes, the dataset behind the deep learning boom. (10 years earlier)




PASCAL VOC
2005The 20-class object-detection challenge that ran every year from 2005 to 2012. (14 years earlier)




MS COCO
2014330k everyday scenes with 1.5M labeled objects in 80 categories. (5 years earlier)




Cityscapes
20165,000 street photos from 50 cities, every pixel labeled as road, car, person, sky and so on. (3 years earlier)




Builds on
- ResNet (2015): Skip connections that let networks grow from about 20 layers to more than 150.
Led to
- BYOL (2020): Learned strong image representations without any negative pairs by training an online network to predict a slowly moving copy of itself.
- SimCLR (2020): Showed that plain contrastive learning without queues or memory banks matches supervised ResNet-50 when paired with strong augmentations, a nonlinear projection head and large batches.
- MAE (2021): Masked 75% of an image's patches and trained a Vision Transformer to reconstruct the missing pixels using an asymmetric encoder–decoder.
