# Emerging Properties in Self-Supervised Vision Transformers

자기지도 비전 트랜스포머의 창발적 특성

Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski 외 1명 · arXiv · 2021년 4월 29일

- **연구 문제** 자기지도 학습이 ViT 특징에 합성곱 네트워크와 구별되는 속성을 주는지 묻습니다. 이 질문은 레이블 없이 학습한 ViT의 의미적 분할 정보와 k-NN 성능을 확인하는 것으로 이어집니다.
- **연구 방법** DINO는 교사와 학생이 같은 구조를 공유하고 교사를 학생의 지수 이동 평균으로 갱신하는 자기증류 방식입니다. 교사 출력에는 센터링과 샤프닝을 적용해 붕괴를 막습니다.
- **주요 결과** ImageNet에서 ViT-S 설정의 DINO는 선형 평가 77.0%, k-NN 평가 74.5%를 기록합니다. 모멘텀 교사를 제거하면 학습이 동작하지 않고, 센터링과 샤프닝 중 하나만 쓰면 KL 발산이 0으로 수렴해 붕괴가 발생합니다.

## ViT 특징에서 던지는 질문

ViT는 이미지를 패치 시퀀스로 바꾼 뒤 Transformer로 처리하는 구조이며, 합성곱 신경망과 경쟁할 만한 성능을 보였습니다. 그러나 도입부는 ViT가 합성곱 신경망보다 계산량이 크고 더 많은 학습 데이터를 요구하며, 특징에 고유한 성질이 뚜렷하지 않다는 점을 한계로 짚습니다.

이 논문은 이 공백의 원인을 pre-training 방식에서 찾습니다. NLP에서 Transformer의 성공은 레이블 없이 문장 자체에서 학습 과제를 만드는 자기지도 pre-training과 함께 이루어졌습니다. 저자들은 이미지에서도 장면 하나를 미리 정한 클래스 하나로 줄이는 지도 신호가 풍부한 시각 정보를 잃게 만든다고 보고, 자기지도 학습이 ViT 특징에 새로운 속성을 주는지 확인합니다.

초록이 제시하는 핵심 관찰은 두 가지입니다. 첫째, 자기지도 ViT 특징은 이미지의 의미적 분할에 관한 정보를 명시적으로 담으며, 이는 지도 ViT나 합성곱 네트워크에서는 같은 정도로 나타나지 않습니다. 둘째, 이 특징은 간단한 k-NN 분류기에서도 높은 정확도를 냅니다. 초록은 작은 ViT의 특징이 ImageNet에서 78.3% top-1에 도달한다고 밝힙니다.

