PreprintCited by 21,793Advanced Neural Network ApplicationsDomain Adaptation and Few-Shot LearningAdversarial Robustness in Machine Learning

An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale

Open access
Dosovitskiy, Alexey, Beyer, Lucas, Kolesnikov, Alexander, Weissenborn, Dirk, Zhai, Xiaohua, Unterthiner, Thomas, Dehghani, Mostafa, Minderer, Matthias, Heigold, Georg, Gelly, Sylvain, Uszkoreit, Jakob, Houlsby, Neil·2020·arXiv

Abstract

While the Transformer architecture has become the de-facto standard for natural language processing tasks, its applications to computer vision remain limited. In vision, attention is either applied in conjunction with convolutional networks, or used to replace certain components of convolutional networks while keeping their overall structure in place. We show that this reliance on CNNs is not necessary and a pure transformer applied directly to sequences of image patches can perform very well on image classification tasks. When pre-trained on large amounts of data and transferred to multiple mid-sized or small image recognition benchmarks (ImageNet, CIFAR-100, VTAB, etc.), Vision Transformer (ViT) attains excellent results compared to state-of-the-art convolutional networks while requiring substantially fewer computational resources to train.

AI snapshot

Written from the paper’s full text.

TL;DR

Vision Transformer (ViT) applies a standard Transformer directly to sequences of image patches and, when pre-trained on large datasets, matches or exceeds state-of-the-art convolutional networks on image classification while using substantially less pre-training compute. Large-scale pre-training can overcome ViT’s weaker image-specific inductive biases, though ViT underperforms ResNets on smaller pre-training datasets.

Key findings

  • ViT-H/14 pre-trained on JFT-300M reaches 88.55% ImageNet, 90.72% ImageNet-ReaL, 94.55% CIFAR-100, and 77.63% on VTAB (19 tasks), outperforming BiT-L on all reported tasks while using 2.5k TPUv3-core-days versus BiT-L’s 9.9k and Noisy Student’s 12.3k.
  • ViT-L/16 pre-trained on public ImageNet-21k reaches 85.30% ImageNet, 88.62% ImageNet-ReaL, 93.25% CIFAR-100, and 72.72% VTAB, using 0.23k TPUv3-core-days.
  • On smaller pre-training datasets, ViT underperforms comparable ResNets; with JFT-300M, larger ViT models overtake smaller ones and ViT overtakes BiT. In a scaling study, ViT uses approximately 2–4× less compute to attain the same performance averaged over 5 datasets.
  • Self-supervised masked patch prediction with ViT-B/16 achieves 79.9% ImageNet accuracy, a 2% improvement over training from scratch but still 4% behind supervised pre-training.

Methods

  • Images are split into fixed-size patches, flattened, linearly projected to D dimensions, given position embeddings, and fed as a sequence to a standard Transformer encoder; a learnable [class] token provides the image representation for classification.
  • Models include ViT-Base (12 layers, D=768, 86M params), ViT-Large (24 layers, D=1024, 307M params), and ViT-Huge (32 layers, D=1280, 632M params); baselines are ResNet (BiT) and hybrid ResNet+ViT models.
  • Pre-training uses ImageNet, ImageNet-21k, or JFT-300M; training uses Adam with batch size 4096 and weight decay 0.1, while fine-tuning uses SGD with momentum and batch size 512; evaluation reports fine-tuning and few-shot/linear accuracies.

Limitations

  • Stated by the paper: applying ViT to other vision tasks such as detection and segmentation remains a challenge; self-supervised pre-training still lags large-scale supervised pre-training; further scaling of ViT would likely improve performance but remains future work.
  • Evident from the text: ViT has much less image-specific inductive bias than CNNs, so it generalizes worse when trained on insufficient data and requires large-scale pre-training (14M–300M images) to become competitive.
  • Evident from the text: higher-resolution fine-tuning requires 2D interpolation of pre-trained position embeddings, and the paper notes that pre-training efficiency may be affected by factors beyond architecture, such as training schedule, optimizer, and weight decay.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

DataCite · 10.48550/arxiv.2010.11929

Cites

60 of 60 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Claims the paper makes

