TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Going deeper with Image Transformers

Going deeper with Image Transformers

Hugo Touvron, Matthieu Cord, Alexandre Sablayrolles, Gabriel Synnaeve, Hervé Jégou

2021-03-31ICCV 2021 10Image ClassificationTransfer Learning
PaperPDFCodeCodeCodeCode(official)CodeCodeCodeCodeCode(official)CodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCode

Abstract

Transformers have been recently adapted for large scale image classification, achieving high scores shaking up the long supremacy of convolutional neural networks. However the optimization of image transformers has been little studied so far. In this work, we build and optimize deeper transformer networks for image classification. In particular, we investigate the interplay of architecture and optimization of such dedicated transformers. We make two transformers architecture changes that significantly improve the accuracy of deep transformers. This leads us to produce models whose performance does not saturate early with more depth, for instance we obtain 86.5% top-1 accuracy on Imagenet when training with no external data, we thus attain the current SOTA with less FLOPs and parameters. Moreover, our best model establishes the new state of the art on Imagenet with Reassessed labels and Imagenet-V2 / match frequency, in the setting with no additional training data. We share our code and models.

Results

TaskDatasetMetricValueModel
Image ClassificationStanford CarsAccuracy94.2CaiT-M-36 U 224
Image ClassificationImageNet V2Top 1 Accuracy76.7CAIT-M36-448
Image ClassificationCIFAR-10Percentage correct99.4CaiT-M-36 U 224
Image ClassificationFlowers-102Accuracy99.1CaiT-M-36 U 224
Image ClassificationiNaturalist 2019Top-1 Accuracy81.8CaiT-M-36 U 224
Image ClassificationCIFAR-100Percentage correct93.1CaiT-M-36 U 224
Image ClassificationImageNetGFLOPs377.3CaiT-M-48-448
Image ClassificationImageNetGFLOPs247.8CAIT-M36-448
Image ClassificationImageNetGFLOPs173.3CAIT-M-36
Image ClassificationImageNetGFLOPs116.1CAIT-M-24
Image ClassificationImageNetGFLOPs48CAIT-S-36
Image ClassificationImageNetGFLOPs63.8CAIT-S-48
Image ClassificationImageNetGFLOPs32.2CAIT-S-24
Image ClassificationImageNetGFLOPs28.8CAIT-XS-36
Image ClassificationImageNetGFLOPs19.3CAIT-XS-24
Image ClassificationImageNetGFLOPs14.3CAIT-XXS-36
Image ClassificationImageNetGFLOPs9.6CAIT-XXS-24

Related Papers

Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18RaMen: Multi-Strategy Multi-Modal Learning for Bundle Construction2025-07-18Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17Disentangling coincident cell events using deep transfer learning and compressive sensing2025-07-17Best Practices for Large-Scale, Pixel-Wise Crop Mapping and Transfer Learning Workflows2025-07-16