Reproduce “A Simple Framework for Contrastive Learning of Visual Representations” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Ting Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey Hinton
SimCLR trains encoders from unlabeled images by matching two augmented views of each image against views from others. Its recipe combines composed transformations, a nonlinear projection head, and minibatch negatives, without a memory bank or specialized architecture. On ImageNet, ResNet-50 reaches 69.3% top-1 accuracy in frozen-feature linear evaluation versus 63.8% for CPC v2; the comparison is reported, not a controlled rerun.
Key insights
- The composition of multiple strong data augmentations, particularly random crop and color distortion, is critical for learning effective visual representations.
- A nonlinear projection head improves the quality of learned representations, but the representation before this head is superior for downstream tasks.
- The Normalized Temperature-scaled Cross Entropy (NT-Xent) loss with cosine similarity and an appropriate temperature parameter is highly effective.
- Larger batch sizes and longer training durations significantly improve performance, facilitating convergence and eliminating the need for a memory bank.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.