10 of 23 cited sources checked · 4 supported · 2 flagged · accuracy not yet measured

  • Premisereasoning
    § 1 INTRODUCTION · p. 1

    In large-scale image recognition, classic ResNet-like architectures are still state of the art.

    “Therefore, in large-scale image recognition, classic ResNetlike architectures are still state of the art (Mahajan et al., 2018; Xie et al., 2020; Kolesnikov et al., 2020).”
    Quote in the paperSubstantial claim3 of 3 sources checked
    • cites Mahajan et al., 2018 source
    • cites Xie et al., 2020 source

      In §3.2 (p. 4), the paper calls the ResNeXt-101 WSL result the previous state of the art, then reports that its EfficientNet-L2 model surpasses it on ImageNet. It therefore does not support the claim that classic ResNet-like architectures are still state of the art. (LLM, conf=0.88)

      Checked by a reasoning model — may be wrong.

      Experimental — accuracy not yet measured
    • cites Kolesnikov et al., 2020 source
  • Findingown data
    § 1 INTRODUCTION · p. 2

    The best ViT model reaches 88.55% accuracy on ImageNet.

    “In particular, the best model reaches the accuracy of 88 . 55% on ImageNet, 90 . 72% on ImageNet-ReaL, 94 . 55% on CIFAR-100, and 77 . 63% on the VTAB suite of 19 tasks.”
    Quote in the paperSubstantial claim
  • Findingown data
    § 1 INTRODUCTION · p. 2

    The best ViT model reaches 77.63% accuracy on the VTAB suite of 19 tasks.

    “In particular, the best model reaches the accuracy of 88 . 55% on ImageNet, 90 . 72% on ImageNet-ReaL, 94 . 55% on CIFAR-100, and 77 . 63% on the VTAB suite of 19 tasks.”
    Quote in the paperSubstantial claim
  • Findingown data
    § 1 INTRODUCTION · p. 2

    ViT attains excellent results when pre-trained at sufficient scale and transferred to tasks with fewer datapoints.

    “Our Vision Transformer (ViT) attains excellent results when pre-trained at sufficient scale and transferred to tasks with fewer datapoints.”
    Quote in the paperSubstantial claim
  • Findingown data
    § 1 INTRODUCTION · p. 2

    Large scale training trumps inductive bias.

    “We find that large scale training trumps inductive bias.”
    Quote in the paperSubstantial claim
  • Classified as probably not a substantial claim. 21
  • May combine two claims. 27
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Interpretationreasoning
    § D.1 SGD VS. ADAM FOR RESNETS · p. 15

    The absolute numbers for ResNets pre-trained on JFT for 7 epochs are lower than those reported by Kolesnikov et al. (2020) because they pre-trained for 30 epochs.

    “Note that the absolute numbers are lower than those reported by Kolesnikov et al. (2020), since we pre-train only for 7 epochs, not 30 .”
    Quote in the paperNot a substantial claim1 of 1 sources checked
    • cites Kolesnikov et al. (2020) source

      Section 3.1 (p. 4) identifies BiT-L as the model pre-trained on JFT-300M. Section 3.3 (p. 5) says BiT-L was pre-trained for 40 epochs, not 30; 30 was a learning-rate decay point. (LLM, conf=0.90)

      Checked by a reasoning model — may be wrong.

      Experimental — accuracy not yet measured
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation
    § 4.1 SETUP · p. 5

    The modifications to ResNet (Group Normalization and standardized convolutions) improve transfer.

    “These modifications improve transfer (Kolesnikov et al., 2020), and we denote the modified model 'ResNet (BiT)'.”
    Quote in the paperNot a substantial claim1 of 1 sources checked
    • cites Kolesnikov et al., 2020 source
  • May combine two claims.

    Premisecitation
    § 4.2 COMPARISON TO STATE OF THE ART · p. 5

    Noisy Student is currently the state of the art on ImageNet and BiT-L on the other datasets reported here.

    “Currently, Noisy Student is the state of the art on ImageNet and BiT-L on the other datasets reported here.”
    Quote in the paperNot a substantial claim2 of 2 sources checked
    • cites Xie et al., 2020 source

      Section 3.2 (p. 4) reports that Noisy Student achieved 88.4% top-1 accuracy on ImageNet, exceeding the previously reported state of the art. The paper mentions BiT-L in an ImageNet comparison table (p. 4), but the passages do not establish that BiT-L was state of the art on the other datasets in the citing sentence. (LLM, conf=0.87)

      Experimental — accuracy not yet measured
    • cites Kolesnikov et al., 2020 source

      Table 1 (section 3.2, p. 4) lists a specialist result of 88.4% on ImageNet (ILSVRC-2012), above BiT-L’s 87.54%; reference [61] (p. 18) identifies that work as Noisy Student. BiT-L exceeds the listed results on CIFAR-10, CIFAR-100, Flowers, and VTAB, but not Pets, where the listed specialist result is 97.1% versus BiT-L’s 96.62%. Thus the claim about all the other reported datasets overstates the table. (LLM, conf=0.90)

      Experimental — accuracy not yet measured
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Study design and conductcitation
    § 4.1 SETUP · p. 4

    The pre-training datasets were de-duplicated with respect to the test sets of the downstream tasks following Kolesnikov et al. (2020).

    “We de-duplicate the pre-training datasets w.r.t. the test sets of the downstream tasks following Kolesnikov et al. (2020).”
    Quote in the paperNot a substantial claim1 of 1 sources checked
    • cites Kolesnikov et al. (2020) source
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation
    § 1 INTRODUCTION · p. 1

    Transformers' computational efficiency and scalability have made it possible to train models of unprecedented size, with over 100B parameters.

    “Thanks to Transformers' computational efficiency and scalability, it has become possible to train models of unprecedented size, with over 100B parameters (Brown et al., 2020; Lepikhin et al., 2020).”
    Quote in the paperNot a substantial claim1 of 2 sources checked
    • cites Brown et al., 2020 source

      Model and Architectures (p. 8) identifies GPT-3 as a transformer model trained with 175 billion parameters, supporting the claim that models exceeding 100 billion parameters became trainable. Training Process (p. 9) attributes the ability to train larger models without running out of memory to model parallelism, while Energy Usage (p. 39) describes training as computationally intensive. The paper does not establish that transformers’ computational efficiency made that scale possible. (LLM, conf=0.86)

      Experimental — accuracy not yet measured
    • cites Lepikhin et al., 2020 source
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation
    § B.1.1 FINE-TUNING · p. 13

    Running fine-tuning at a different resolution than training is common practice.

    “(running fine-tuning at different resolution than training is common practice (Kolesnikov et al., 2020)).”
    Quote in the paperNot a substantial claim1 of 1 sources checked
    • cites Kolesnikov et al., 2020 source

      Section 2.2 (p. 3) says the authors change resolution during fine-tuning. It calls scaling up resolution at test time common practice, but describes fine-tuning to the test resolution as an alternative; it does not say that fine-tuning at a different resolution is itself common practice. (LLM, conf=0.87)

      Experimental — accuracy not yet measured
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingown data
    § 4.1 SETUP · p. 5

    A high weight decay of 0.1 is useful for transfer of all models.

    “apply a high weight decay of 0 . 1 , which we found to be useful for transfer of all models”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingreasoning
    § 5 CONCLUSION · p. 9

    Vision Transformer matches or exceeds the state of the art on many image classification datasets, whilst being relatively cheap to pre-train.

    “Thus, Vision Transformer matches or exceeds the state of the art on many image classification datasets, whilst being relatively cheap to pre-train.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingown data
    § 4.4 SCALING STUDY · p. 8

    Hybrids slightly outperform ViT at small computational budgets, but the difference vanishes for larger models.

    “Second, hybrids slightly outperform ViT at small computational budgets, but the difference vanishes for larger models.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingown data
    § 4.5 INSPECTING VISION TRANSFORMER · p. 8

    A sinusoidal structure is sometimes apparent for larger grids.

    “Finally, a sinusoidal structure is sometimes apparent for larger grids (Appendix D).”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingnone given
    § 4.3 PRE-TRAINING DATA REQUIREMENTS · p. 7

    ViT-B/32 is slightly faster than ResNet50.

    “For example, ViT-B/32 is slightly faster than ResNet50; it performs much worse on the 9M subset, but better on 90M+ subsets.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingnone given
    § 4 EXPERIMENTS · p. 4

    ViT performs very favourably when considering the computational cost of pre-training, attaining state of the art on most recognition benchmarks at a lower pre-training cost.

    “When considering the computational cost of pre-training the model, ViT performs very favourably, attaining state of the art on most recognition benchmarks at a lower pre-training cost.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingown data
    § 4.3 PRE-TRAINING DATA REQUIREMENTS · p. 7

    ViT-B/32 performs much worse than ResNet50 on the 9M subset, but better on 90M+ subsets.

    “For example, ViT-B/32 is slightly faster than ResNet50; it performs much worse on the 9M subset, but better on 90M+ subsets.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingnone given
    § ABSTRACT · p. 1

    When pre-trained on large amounts of data and transferred to multiple mid-sized or small image recognition benchmarks, Vision Transformer (ViT) attains excellent results compared to state-of-the-art convolutional networks while requiring substantially fewer computational resources to train.

    “When pre-trained on large amounts of data and transferred to multiple mid-sized or small image recognition benchmarks (ImageNet, CIFAR-100, VTAB, etc.), Vision Transformer (ViT) attains excellent results compared to state-of-the-art convolutional networks while requiring substantially fewer computational resources to train.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingown data
    § 4.3 PRE-TRAINING DATA REQUIREMENTS · p. 6

    BiT CNNs outperform ViT on ImageNet, but with larger datasets, ViT overtakes.

    “The BiT CNNs outperform ViT on ImageNet, but with the larger datasets, ViT overtakes.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingown data
    § 4.2 COMPARISON TO STATE OF THE ART · p. 5

    ViT-L/16 pre-trained on JFT-300M outperforms BiT-L on all tasks, while requiring substantially less computational resources to train.

    “The smaller ViT-L/16 model pre-trained on JFT-300M outperforms BiT-L (which is pre-trained on the same dataset) on all tasks, while requiring substantially less computational resources to train.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingnone given
    § 4.2 COMPARISON TO STATE OF THE ART · p. 5

    ViT-L/16 pre-trained on the public ImageNet-21k dataset performs well on most datasets while taking fewer resources to pre-train; it could be trained using a standard cloud TPUv3 with 8 cores in approximately 30 days.

    “Finally, the ViT-L/16 model pre-trained on the public ImageNet-21k dataset performs well on most datasets too, while taking fewer resources to pre-train: it could be trained using a standard cloud TPUv3 with 8 cores in approximately 30 days.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingown data
    § B.1.2 SELF-SUPERVISION · p. 14

    A 15% corruption rate for masked patch prediction resulted in slightly worse few-shot metrics than the chosen corruption rate.

    “We also experimented with 15% corruption rate as used by Devlin et al. (2019) but results were also slightly worse on our few-shot metrics.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Devlin et al. (2019) source
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Findingnone given
    § B.1 TRAINING · p. 13

    Strong regularization is key when training models from scratch on ImageNet.

    “We found strong regularization to be key when training models from scratch on ImageNet.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingnone given
    § B.1.1 FINE-TUNING · p. 14

    Replacing the whole head with a single zero-initialized linear layer is a little more robust than simply re-initializing the very last layer when transferring ViT models to another dataset.

    “We found this to be a little more robust than simply re-initializing the very last layer.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingown data
    § B.1.2 SELF-SUPERVISION · p. 14

    All three prediction targets for masked patch prediction pretraining worked quite well, though L2 regression was slightly worse.

    “Surprisingly, we found that all worked quite well, though L2 was slightly worse.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingnone given
    § REFERENCES · p. 13

    For ImageNet, applying gradient clipping at global norm 1 is beneficial.

    “For ImageNet we found it beneficial to additionally apply gradient clipping at global norm 1.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingown data
    § D.3 HEAD TYPE AND CLASS TOKEN · p. 16

    The poor performance of the GAP-based classifier is neither due to the extra [class] token nor to the GAP operation.

    “However, we found that this is neither due to the extra token, nor to the GAP operation.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingown data
    § D.2 TRANSFORMER SHAPE · p. 16

    Scaling the depth of the Vision Transformer results in the biggest improvements, clearly visible up until 64 layers.

    “We can see that scaling the depth results in the biggest improvements which are clearly visible up until 64 layers.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingown data
    § D.1 SGD VS. ADAM FOR RESNETS · p. 15

    Adam pre-training outperforms SGD pre-training on most datasets and on average for ResNet50x1 and ResNet152x2 pre-trained on JFT.

    “Adam pre-training outperforms SGD pre-training on most datasets and on average.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingown data
    § D.9 OBJECTNET RESULTS · p. 20

    ViT-H/14 achieves 82.1% top-5 accuracy and 61.7% top-1 accuracy on the ObjectNet benchmark.

    “resulting in 82.1% top-5 accuracy and 61.7% top-1 accuracy.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingown data
    § D.6 AXIAL ATTENTION · p. 19

    AxialResNet looks reasonable in terms of accuracy/compute trade-off, but its naive implementation is extremely slow on TPUs.

    “For the AxialResNet, although it looks reasonable in terms of accuracy/compute trade-off (Figure 13, left), the naive implementation is extremely slow on TPUs (Figure 13, right).”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingreasoning
    § D.6 AXIAL ATTENTION · p. 19

    Both Axial-ViT-B/32 and Axial-ViT-B/16 do better than their ViT-B counterpart in terms of performance, but at the cost of more compute.

    “both Axial-ViT-B/32 and Axial-ViT-B/16 do better than their ViT-B counterpart in terms of performance, but it comes at the cost of more compute.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingown data
    § D.3 HEAD TYPE AND CLASS TOKEN · p. 17

    Both class-token and global average pooling classifiers work similarly well, but require different learning-rates.

    “Both work similarly well, but require different learning-rates.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingown data
    § D.4 POSITIONAL EMBEDDING · p. 18

    The specific pattern of position embedding similarity learned by the network depends on the training hyperparameters.

    “Even so, the specific pattern of position embedding similarity learned by the network depends on the training hyperparameters (Figure 10).”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Interpretationown data
    § 4.3 PRE-TRAINING DATA REQUIREMENTS · p. 7

    The convolutional inductive bias is useful for smaller datasets, but for larger ones, learning the relevant patterns directly from data is sufficient, even beneficial.

    “This result reinforces the intuition that the convolutional inductive bias is useful for smaller datasets, but for larger ones, learning the relevant patterns directly from data is sufficient, even beneficial.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Interpretationreasoning
    § 1 INTRODUCTION · p. 1

    Transformers lack some of the inductive biases inherent to CNNs, such as translation equivariance and locality, and therefore do not generalize well when trained on insufficient amounts of data.

    “This seemingly discouraging outcome may be expected: Transformers lack some of the inductive biases inherent to CNNs, such as translation equivariance and locality, and therefore do not generalize well when trained on insufficient amounts of data.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Interpretationreasoning
    § 3.1 VISION TRANSFORMER (VIT) · p. 4

    In ViT, only MLP layers are local and translationally equivariant, while the self-attention layers are global.

    “In ViT, only MLP layers are local and translationally equivariant, while the self-attention layers are global.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Interpretationnone given
    § 3.1 VISION TRANSFORMER (VIT) · p. 4

    The position embeddings at initialization time carry no information about the 2D positions of the patches and all spatial relations between the patches have to be learned from scratch.

    “Other than that, the position embeddings at initialization time carry no information about the 2D positions of the patches and all spatial relations between the patches have to be learned from scratch.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Interpretationown data
    § 4.5 INSPECTING VISION TRANSFORMER · p. 8

    Highly localized attention is less pronounced in hybrid models that apply a ResNet before the Transformer, suggesting that it may serve a similar function as early convolutional layers in CNNs.

    “This highly localized attention is less pronounced in hybrid models that apply a ResNet before the Transformer (Figure 7, right), suggesting that it may serve a similar function as early convolutional layers in CNNs.”
    Quote in the paperNot a substantial claim
  • Classified as probably not a substantial claim. May combine two claims.

    Study design and conductnone given
    § 4.3 PRE-TRAINING DATA REQUIREMENTS · p. 7

    For the subset experiments, no additional regularization was performed on the smaller subsets and the same hyper-parameters were used for all settings.

    “We do not perform additional regularization on the smaller subsets and use the same hyper-parameters for all settings.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Premisereasoning
    § 2 RELATED WORK · p. 2

    Cordonnier et al. (2020) use a small patch size of 2x2 pixels, which makes the model applicable only to small-resolution images, while ViT handles medium-resolution images as well.

    “Moreover, Cordonnier et al. (2020) use a small patch size of 2 × 2 pixels, which makes the model applicable only to small-resolution images, while we handle medium-resolution images as well.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Cordonnier et al., 2020

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Study design and conductown data
    § 4.2 COMPARISON TO STATE OF THE ART · p. 6

    Results in Table 2 are reported as mean and standard deviation of accuracies, averaged over three fine-tuning runs.

    “We report mean and standard deviation of the accuracies, averaged over three fine-tuning runs.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Study design and conductnone given
    § 4.3 PRE-TRAINING DATA REQUIREMENTS · p. 7

    Early-stopping was used and the best validation accuracy achieved during training is reported.

    “We do, however, use early-stopping, and report the best validation accuracy achieved during training.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation
    § 2 RELATED WORK · p. 2

    iGPT achieves a maximal accuracy of 72% on ImageNet.

    “The model is trained in an unsupervised fashion as a generative model, and the resulting representation can then be fine-tuned or probed linearly for classification performance, achieving a maximal accuracy of 72% on ImageNet.”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Chen et al., 2020a

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

  • May combine two claims.

    Premisereasoning
    § 2 RELATED WORK · p. 2

    Naive application of self-attention to images would require each pixel to attend to every other pixel, with quadratic cost in the number of pixels, which does not scale to realistic input sizes.

    “Naive application of self-attention to images would require that each pixel attends to every other pixel. With quadratic cost in the number of pixels, this does not scale to realistic input sizes.”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation
    § 1 INTRODUCTION · p. 1

    The dominant approach in NLP is to pre-train on a large text corpus and then fine-tune on a smaller task-specific dataset.

    “The dominant approach is to pre-train on a large text corpus and then fine-tune on a smaller task-specific dataset (Devlin et al., 2019).”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Devlin et al., 2019 source
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Study design and conductnone given
    § C ADDITIONAL RESULTS · p. 15

    The ImageNet results in Table 5 are computed without additional techniques (Polyak averaging and 512 resolution images) used to achieve results in Table 2.

    “Note that the ImageNet results are computed without additional techniques (Polyak averaging and 512 resolution images) used to achieve results in Table 2.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Interpretationreasoning
    § D.6 AXIAL ATTENTION · p. 19

    The extra compute in Axial-ViT models is because each Transformer block with global self-attention is replaced by two Axial Transformer blocks, one with row and one with column self-attention, and there is an extra MLP per Axial-ViT block.

    “This is because in Axial-ViT models, each Transformer block with global self-attention is replaced by two Axial Transformer blocks, one with row and one with column selfattention and although the sequence length that self-attention operates on is smaller in axial case, there is a extra MLP per Axial-ViT block.”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation
    § B.1.2 SELF-SUPERVISION · p. 14

    The masked patch prediction setup is very similar to the one used for language by Devlin et al. (2019).

    “This setup is very similar to the one used for language by Devlin et al. (2019).”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites Devlin et al. (2019) source
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation
    § D.6 AXIAL ATTENTION · p. 19

    Axial Attention is a simple, yet effective technique to run self-attention on large inputs organized as multidimensional tensors.

    “Axial Attention (Huang et al., 2020; Ho et al., 2019) is a simple, yet effective technique to run selfattention on large inputs that are organized as multidimensional tensors.”
    Quote in the paperNot a substantial claim0 of 2 sources checked
    • cites Huang et al., 2020 source
    • cites Ho et al., 2019

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