![Figure 1: Self-attention from a Vision Transformer with 8× 8 patches trained with no supervision. We look at the self-attention of the \[CLS\] token on the heads…](https://refivu.com/papers/d2f53db5-080e-4342-beab-1de92f307256/figures/figure-828b8cb265830b97af4c416797ad3c42.png?thumb=512)

**Figure 1** : Self-attention from a Vision Transformer with 8× 8 patches trained with no supervision. We look at the self-attention of the \[CLS\] token on the heads of the last layer. This token is not attached to any label nor supervision. These maps show that the model automatically learns class-speciﬁc features leading to unsupervised object segmentations.

[원문](https://arxiv.org/abs/2104.14294v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, Armand Joulin · Emerging Properties in Self-Supervised Vision Transformers · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.

![Figure 3: Attention maps from multiple heads. We consider the heads from the last layer of a ViT-S/8 trained with DINO and display the self-attention for \[CLS\]…](https://refivu.com/papers/d2f53db5-080e-4342-beab-1de92f307256/figures/figure-b934a70fa09650920072780cf517c215.png?thumb=512)

**Figure 3** : Attention maps from multiple heads. We consider the heads from the last layer of a ViT-S/8 trained with DINO and display the self-attention for \[CLS\] token query. Different heads, materialized by different colors, focus on different locations that represents different objects or parts (more examples in Appendix).

[원문](https://arxiv.org/abs/2104.14294v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, Armand Joulin · Emerging Properties in Self-Supervised Vision Transformers · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

![Figure 10: Self-attention heads from the last layer. We look at the attention map when using the \[CLS\] token as a query for the different heads in the last lay…](https://refivu.com/papers/d2f53db5-080e-4342-beab-1de92f307256/figures/figure-c6a16616198729af15888df08fb4e5cb.png?thumb=512)

**Figure 10** : Self-attention heads from the last layer. We look at the attention map when using the \[CLS\] token as a query for the different heads in the last layer. Note that the \[CLS\] token is not attached to any label or supervision.

[원문](https://arxiv.org/abs/2104.14294v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, Armand Joulin · Emerging Properties in Self-Supervised Vision Transformers · 원문 그림 인용 · 원본 PDF 20쪽에서 그림 영역을 추출했습니다.

## DINO의 교사와 학생 학습

DINO는 같은 구조의 학생 네트워크 \\(g\_{\\theta\_s}\\)와 교사 네트워크 \\(g\_{\\theta\_t}\\)가 같은 이미지의 서로 다른 뷰를 입력받아 출력 분포를 맞추는 방식입니다. 두 네트워크는 파라미터만 다르고, 각 출력은 K차원 벡터를 온도 \\(\\tau\\)의 소프트맥스로 정규화해 확률 분포가 됩니다. 학생 쪽 분포는 다음과 같이 계산됩니다.

![Figure 2: Self-distillation with no labels. We illustrate DINO in the case of one single pair of views ( x1, x2) for simplicity. The model passes two different…](https://refivu.com/papers/d2f53db5-080e-4342-beab-1de92f307256/figures/figure-ec00a582813440a8e80c2716df26c4a8.png?thumb=512)

**Figure 2** : Self-distillation with no labels. We illustrate DINO in the case of one single pair of views ( x1, x2) for simplicity. The model passes two different random transformations of an input image to the student and teacher networks. Both networks have the same architecture but different parameters. The output of the teacher network is centered with a mean computed over the batch. Each networks outputs a K dimensional feature that is normalized with a temperature softmax over the feature dimension. Their similarity is then measured with a cross-entropy loss. We apply a stop-gradient (sg) operator on the teacher to propagate gradients only through the student. The teacher parameters are updated with an exponential moving average (ema) of the student parameters.

[원문](https://arxiv.org/abs/2104.14294v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, Armand Joulin · Emerging Properties in Self-Supervised Vision Transformers · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

\\\[P\_s(x)(i)=\\frac{\\exp(g\_{\\theta\_s}(x)(i)/\\tau\_s)}{\\sum\_{k=1}^{K}\\exp(g\_{\\theta\_s}(x)(k)/\\tau\_s)}\\\]

교사 분포 \\(P\_t\\)도 같은 형태이며 온도 \\(\\tau\_t\\)를 씁니다. 학습은 교사 분포를 목표로 삼아 학생 분포와의 교차 엔트로피 \\(H(a,b)=-a\\log b\\)를 최소화합니다. 교사 출력은 목표로만 쓰이며 stop-gradient가 적용되므로 기울기는 학생 쪽으로만 흐릅니다.

교사는 미리 주어진 네트워크가 아니라 학생의 과거 상태에서 만들어집니다. DINO는 교사 파라미터를 학생 파라미터의 지수 이동 평균으로 갱신합니다.

\\\[\\theta\_t \\leftarrow \\lambda\\theta\_t+(1-\\lambda)\\theta\_s\\\]

\\(\\lambda\\)는 학습 중 0.996에서 1까지 코사인 스케줄을 따릅니다. 이 모멘텀 교사는 대조 학습의 큐를 대신하는 역할이라기보다 평균화된 교사로서 자기증류의 목표를 제공합니다. 저자들은 이를 Polyak-Ruppert 평균의 일종으로 해석합니다.

교사 출력이 한 차원에 쏠리거나 상수로 무너지는 것을 막기 위해 교사 출력에는 센터링과 샤프닝이 적용됩니다. 센터 \\(c\\)는 배치 평균으로 갱신되는 편향항으로, 한 차원이 지배하는 것을 막습니다. 샤프닝은 낮은 온도 \\(\\tau\_t\\)로 출력을 뾰족하게 만듭니다. 센터링은 출력을 균일 분포 쪽으로 몰고 샤프닝은 반대 효과를 내므로, 두 연산을 함께 적용해야 균형이 맞습니다.

\\\[c\\leftarrow mc+(1-m)\\frac{1}{B}\\sum\_{i=1}^{B}g\_{\\theta\_t}(x\_i)\\\]

여기서 \\(m\\)은 센터의 갱신 비율이고 \\(B\\)는 배치 크기입니다.

## ViT 패치 입력과 다중 크롭

ViT는 이미지를 겹치지 않는 N×N 패치 격자로 나누고, 패치를 선형 층으로 임베딩한 뒤 학습 가능한 \[CLS\] 토큰을 추가합니다. 논문은 16×16 패치를 쓰는 /16 설정과 8×8 패치를 쓰는 /8 설정을 주로 사용합니다. Table 1에서 ViT-S/16의 토큰 수는 197이고 ViT-S/8의 토큰 수는 785로 나타나며, 두 설정의 파라미터 수는 모두 21M입니다. 같은 파라미터 수에서 패치가 작아지면 토큰 수가 늘어나 계산량이 커집니다.

![Table 1: Networks conﬁguration. “Blocks” is the number of Transformer blocks, “dim” is channel dimension and “heads” is the number of heads in multi-head atten…](https://refivu.com/papers/d2f53db5-080e-4342-beab-1de92f307256/figures/figure-cb2f7ec1448aa2095546185c400050db.png?thumb=512)

**Table 1** : Networks conﬁguration. “Blocks” is the number of Transformer blocks, “dim” is channel dimension and “heads” is the number of heads in multi-head attention. “# tokens” is the length of the token sequence when considering 2242 resolution inputs, “# params” is the total number of parameters (without counting the projection head) and “im/s” is the inference time on a NVIDIA V100 GPU with 128 samples per forward.

[원문](https://arxiv.org/abs/2104.14294v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, Armand Joulin · Emerging Properties in Self-Supervised Vision Transformers · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

다중 크롭은 한 이미지에서 두 개의 전역 뷰 \\(x^g\_1, x^g\_2\\)와 여러 개의 지역 뷰를 만듭니다. 기본 설정에서 전역 뷰는 \\(224^2\\) 해상도로 원본의 큰 영역을 덮고, 지역 뷰는 \\(96^2\\) 해상도로 원본의 작은 영역을 덮습니다. 모든 뷰는 학생에 들어가지만 교사에는 전역 뷰만 들어갑니다. 그래서 작은 지역 뷰가 전역 뷰의 교사 출력에 맞춰지는 '지역에서 전역으로'의 대응이 학습됩니다. 학습 손실은 다음과 같습니다.

\\\[\\min\_{\\theta\_s}\\sum\_{x\\in\\{x^g\_1,x^g\_2\\}}\\sum\_{x'\\in V,\\,x'\\neq x}H(P\_t(x),P\_s(x'))\\\]

이 손실은 두 개의 뷰만으로도 쓸 수 있지만, 표준 설정은 전역 뷰 2개와 여러 지역 뷰를 함께 씁니다. 다중 크롭의 스케일 범위에 대한 조사는 부록 E에 있습니다.

## ImageNet 선형 및 k-NN 평가 결과

ImageNet의 동결 특징 평가는 두 가지 방식으로 이루어집니다. 선형 평가는 동결된 특징 위에 선형 분류기를 학습합니다. k-NN 평가는 학습 데이터의 특징을 저장한 뒤 가중 최근접 이웃으로 분류하며, 논문은 20 NN을 대부분의 실행에서 가장 잘 작동하는 값으로 씁니다. k-NN은 추가 하이퍼파라미터 조정이나 데이터 증강 없이 특징 품질을 보는 데 쓰입니다.

ViT-S 설정에서 DINO는 선형 평가 77.0%, k-NN 평가 74.5%를 기록합니다. 같은 표에서 ViT-S 기준선은 BYOL 71.4%와 66.6%, MoCov2 72.7%와 64.4%, SwAV 73.5%와 66.3%입니다. 표 캡션에 따르면 별표로 표시된 기준선은 저자들이 재실행한 결과입니다. 논문은 DINO에서 k-NN 점수가 선형 점수에 가깝다는 점을 특징이 최근접 이웃 검색에 유리하다는 근거로 씁니다. 이 특성은 DINO와 ViT 조합에서 두드러지며, ResNet-50에서는 DINO의 선형 75.3%와 k-NN 67.5%로 보고됩니다.

![Table 2: Linear and k-NN classiﬁcation on ImageNet. We report top-1 accuracy for linear and k-NN evaluations on the validation set of ImageNet for different se…](https://refivu.com/papers/d2f53db5-080e-4342-beab-1de92f307256/figures/figure-568bf6f9d4b16f2b9b5300e14b7f4672.png?thumb=512)

**Table 2** : Linear and k-NN classiﬁcation on ImageNet. We report top-1 accuracy for linear and k-NN evaluations on the validation set of ImageNet for different self-supervised methods. We focus on ResNet-50 and ViT-small architectures, but also report the best results obtained across architectures. ∗ are run by us. We run the k-NN evaluation for models with ofﬁcial released weights. The throughput (im/s) is calculated on a NVIDIA V100 GPU with 128 samples per forward. Parameters (M) are of the feature extractor.

[원문](https://arxiv.org/abs/2104.14294v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, Armand Joulin · Emerging Properties in Self-Supervised Vision Transformers · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

아키텍처를 넓힌 비교에서 ViT-B/8의 DINO는 선형 80.1%, k-NN 77.4%를 보고하며, 이때 처리량은 V100 GPU에서 128 샘플 기준 63 im/s입니다. 저자들은 이 행을 방법 간 직접 비교가 아니라 DINO로 학습한 ViT가 더 큰 구조에서 어디까지 나아가는지 보여 주는 값으로 설명합니다.

## 모멘텀 교사와 붕괴 방지의 역할

절제 실험은 ViT-S/16을 300 epoch 학습한 설정에서 구성요소를 하나씩 바꿉니다. 모멘텀 인코더를 제거한 행은 k-NN 0.1, 선형 0.1로 보고되어 학습이 동작하지 않는 것으로 나타납니다. 모멘텀을 유지한 상태에서 Sinkhorn-Knopp를 추가한 행은 k-NN 72.2, 선형 76.0으로, DINO 기본 설정의 k-NN 72.8, 선형 76.1과 큰 차이가 없습니다. 다중 크롭을 제거한 행은 k-NN 67.9, 선형 72.5로 낮아집니다. 따라서 이 설정에서 모멘텀 교사와 다중 크롭은 성능에 중요한 구성요소입니다.

![Table 15: Relation to SwA V .We vary the operation on the teacher output between centering, a softmax applied over the batch di- mension and the Sinkhorn-Knopp…](https://refivu.com/papers/d2f53db5-080e-4342-beab-1de92f307256/figures/figure-654c4dbdaf19b12f227a0c5c5d26c441.png?thumb=512)

**Table 15** : Relation to SwA V .We vary the operation on the teacher output between centering, a softmax applied over the batch di- mension and the Sinkhorn-Knopp algorithm. We also ablate the Momentum encoder by replacing it with a hard copy of the student with a stop-gradient as in SwA V . Models are run for 300 epochs with ViT-S/16. We report top-1 accuracy on ImageNet linear evalu- ation.

[원문](https://arxiv.org/abs/2104.14294v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, Armand Joulin · Emerging Properties in Self-Supervised Vision Transformers · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

학습 중 교사의 성능도 비교됩니다. ViT를 학습할 때 모멘텀 교사는 학생보다 지속적으로 높은 k-NN 정확도를 보이며, 같은 현상은 ResNet-50 부록 실험에서도 보고됩니다. 저자들은 이를 평균화된 교사가 학생의 표현을 더 나은 목표로 끌어올리는 Mean Teacher형 자기증류로 해석합니다.

붕괴 분석은 교사 목표의 엔트로피와 교사-학생 KL 발산을 함께 봅니다. 교차 엔트로피는 \\\[H(P\_t,P\_s)=h(P\_t)+D\_{KL}(P\_t\\\|P\_s)\\\]로 분해됩니다. 센터링만 쓰면 엔트로피가 0으로 수렴하고, 샤프닝만 쓰면 엔트로피가 \\(-\\log(1/K)\\)로 수렴합니다. 두 경우 모두 KL 발산이 0으로 수렴하며, KL이 0이면 출력이 상수라는 뜻이므로 붕괴로 판단됩니다. 두 연산을 함께 쓰면 이 효과들이 균형을 이룹니다.

## 패치 크기와 계산 비용의 절충

패치를 작게 만들면 특징 품질이 개선되지만, 처리량과 메모리의 비용이 커집니다. 5×5 패치의 처리량은 44 im/s로 떨어지는 반면 8×8 패치는 180 im/s를 유지합니다. 밀집 예측 과제에서는 작은 패치가 더 큰 차이를 보입니다. 부록의 비디오 분할 실험에서 ViT-B의 /8 설정은 /16 설정보다 (J&F)m이 +9.1% 높게 보고됩니다.

다중 크롭은 같은 계산 예산에서 정확도를 높이는 비용 절충을 제공합니다. Table 8에서 2×224² 뷰만 쓰면 약 46시간 후 72.5%에 도달하고, 2×224² 뷰와 10×96² 지역 뷰를 쓰면 24시간 만에 74.6%에 도달한다고 보고됩니다. 대신 메모리 사용량은 9.3G에서 15.4G로 늘어납니다. 논문은 지역 뷰 수를 늘린 효과가 더 긴 학습에서는 점점 줄어든다고도 보고합니다.

![Table 8: Time and memory requirements.We show total running time and peak memory per GPU (“mem.”) when running ViT-S/16 DINO models on two 8-GPU machines. We r…](https://refivu.com/papers/d2f53db5-080e-4342-beab-1de92f307256/figures/figure-b424a5f7662c812c0703c896396ab350.png?thumb=512)

**Table 8** : Time and memory requirements.We show total running time and peak memory per GPU (“mem.”) when running ViT-S/16 DINO models on two 8-GPU machines. We report top-1 ImageNet val acc with linear evaluation for several variants of multi-crop, each having a different level of compute requirement.

[원문](https://arxiv.org/abs/2104.14294v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, Armand Joulin · Emerging Properties in Self-Supervised Vision Transformers · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

두 대의 8-GPU 서버에서 ViT를 DINO로 3일 동안 학습하면 ImageNet 선형 평가에서 76.1% top-1을 얻는다고 보고됩니다. 이 값은 같은 표에서 가장 많은 지역 뷰를 쓴 300 epoch 설정과 같은 수치로 나타납니다.

## Oxford와 Paris 검색 평가

DINO 특징의 검색 성능은 revisited Oxford와 Paris 데이터셋에서 평균 정밀도(mAP)로 평가됩니다. 평가는 Medium과 Hard 분할에서 이루어지며, 특징을 동결하고 k-NN으로 바로 검색합니다.

Table 3에서 지도 학습한 ViT-S/16은 ROxford에서 Medium 33.5, Hard 8.9, RParis에서 Medium 63.0, Hard 37.2를 기록합니다. ImageNet으로 DINO를 학습한 ViT-S/16은 각각 41.8, 13.7, 63.1, 34.4입니다. 같은 DINO 학습을 GLDv2 랜드마크 데이터셋에서 수행하면 51.5, 24.3, 75.3, 51.6으로 올라갑니다. 이 결과는 랜드마크 데이터로 SSL을 학습했을 때의 검색 성능이며, 표의 다른 행과 같은 조건으로 비교되는 값은 열과 행의 Pretrain 항목으로 구분해 읽어야 합니다.

![Table 3: Image retrieval. We compare the performance in retrieval of off-the-shelf features pretrained with supervision or with DINO on ImageNet and Google Lan…](https://refivu.com/papers/d2f53db5-080e-4342-beab-1de92f307256/figures/figure-2a0220c904fdd647f236ea8cd728f9e5.png?thumb=512)

**Table 3** : Image retrieval. We compare the performance in retrieval of off-the-shelf features pretrained with supervision or with DINO on ImageNet and Google Landmarks v2 (GLDv2) dataset. We report mAP on revisited Oxford and Paris. Pretraining with DINO on a landmark dataset performs particularly well. For reference, we also report the best retrieval method with off-the-shelf features \[57\].

[원문](https://arxiv.org/abs/2104.14294v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, Armand Joulin · Emerging Properties in Self-Supervised Vision Transformers · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 남은 질문

다중 크롭의 효과는 모든 SSL 방법에서 같지 않습니다. 논문은 DINO와 MoCo-v2에서 다중 크롭을 제거하면 성능이 2~4% 떨어진다고 보고하지만, BYOL에 다중 크롭을 적용하면 기본 설정에서 잘 동작하지 않는다고 보고합니다. 학습률, 가중치 감쇠, 뷰 수를 바꾼 탐색에서도 같은 패턴이 나타났다고 밝히며, 그 원인은 향후 과제로 남깁니다.

![Table 14: Relation to MoCo-v2 and BYOL. We ablate the com- ponents that differ between DINO, MoCo-v2 and BYOL: the loss function (cross-entropy, CE, versus Inf…](https://refivu.com/papers/d2f53db5-080e-4342-beab-1de92f307256/figures/figure-d42bf3fd432ea4a396f1a895b4367f92.png?thumb=512)

**Table 14** : Relation to MoCo-v2 and BYOL. We ablate the com- ponents that differ between DINO, MoCo-v2 and BYOL: the loss function (cross-entropy, CE, versus InfoNCE, INCE, versus mean- square error, MSE), the multi-crop training, the centering operator, the batch normalization in the projection heads and the student predictor. Models are run for 300 epochs with ViT-S/16. We report top-1 accuracy on ImageNet linear evaluation.

[원문](https://arxiv.org/abs/2104.14294v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, Armand Joulin · Emerging Properties in Self-Supervised Vision Transformers · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

보고된 결과는 주로 ImageNet pre-training과 ImageNet 평가, 그리고 제시된 다운스트림 과제에서 얻은 값입니다. 작은 패치는 특징을 개선하지만 처리량과 메모리에 비용을 치르며, 가장 작은 5×5 패치에서는 처리량 손실이 가장 큽니다. 따라서 패치 크기와 뷰 수의 선택은 정확도와 자원 예산을 함께 고려해야 하는 설정 문제로 남습니다.

## 논문 정보

- **저자**: Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, Armand Joulin
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2021년 4월 29일
- **등록일**: 2026년 10월 20일
- **수정일**: 2021년 5월 24일
- **버전**: v2
- **arXiv**: 2104.14294
- **분류**: cs.CV
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

In this paper, we question if self-supervised learning provides new properties to Vision Transformer (ViT) that stand out compared to convolutional networks (convnets). Beyond the fact that adapting self-supervised methods to this architecture works particularly well, we make the following observations: first, self-supervised ViT features contain explicit information about the semantic segmentation of an image, which does not emerge as clearly with supervised ViTs, nor with convnets. Second, these features are also excellent k-NN classifiers, reaching 78.3% top-1 on ImageNet with a small ViT. Our study also underlines the importance of momentum encoder, multi-crop training, and the use of small patches with ViTs. We implement our findings into a simple self-supervised method, called DINO, which we interpret as a form of self-distillation with no labels. We show the synergy between DINO and ViTs by achieving 80.1% top-1 on ImageNet in linear evaluation with ViT-Base.

## 원문 인용

Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, Armand Joulin (2021). Emerging Properties in Self-Supervised Vision Transformers. arXiv:2104.14294v2. https://arxiv.org/abs/2104.14294v2

**BibTeX**

```
@misc{caron2021emerging,
  title = {{Emerging Properties in Self-Supervised Vision Transformers}},
  author = {Mathilde Caron and Hugo Touvron and Ishan Misra and Hervé Jégou and Julien Mairal and Piotr Bojanowski and Armand Joulin},
  year = {2021},
  eprint = {2104.14294},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.14294v2}
}
```

## 다른 논문 해설

- [Masked Autoencoders Are Scalable Vision Learners](https://refivu.com/papers/d17cea4d-36fc-40d3-bc98-6bc3e98f24df-masked-autoencoders-are-scalable-vision-learners.md)
- [Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks](https://refivu.com/papers/ff5b279d-e635-414a-9731-83bf24f50748-unpaired-image-to-image-translation-using-cycle-consistent.md)
- [Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks](https://refivu.com/papers/9994e70e-3188-4b2d-942c-0d00ab885d3f-faster-r-cnn-towards-real-time-object-detection.md)
- [Going Deeper with Convolutions](https://refivu.com/papers/9243f6b7-9c9f-427b-90e0-5a182c02c4b4-going-deeper-with-convolutions.md)
- [Very Deep Convolutional Networks for Large-Scale Image Recognition](https://refivu.com/papers/f48d9414-bde0-4715-b509-86fcc9cd454d-very-deep-convolutional-networks-for-large-scale-image.md)
- [You Only Look Once: Unified, Real-Time Object Detection](https://refivu.com/papers/ebbb8246-c3dc-41ac-9ac3-7ad9511c944d-you-only-look-once-unified-real-time-object.md)
- [Efficiently Modeling Long Sequences with Structured State Spaces](https://refivu.com/papers/9047ef9d-9e54-48f1-8609-ea4ce704605e-efficiently-modeling-long-sequences-with-structured-state.md)
- [Bootstrap your own latent: A new approach to self-supervised Learning](https://refivu.com/papers/e1bafe00-ea17-46b4-a31b-5db9555dcd50-bootstrap-your-own-latent-a-new-approach-to.md)
- [Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity](https://refivu.com/papers/2712d011-b4e2-4181-89ce-e47fc4a5117c-switch-transformers-scaling-to-trillion-parameter-models.md)
- [Wasserstein GAN](https://refivu.com/papers/6fbb2587-49dc-4b1a-9bb9-ee89b40b9221-wasserstein-gan.md)
- [Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer](https://refivu.com/papers/01d9fd25-ae98-40fb-a44a-08c4b727555b-outrageously-large-neural-networks-the-sparsely-gated.md)
- [Longformer: The Long-Document Transformer](https://refivu.com/papers/095aa21a-9a7f-4317-a80b-f961fdd4e423-longformer-the-long-document-transformer.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/d2f53db5-080e-4342-beab-1de92f307256-emerging-properties-in-self-supervised-vision-transformers)
