DeiT III: Revenge of the ViT

Hugo Touvron, Matthieu Cord, Hervé Jégou
4/14/2022
cs.CV

Official code: facebookresearch/deit (4,348 stars, Apache-2.0, last commit 2024-03-15).

Abstract

A Vision Transformer (ViT) is a simple neural architecture amenable to serve several computer vision tasks. It has limited built-in architectural priors, in contrast to more recent architectures that incorporate priors either about the input data or of specific tasks. Recent works show that ViTs benefit from self-supervised pre-training, in particular BerT-like pre-training like BeiT. In this paper, we revisit the supervised training of ViTs. Our procedure builds upon and simplifies a recipe introduced for training ResNet-50. It includes a new simple data-augmentation procedure with only 3 augmentations, closer to the practice in self-supervised learning. Our evaluations on Image classification (ImageNet-1k with and without pre-training on ImageNet-21k), transfer learning and semantic segmentation show that our procedure outperforms by a large margin previous fully supervised training recipes for ViT. It also reveals that the performance of our ViT trained with supervision is comparable to that of more recent architectures. Our results could serve as better baselines for recent self-supervised approaches demonstrated on ViT.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official DeiT repository

4,348591PythonDec 23, 20202 years agoApache-2.0

Similar Papers

Cite this paper

@article{touvron2022deit,
  title  = {DeiT III: Revenge of the ViT},
  author = {Hugo Touvron and Matthieu Cord and Hervé Jégou},
  year   = {2022},
  eprint = {2204.07118},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.07118}
}

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/2204.07118.svg)](https://codeofpaper.com/paper/2204.07118)

Discussion