46 of 46
  • The paper relies on this without support.

    ResNets are typically trained with SGD, making the use of Adam as optimizer unconventional.

    “ResNets are typically trained with SGD and our use of Adam as optimizer is quite unconventional.”
1 of 1

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • ViT's architecture is unsuitable for use as a general-purpose backbone network on dense vision tasks or when the input image resolution is high, due to its low-resolution feature maps and the quadratic increase in complexity with image size.

    “The results of ViT on image classification are encouraging, but its architecture is unsuitable for use as a general-purpose backbone network on dense vision tasks or when the input image resolution is high, due to its low-resolution feature maps and the quadratic increase in complexity with image size.”

    From Swin Transformer: Hierarchical Vision Transformer using Shifted Windows (2021) · cites this paper as [20]

    Split into 2 atoms — 0 confirmed, 1 partially supported, 1 disputed, 0 misattributed, 0 unverifiable. Expand the claim to see per-atom verdicts.

    Checked by a reasoning model — may be wrong.

    Experimental — accuracy not yet measured
  • ViT-B top-1 accuracy on ImageNet is 71.58%.

    “The ViT-B, ViT-L, DeiT-S, DeiT-B are adopted as the baseline model, whose top-1 accuracy on ImageNet dataset are 71.58%, 71.48%, 79.8%, 81.8% respectively.”

    From Post-Training Quantization for Vision Transformer (2021) · cites this paper as [11]

    Table 5 in C Additional Results (pp. 14–15) reports ImageNet top-1 accuracy of 77.91% for ViT-B/16 and 73.38% for ViT-B/32 when pre-trained on ImageNet. It does not report 71.58% for either ViT-B variant. (LLM, conf=0.86)

    Checked by a reasoning model — may be wrong.

    Experimental — accuracy not yet measured
  • ViT-L top-1 accuracy on ImageNet is 71.48%.

    “The ViT-B, ViT-L, DeiT-S, DeiT-B are adopted as the baseline model, whose top-1 accuracy on ImageNet dataset are 71.58%, 71.48%, 79.8%, 81.8% respectively.”

    From Post-Training Quantization for Vision Transformer (2021) · cites this paper as [11]

    Table 5 in C ADDITIONAL RESULTS (p. 15) reports ImageNet top-1 accuracy of 76.53% for ViT-L/16 and 71.16% for ViT-L/32 when pretrained on ImageNet. Its ImageNet-21k-pretrained ViT-L results are also different. The paper does not report 71.48% for ViT-L. (LLM, conf=0.89)

    Checked by a reasoning model — may be wrong.

    Experimental — accuracy not yet measured
  • ViT's computational and memory costs are relatively high even for common input image sizes (e.g., shorter edge of 800 pixels in the COCO benchmark).

    “its computational and memory costs are relatively high even for common input image sizes ( e.g. , shorter edge of 800 pixels in the COCO benchmark [40]).”

    From Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions (2021) · cites this paper as [13]

    Appendix D.5 (p. 18) says ViT has speed comparable to similar ResNets and that large ViT models are more memory-efficient, contrary to the claimed relatively high computational and memory costs. The paper does not establish the claim for 800-pixel COCO inputs. (LLM, conf=0.84)

    Checked by a reasoning model — may be wrong.

    Experimental — accuracy not yet measured
  • In existing Transformer-based models, tokens are all of a fixed scale, a property unsuitable for vision applications.

    “In existing Transformer-based models [64, 20], tokens are all of a fixed scale, a property unsuitable for these vision applications.”

    From Swin Transformer: Hierarchical Vision Transformer using Shifted Windows (2021) · cites this paper as [20]

    Section 3.1 (p. 3) describes dividing each image into patches of a specified size, supporting the fixed-scale token point for ViT. But the Abstract (p. 1) says this patch-based Transformer performs very well on image classification, so the paper does not support calling fixed-scale tokens unsuitable for vision applications. (LLM, conf=0.88)

    Experimental — accuracy not yet measured

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

