Emerging Properties in Self-Supervised Vision Transformers

Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal +2 more
4/29/2021
cs.CV

Official code: facebookresearch/dino (7,609 stars, Apache-2.0, last commit 2024-07-03).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

PyTorch code for Vision Transformers training with the Self-Supervised learning method DINO

7,6091,044PythonApr 21, 20212 years agoApache-2.0

Similar Papers

Cite this paper

@article{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.14294}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.14294.svg)](https://codeofpaper.com/paper/2104.14294)

Discussion