Papers › Better plain ViT baselines for ImageNet-1k

Better plain ViT baselines for ImageNet-1k

3 May 2022arXiv:2205.01580archive 2025-07-28

Lucas Beyer, Xiaohua Zhai, Alexander Kolesnikov

It is commonly accepted that the Vision Transformer model requires sophisticated regularization techniques to excel at ImageNet-1k scale data. Surprisingly, we find this is not the case and standard data augmentation is sufficient. This note presents a few minor modifications to the original Vision Transformer (ViT) vanilla training setting that dramatically improve the performance of plain ViT models. Notably, 90 epochs of training surpass 76% top-1 accuracy in under seven hours on a TPUv3-8, similar to the classic ResNet50 baseline, and 300 epochs of training reach 80% in less than one day.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2205.01580")

Code

Syntology Ran 23 of 24 code samples harvested from 3 repositories linked to this paper; 1 has no recorded run. Of those that ran: 5 ran · honoured contract; 1 ran · violated contract; 1 ran · our draft was wrong; 2 ran · fixture could not drive it; 14 ran with no contract checked.

By repository: community (archive-listed): 20 samples from 3 repositories, 19 ran; 4 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

google-research/big_vision officialmentioned in papermentioned on GitHubjax report
conceptofmind/Simple-ViT-flax mentioned on GitHubjax report
jeongsoop/rgb-no-more mentioned on GitHubpytorchNOASSERTION report
osiriszjq/impulse_init mentioned on GitHubpytorch report
yuyangshu/retinavit mentioned on GitHubjaxApache-2.0 report
pwc-1/Paper-9 mindspore report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

24 samples harvested; 23 ran; 5 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

5ran · honoured contract
1ran · violated contract
1ran · our draft was wrong
2ran · fixture could not drive it
14ran
1unverified

Licence: 4 of the 24 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Model yuyangshu/retinavit/big_vision/models/mlp_mixer.py community (archive-listed) ran Apache-2.0 (permissive) · 0a92f4de53a489b4 · report
dot_product_attention yuyangshu/retinavit/big_vision/models/attn_override.py community (archive-listed) ran Apache-2.0 (permissive) · 2c4ed3f75ab6ee14 · report
dot_product_attention_weights yuyangshu/retinavit/big_vision/models/attn_override.py community (archive-listed) ran Apache-2.0 (permissive) · c8927d5d53a840b6 · report
fix_old_checkpoints yuyangshu/retinavit/big_vision/models/bit.py community (archive-listed) ran Apache-2.0 (permissive) · 75f9a36fc8351778 · report
get yuyangshu/retinavit/big_vision/datasets/core.py community (archive-listed) ran Apache-2.0 (permissive) · f40ba1fc76a56621 · report
get_block_desc yuyangshu/retinavit/big_vision/models/bit.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · 4f697aeaa3747cc2 · report
get_count yuyangshu/retinavit/big_vision/optax.py community (archive-listed) ran Apache-2.0 (permissive) · 5c44a598f86dadfc · report
get_posemb yuyangshu/retinavit/big_vision/models/vit.py community (archive-listed) ran Apache-2.0 (permissive) · ec1bf067066bb434 · report
impulse_init osiriszjq/impulse_init/vit.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · ce9f577538e842e0 · report
magnitude yuyangshu/retinavit/big_vision/models/attn_override.py community (archive-listed) ran Apache-2.0 (permissive) · 9d78a212d314b83e · report
make_for_inference yuyangshu/retinavit/big_vision/input_pipeline.py community (archive-listed) ran Apache-2.0 (permissive) · a0fec96972fe8326 · report
npload yuyangshu/retinavit/big_vision/utils.py community (archive-listed) ran Apache-2.0 (permissive) · 2b3549774154825a · report
onehot yuyangshu/retinavit/big_vision/utils.py community (archive-listed) ran Apache-2.0 (permissive) · 7b17682564107576 · report
pad_shard_unpad yuyangshu/retinavit/big_vision/utils.py community (archive-listed) ran Apache-2.0 (permissive) · 5ad1f39431340fbb · report
posemb_conv yuyangshu/retinavit/big_vision/models/vit.py community (archive-listed) ran Apache-2.0 (permissive) · 4f5dd3aec9da6ede · report
posemb_sincos_2d conceptofmind/Simple-ViT-flax/simple_vit.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · b848f8a0a583e58b · report
posemb_sincos_2d yuyangshu/retinavit/big_vision/models/vit.py community (archive-listed) ran · honoured contract Apache-2.0 (permissive) · 2d67a8a756fe7cf8 · report
standardize yuyangshu/retinavit/big_vision/models/bit_paper.py community (archive-listed) ran Apache-2.0 (permissive) · c272f024d815d59d · report
weight_standardize yuyangshu/retinavit/big_vision/models/bit.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 37b141b05f87de19 · report
find_states yuyangshu/retinavit/big_vision/optax.py community (archive-listed) unverified Apache-2.0 (permissive) · 1f64c95d3b75c46b · report
SpatialConv2d_Linear_init identical code first harvested elsewhere ran · honoured contract fingerprinted licence of this copy not recorded · 0440e95034d883bd · report
SpatialConv2d_init identical code first harvested elsewhere ran · honoured contract fingerprinted licence of this copy not recorded · b04417d600247aaa · report
pair identical code first harvested elsewhere ran · violated contract fingerprinted licence of this copy not recorded · 6ba8cee9f5daea41 · report
posemb_sincos_2d identical code first harvested elsewhere ran · honoured contract licence of this copy not recorded · cfe18b9cc8afbfe9 · report

Tasks

Data AugmentationImage Classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformerVision Transformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections