# A Survey on Contrastive Self-supervised Learning

대조 학습 기반 자기지도 학습에 관한 서베이

Ashish Jaiswal, Ashwin Ramesh Babu, Mohammad Zaki Zadeh, Debapriya Banerjee, Fillia Makedon · arXiv · 2020년 10월 31일

- **연구 문제** 라벨 비용을 줄이기 위해 데이터 자체에서 신호를 만드는 대조 학습 방법을 정리합니다.
- **연구 방법** 원본, 증강 샘플, 음성 샘플을 이용해 임베딩을 가깝게 또는 멀게 학습하며, 음성 샘플을 모으는 방식에 따라 구조를 나눕니다.
- **주요 결과** 표 1에서 SwAV는 ResNet50 기준 ImageNet Top-1 75.3을 보고하며, SimCLR은 같은 표에서 69.3을 보고합니다.

## 라벨 없이 표현을 배우는 문제

지도 학습은 많은 주석 데이터가 필요하고, 그 비용이 커서 데이터가 많아도 활용이 어렵습니다. 자기지도 학습은 데이터 자체에서 자가 정의한 의사 레이블을 만들어 지도 신호로 사용합니다. 이 논문은 그중 대조 학습(contrastive learning) 방식의 방법들을 정리합니다. 대조 학습은 같은 샘플의 증강된 두 버전의 임베딩을 가깝게 하고, 다른 샘플의 임베딩을 멀리 밀어내는 방식입니다. 이 논문은 pretext task, 아키텍처, 학습 방식, 하위 과제 성능을 나누어 살펴봅니다.

![Figure 1: Basic intuition behind contrastive learning paradigm: push original and augmented images closer and push original and negative images away](https://refivu.com/papers/96ece942-a5ea-4ce6-9ec5-3a38107aeef7/figures/figure-08178e62b0999bff1d73ad4308f027a4.png?thumb=512)

**Figure 1** : Basic intuition behind contrastive learning paradigm: push original and augmented images closer and push original and negative images away

[원문](https://arxiv.org/abs/2011.00362v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ashish Jaiswal, Ashwin Ramesh Babu, Mohammad Zaki Zadeh, Debapriya Banerjee, Fillia Makedon · A Survey on Contrastive Self-supervised Learning · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## Pretext task의 구성

Pretext task는 데이터의 속성에서 자동으로 만들어진 의사 레이블로 표현을 학습하는 과제입니다. 대조 학습에서 원본 이미지는 anchor가 되고, 증강된 버전은 positive 샘플이 됩니다. 배치나 데이터셋의 나머지 샘플은 negative 샘플로 사용됩니다. 논문은 색 변환, 기하 변환, 문맥 기반 과제, 교차 모달 기반 과제로 나누어 설명하며, 각 과제는 해결하려는 문제에 따라 쓰임이 달라집니다.

![Figure 2: Contrastive learning pipeline for self-supervised training](https://refivu.com/papers/96ece942-a5ea-4ce6-9ec5-3a38107aeef7/figures/figure-20626612db0c3f21c109aeb0eb777e80.png?thumb=512)

**Figure 2** : Contrastive learning pipeline for self-supervised training

[원문](https://arxiv.org/abs/2011.00362v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ashish Jaiswal, Ashwin Ramesh Babu, Mohammad Zaki Zadeh, Debapriya Banerjee, Fillia Makedon · A Survey on Contrastive Self-supervised Learning · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

![Figure 4: Color Transformation as pretext task \[ 15\]. (a) Original (b) Gaussian noise (c) Gaussian blur (d) Color distortion (Jitter)](https://refivu.com/papers/96ece942-a5ea-4ce6-9ec5-3a38107aeef7/figures/figure-3fb6228374deb9269dc4ccba81ae5055.png?thumb=512)

**Figure 4** : Color Transformation as pretext task \[ 15\]. (a) Original (b) Gaussian noise (c) Gaussian blur (d) Color distortion (Jitter)

[원문](https://arxiv.org/abs/2011.00362v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ashish Jaiswal, Ashwin Ramesh Babu, Mohammad Zaki Zadeh, Debapriya Banerjee, Fillia Makedon · A Survey on Contrastive Self-supervised Learning · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

![Figure 5: Geometric Transformation as pretext task \[15\]. (a) Original (b) Crop and Resize (c) Rotate(90◦, 180◦, 270◦) (d) crop, resize, ﬂip](https://refivu.com/papers/96ece942-a5ea-4ce6-9ec5-3a38107aeef7/figures/figure-a0c74cb5d658ddb0f8b5b2aa9925a219.png?thumb=512)

**Figure 5** : Geometric Transformation as pretext task \[15\]. (a) Original (b) Crop and Resize (c) Rotate(90◦, 180◦, 270◦) (d) crop, resize, ﬂip

[원문](https://arxiv.org/abs/2011.00362v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ashish Jaiswal, Ashwin Ramesh Babu, Mohammad Zaki Zadeh, Debapriya Banerjee, Fillia Makedon · A Survey on Contrastive Self-supervised Learning · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

![Figure 6: Solving jigsaw puzzle being used as a pretext task to learn representation. (a) Original Image (b) reshufﬂed image. The original image is the anchor…](https://refivu.com/papers/96ece942-a5ea-4ce6-9ec5-3a38107aeef7/figures/figure-0e7c31bc9fee6648d7a1c8449e41017e.png?thumb=512)

**Figure 6** : Solving jigsaw puzzle being used as a pretext task to learn representation. (a) Original Image (b) reshufﬂed image. The original image is the anchor and the reshufﬂed image is the positive sample.

[원문](https://arxiv.org/abs/2011.00362v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ashish Jaiswal, Ashwin Ramesh Babu, Mohammad Zaki Zadeh, Debapriya Banerjee, Fillia Makedon · A Survey on Contrastive Self-supervised Learning · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

## 음성 샘플을 모으는 네 가지 구조

엔드투엔드 학습은 쿼리 인코더와 키 인코더를 역전파로 함께 갱신하며, 큰 배치에서 음성 샘플을 모읍니다. SimCLR은 배치 크기 4096과 100 에폭으로 학습된 대표 사례로 소개됩니다. 메모리 뱅크는 데이터셋 각 샘플의 특징 표현을 저장해 배치 크기를 늘리지 않고 음성 샘플로 사용합니다. PIRL은 이 방식으로 학습된 방법으로 설명됩니다. 모멘텀 인코더는 키의 큐를 만들고, 쿼리 인코더 파라미터로부터 식 (1)의 θk←mθk+(1−m)θq에 따라 갱신됩니다. 여기서 m은 0 이상 1 미만의 모멘텀 계수입니다. 클러스터링 방식은 샘플 쌍만이 아니라 유사한 특징들이 함께 군집을 이루도록 SwAV 같은 방법에서 사용됩니다.

![Figure 12: Linear evaluation models (ResNet-50) trained with different batch size and epochs. Each bar represents a single run from scratch \[15\]](https://refivu.com/papers/96ece942-a5ea-4ce6-9ec5-3a38107aeef7/figures/figure-0617441b5d0e100b43802bc2de8b458e.png?thumb=512)

**Figure 12** : Linear evaluation models (ResNet-50) trained with different batch size and epochs. Each bar represents a single run from scratch \[15\]

[원문](https://arxiv.org/abs/2011.00362v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ashish Jaiswal, Ashwin Ramesh Babu, Mohammad Zaki Zadeh, Debapriya Banerjee, Fillia Makedon · A Survey on Contrastive Self-supervised Learning · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

![Figure 13: Usage of memory bank in PIRL: memory bank contains the moving average representations of all negative images to be used in contrastive learning. \[17\]](https://refivu.com/papers/96ece942-a5ea-4ce6-9ec5-3a38107aeef7/figures/figure-afa664d58d857ff84648a86a8f6cf217.png?thumb=512)

**Figure 13** : Usage of memory bank in PIRL: memory bank contains the moving average representations of all negative images to be used in contrastive learning. \[17\]

[원문](https://arxiv.org/abs/2011.00362v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ashish Jaiswal, Ashwin Ramesh Babu, Mohammad Zaki Zadeh, Debapriya Banerjee, Fillia Makedon · A Survey on Contrastive Self-supervised Learning · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.

![Figure 14: Conventional Contrastive Instance Learning v/s Contrastive Clustering of Feature Representations in SwA V \[13\]](https://refivu.com/papers/96ece942-a5ea-4ce6-9ec5-3a38107aeef7/figures/figure-3ff26c984680e01d1bc3533142e34fd7.png?thumb=512)

**Figure 14** : Conventional Contrastive Instance Learning v/s Contrastive Clustering of Feature Representations in SwA V \[13\]

[원문](https://arxiv.org/abs/2011.00362v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ashish Jaiswal, Ashwin Ramesh Babu, Mohammad Zaki Zadeh, Debapriya Banerjee, Fillia Makedon · A Survey on Contrastive Self-supervised Learning · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

## 대조 손실과 학습 최적화

대조 학습의 기본 유사도는 cosine similarity입니다. NCE 손실은 쿼리 q, 양성 샘플 k+, 음성 샘플 k−를 두고 온도 계수 τ를 사용하는 로그 형태로 정의됩니다. 음성 샘플이 많을 때는 InfoNCE가 쓰이며, 여기서 L2 정규화와 온도 계수는 어려운 음성 샘플을 더 반영하는 역할을 합니다. 최적화에서는 SGD가 널리 쓰이고, 아주 큰 배치에서는 LARS와 cosine 학습률 스케줄이 학습을 안정시키기 위해 도입된다고 설명됩니다.

![Figure 7: Contrastive Predictive Coding: Although the ﬁgure shows audio as input, similar setup can be used for videos, images, text etc. \[21\]](https://refivu.com/papers/96ece942-a5ea-4ce6-9ec5-3a38107aeef7/figures/figure-a5e9d2dff79338dc3641ababe1dee453.png?thumb=512)

**Figure 7** : Contrastive Predictive Coding: Although the ﬁgure shows audio as input, similar setup can be used for videos, images, text etc. \[21\]

[원문](https://arxiv.org/abs/2011.00362v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ashish Jaiswal, Ashwin Ramesh Babu, Mohammad Zaki Zadeh, Debapriya Banerjee, Fillia Makedon · A Survey on Contrastive Self-supervised Learning · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## ImageNet 결과와 대표 비교

표 1은 ImageNet에서 자기지도 방법들을 frozen encoder 기반 선형 분류기로 평가한 Top-1 정확도를 보고합니다. 이 표에서 SwAV는 ResNet50 기준 Top-1 75.3을 기록합니다. 같은 표의 SimCLR은 ResNet50에서 69.3을 기록합니다. 이 수치는 해당 표의 ResNet50 설정과 ImageNet 자기지도 평가 조건에서 읽어야 하며, 다른 데이터셋이나 다른 모델의 결과로 옮길 수 없습니다.

![Figure 3: Top-1 classiﬁcation accuracy of different contrastive learning methods against baseline supervised method on ImageNet](https://refivu.com/papers/96ece942-a5ea-4ce6-9ec5-3a38107aeef7/figures/figure-0b499f089897473ab4174658a3306caa.png?thumb=512)

**Figure 3** : Top-1 classiﬁcation accuracy of different contrastive learning methods against baseline supervised method on ImageNet

[원문](https://arxiv.org/abs/2011.00362v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ashish Jaiswal, Ashwin Ramesh Babu, Mohammad Zaki Zadeh, Debapriya Banerjee, Fillia Makedon · A Survey on Contrastive Self-supervised Learning · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

![Table 1: Performance on ImageNet Dataset: Top-1 and Top-5 accuracies of different contrastive learning methods on ImageNet using self-supervised approach where…](https://refivu.com/papers/96ece942-a5ea-4ce6-9ec5-3a38107aeef7/figures/figure-b102dda9df38145abf75353a90ccc340.png?thumb=512)

**Table 1** : Performance on ImageNet Dataset: Top-1 and Top-5 accuracies of different contrastive learning methods on ImageNet using self-supervised approach where models are used as frozen encoders for a linear classiﬁer. The second half of the table (rightmost two columns) show the performance (top-5 accuracy) of these methods after ﬁne-tuning on 1% and 10% of labels from ImageNet

[원문](https://arxiv.org/abs/2011.00362v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ashish Jaiswal, Ashwin Ramesh Babu, Mohammad Zaki Zadeh, Debapriya Banerjee, Fillia Makedon · A Survey on Contrastive Self-supervised Learning · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.

## 한계와 향후 과제

메모리 뱅크는 표현이 빠르게 오래될 수 있어 갱신 계산 비용이 클 수 있습니다. 엔드투엔드 방식의 음성 샘플 수는 배치 크기에 묶여 있어 GPU 메모리 제약 때문에 확장성에 문제가 있습니다. 논문은 pretext task 선택, 데이터 증강, 음성 샘플링, 데이터셋 편향에 대한 이론적 근거가 더 필요하다고 논의합니다.

![Figure 9: Most of the shapes of these two pairs of images are same. However, low-level statistics are different (color and texture). Usage of right pre-text ta…](https://refivu.com/papers/96ece942-a5ea-4ce6-9ec5-3a38107aeef7/figures/figure-a28c6a65174fd5bc824659c4e224251f.png?thumb=512)

**Figure 9** : Most of the shapes of these two pairs of images are same. However, low-level statistics are different (color and texture). Usage of right pre-text task here is necessary\[28\]

[원문](https://arxiv.org/abs/2011.00362v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ashish Jaiswal, Ashwin Ramesh Babu, Mohammad Zaki Zadeh, Debapriya Banerjee, Fillia Makedon · A Survey on Contrastive Self-supervised Learning · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

![Figure 10: A sample from the DTD dataset \[27\]. An example of why rotation based pretext task will not work well](https://refivu.com/papers/96ece942-a5ea-4ce6-9ec5-3a38107aeef7/figures/figure-f0e4cd9029fd2e475b4ffee1850b17b3.png?thumb=512)

**Figure 10** : A sample from the DTD dataset \[27\]. An example of why rotation based pretext task will not work well.

[원문](https://arxiv.org/abs/2011.00362v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ashish Jaiswal, Ashwin Ramesh Babu, Mohammad Zaki Zadeh, Debapriya Banerjee, Fillia Makedon · A Survey on Contrastive Self-supervised Learning · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 논문 정보

- **저자**: Ashish Jaiswal, Ashwin Ramesh Babu, Mohammad Zaki Zadeh, Debapriya Banerjee, Fillia Makedon
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2020년 10월 31일
- **등록일**: 2026년 11월 6일
- **수정일**: 2021년 2월 7일
- **버전**: v3
- **arXiv**: 2011.00362
- **분류**: cs.CV
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2011.00362v3) · [원문 PDF ↗](https://arxiv.org/pdf/2011.00362v3)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Self-supervised learning has gained popularity because of its ability to avoid the cost of annotating large-scale datasets. It is capable of adopting self-defined pseudo labels as supervision and use the learned representations for several downstream tasks. Specifically, contrastive learning has recently become a dominant component in self-supervised learning methods for computer vision, natural language processing (NLP), and other domains. It aims at embedding augmented versions of the same sample close to each other while trying to push away embeddings from different samples. This paper provides an extensive review of self-supervised methods that follow the contrastive approach. The work explains commonly used pretext tasks in a contrastive learning setup, followed by different architectures that have been proposed so far. Next, we have a performance comparison of different methods for multiple downstream tasks such as image classification, object detection, and action recognition. Finally, we conclude with the limitations of the current methods and the need for further techniques and future directions to make substantial progress.

## 원문 인용

Ashish Jaiswal, Ashwin Ramesh Babu, Mohammad Zaki Zadeh, Debapriya Banerjee, Fillia Makedon (2020). A Survey on Contrastive Self-supervised Learning. arXiv:2011.00362v3. https://arxiv.org/abs/2011.00362v3

**BibTeX**

```
@misc{jaiswal2020survey,
  title = {{A Survey on Contrastive Self-supervised Learning}},
  author = {Ashish Jaiswal and Ashwin Ramesh Babu and Mohammad Zaki Zadeh and Debapriya Banerjee and Fillia Makedon},
  year = {2020},
  eprint = {2011.00362},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.00362v3}
}
```

## 이 논문의 용어

- [Imagenet](https://refivu.com/terms/5eadad128667-imagenet)
- [Stochastic Gradient Descent](https://refivu.com/terms/a49650824022-stochastic-gradient-descent)
- [cosine similarity](https://refivu.com/terms/3baa01a8760d-cosine-similarity)
- [ResNet-50](https://refivu.com/terms/eb2323a60a89-resnet-50)
- [InfoNCE](https://refivu.com/terms/9909993ddc7f-infonce)
- [contrastive learning](https://refivu.com/terms/180d2c06550d-contrastive-learning)
- [Self-Supervised Learning](https://refivu.com/terms/5cfb8786ff12-self-supervised-learning)
- [SimCLR](https://refivu.com/terms/d735de709ac1-simclr)
- [MoCo](https://refivu.com/terms/48667b2992b6-moco)
- [Momentum encoder](https://refivu.com/terms/6f5b1dba2a1e-momentum-encoder)
- [memory bank](https://refivu.com/terms/130f857ce3f1-memory-bank)
- [pretext task](https://refivu.com/terms/9e1cd3a4fd51-pretext-task)
- [Top-1](https://refivu.com/terms/79846c0ff8b4-top-1)
- [Noise Contrastive Estimation](https://refivu.com/terms/2bfec15cdb82-noise-contrastive-estimation)
- [PLACES](https://refivu.com/terms/f1989482056f-places)
- [PIRL](https://refivu.com/terms/d3e6b75246c6-pirl)
- [momentum coefﬁcient](https://refivu.com/terms/ed9c66aeb12b-momentum-coefficient)
- [SwA V](https://refivu.com/terms/279a904658ad-swa-v)

## 다른 논문 해설

- [Anomaly Detection on Attributed Networks via Contrastive Self-Supervised Learning](https://refivu.com/papers/c20bdbfe-b419-4df5-8f33-b1066c4f4576-anomaly-detection-on-attributed-networks-via-contrastive.md)
- [Graph Self-Supervised Learning: A Survey](https://refivu.com/papers/3b8a4279-c849-4f49-8e2f-9d1981c1e87d-graph-self-supervised-learning-a-survey.md)
- [Self-supervised Learning: Generative or Contrastive](https://refivu.com/papers/f29652bc-588e-4c10-accc-3c3ba6c23453-self-supervised-learning-generative-or-contrastive.md)
- [Visualizing and Understanding Contrastive Learning](https://refivu.com/papers/1c935acc-e6a1-4adf-b191-ce3d39858069-visualizing-and-understanding-contrastive-learning.md)
- [Learning Representations with Contrastive Self-Supervised Learning for Histopathology Applications](https://refivu.com/papers/34056d75-d0d7-4a13-a797-cabf81501cec-learning-representations-with-contrastive-self-supervised.md)
- [Cross-Modal Contrastive Learning of Representations for Navigation using Lightweight, Low-Cost Millimeter Wave Radar for Adverse Environmental Conditions](https://refivu.com/papers/5c56fa5a-3227-4a44-a609-9b42bb1290c2-cross-modal-contrastive-learning-of-representations-for.md)
- [An Experimental Analysis of Attack Classification Using Machine Learning in IoT Networks](https://refivu.com/papers/050477db-0a85-4138-8669-e746c016e596-an-experimental-analysis-of-attack-classification-using.md)
- [TransMed: Transformers Advance Multi-modal Medical Image Classification](https://refivu.com/papers/23fc0792-8c66-4fa5-9842-427e13e4215b-transmed-transformers-advance-multi-modal-medical-image.md)
- [A Review on Deep Learning in UAV Remote Sensing](https://refivu.com/papers/f77508ce-8fbf-4452-ad88-b2606bb8b0d4-a-review-on-deep-learning-in-uav-remote.md)
- [Graph Learning: A Survey](https://refivu.com/papers/3ea8a261-7c0e-4c24-8f31-8bc870a9cf84-graph-learning-a-survey.md)
- [DeepPurpose: a Deep Learning Library for Drug-Target Interaction Prediction](https://refivu.com/papers/4b10619c-0652-4129-87c0-5f65578d8488-deeppurpose-a-deep-learning-library-for-drug-target.md)
- [Fine-Grained Image Analysis with Deep Learning: A Survey](https://refivu.com/papers/225ddd40-96a5-4a36-bb16-28857f71c737-fine-grained-image-analysis-with-deep-learning-a.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/96ece942-a5ea-4ce6-9ec5-3a38107aeef7-a-survey-on-contrastive-self-supervised-learning)
