ViT overtakes CNNs on ImageNet — but only after pre-training on 300M images
Image classificationBy 2020, convolutional networks had defined image recognition for nearly a decade. The ViT authors wanted to know whether a near-pure Transformer, stripped of convolutional priors, could compete — and crucially, how that answer depends on the amount of pre-training data.
They trained the same ViT architecture under three pre-training regimes — ImageNet-1k (~1.3M images), ImageNet-21k (~14M), and the in-house JFT-300M (~300M) — then fine-tuned and compared against strong ResNet-based Big Transfer (BiT) baselines, holding the transfer protocol fixed.
The data dependence was stark. Pre-trained only on ImageNet-1k, ViT underperformed comparable ResNets; on ImageNet-21k it drew level; pre-trained on JFT-300M, ViT-H/14 reached 88.55% ImageNet top-1, beating the best BiT CNN while using substantially less pre-training compute. The experiment crystallized the rule that flexible, low-bias models overtake hand-biased ones once data is abundant.
Source: An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale — Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., et al.