This paper presents SimCLR: a simple framework for contrastive learning of visual representations. We simplify recently proposed contrastive self-supervised learning algorithms without requiring specialized architectures or a memory bank. In order to understand what enables the contrastive prediction tasks to learn useful representations, we systematically study the major components of our framework. We show that (1) composition of data augmentations plays a critical role in defining effective predictive tasks, (2) introducing a learnable nonlinear transformation between the representation and the contrastive loss substantially improves the quality of the learned representations, and (3) contrastive learning benefits from larger batch sizes and more training steps compared to supervised learning. By combining these findings, we are able to considerably outperform previous methods for self-supervised and semi-supervised learning on ImageNet. A linear classifier trained on self-supervised representations learned by SimCLR achieves 76.5% top-1 accuracy, which is a 7% relative improvement over previous state-of-the-art, matching the performance of a supervised ResNet-50. When fine-tuned on only 1% of the labels, we achieve 85.8% top-5 accuracy, outperforming AlexNet with 100X fewer labels.
翻译:本文展示了 SimCLR 的简单框架, 用于对比性地学习视觉演示。 我们简化了最近提出的对比性自我监督学习算法, 不需要专门的架构或记忆库。 为了理解哪些因素使得对比性预测任务能够学习有用的演示, 我们系统地研究我们框架的主要组成部分。 我们显示:(1) 数据增强的构成在定义有效预测任务方面发挥着关键作用, (2) 演示和对比性损失之间引入了可学习的非线性转换, 大大提高了学习性陈述的质量, (3) 与监督性学习相比, 简化了较大批量规模和更多培训步骤的对比性学习效益。 通过将这些结果结合起来, 我们能够大大超过以前在图像网络上进行自我监督性和半监督性学习的方法。 一个接受过SimCLRLR学习的自我监督性陈述的线性分类器实现了76.5% 上一级-1 精确度, 与先前的状态和受监督的ResNet- 50 性表现相匹配了7%的相对改善。 当只对1%的标签进行微调时, 我们实现了85.8% 5 低于100 X 的高级 标签。