Each contradiction between two passages listed here was confirmed by an independent check.

  • ViT-L/16 does not outperform BiT-L on every task

    Minor

    The JFT-pre-trained ViT-L/16 scores 76.28 on VTAB, below BiT-L's 76.29, so the stated across-the-board advantage does not hold.

  • Weight decay is not 0.1 for all models

    Minor

    The training description says all models use weight decay 0.1, but Table 3 specifies 0.03 for ImageNet-21k models.

2 of 2

Cites

Flagged first, then by citations

Research works printed but not linked: 2

  1. Jean-Baptiste Cordonnier, Andreas Loukas, and Martin Jaggi. On the relationship between selfattention and convolutional layers. In ICLR , 2020.
  2. Yuxin Wu and Kaiming He. Group normalization. In ECCV , 2018.

Cited by

Sorted by citations

Authors
Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., Gelly, S., Uszkoreit, J., & Houlsby, N.
Affiliations
  • Google (United States) (US)
  • German Research Centre for Artificial Intelligence (DE)
Venue
arXiv
Publisher
arXiv
Published
2020
ISSN
2331-8422 (ISSN-L)
OpenAlex
W3094502228
Cited by
21,793
References
52
Citations by year
2026: 822 · 2025: 4791 · 2024: 6624 · 2023: 5480 · 2022: 2625 · 2021: 1126 · 2020: 35 · 2019: 1 · 2018: 1 · 2016: 1
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
  • Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
  • Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
Keywords
vision transformer, image classification, image patches, attention mechanism, pre-training, transfer learning, computational efficiency, ImageNet

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Claims read by deepseek-v4.1-flash under definition version 3 (extract-v3) on 2026-10-10.

Classified by jev-1.13-20260917 (gold-guideline-v0.2) on 2026-10-10.

Cited sources are checked by gpt-6-sol.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review