Papers › ViTAEv2: Vision Transformer Advanced by Exploring Inductive Bias for Image Recognition...

ViTAEv2: Vision Transformer Advanced by Exploring Inductive Bias for Image Recognition and Beyond

21 Feb 2022arXiv:2202.10108archive 2025-07-28

Qiming Zhang, Yufei Xu, Jing Zhang, DaCheng Tao

Vision transformers have shown great potential in various computer vision tasks owing to their strong capability to model long-range dependency using the self-attention mechanism. Nevertheless, they treat an image as a 1D sequence of visual tokens, lacking an intrinsic inductive bias (IB) in modeling local visual structures and dealing with scale variance, which is instead learned implicitly from large-scale training data with longer training schedules. In this paper, we propose a Vision Transformer Advanced by Exploring intrinsic IB from convolutions, i.e., ViTAE. Technically, ViTAE has several spatial pyramid reduction modules to downsample and embed the input image into tokens with rich multi-scale context using multiple convolutions with different dilation rates. In this way, it acquires an intrinsic scale invariance IB and can learn robust feature representation for objects at various scales. Moreover, in each transformer layer, ViTAE has a convolution block parallel to the multi-head self-attention module, whose features are fused and fed into the feed-forward network. Consequently, it has the intrinsic locality IB and is able to learn local features and global dependencies collaboratively. The proposed two kinds of cells are stacked in both isotropic and multi-stage manners to formulate two families of ViTAE models, i.e., the vanilla ViTAE and ViTAEv2. Experiments on the ImageNet dataset as well as downstream tasks on the MS COCO, ADE20K, and AP10K datasets validate the superiority of our models over the baseline transformer models and concurrent works. Besides, we scale up our ViTAE model to 644M parameters and obtain the state-of-the-art classification performance, i.e., 88.5% Top-1 classification accuracy on ImageNet validation set and the best 91.2% Top-1 accuracy on ImageNet real validation set, without using extra private data.

PaperPDFCodeCode Syntology ran

In Syntology 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="2202.10108")

Code

Syntology Ran 15 of 25 code samples harvested from 3 repositories linked to this paper; 10 have no recorded run. Of those that ran: 4 ran · our draft was wrong; 2 ran · fixture could not drive it; 9 ran with no contract checked.

By repository: community (archive-listed): 23 samples from 2 repositories, 13 ran; community: 2 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ViTAE-Transformer/ViTAE-Transformer officialmentioned in papermentioned on GitHubpytorch report
ViTAE-Transformer/ViTDet mentioned on GitHubpytorchApache-2.0 report
tamer-saleh/s1gflood-detection mentioned on GitHubpytorchCC0-1.0 report
MS-P3/code7 mindspore 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

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

4ran · our draft was wrong
2ran · fixture could not drive it
9ran
10unverified

Licence: 2 of the 25 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. “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.

window_partition tamer-saleh/s1gflood-detection/swin.py community (archive-listed) ran · fixture could not drive it fingerprinted CC0-1.0 (permissive) · 144d10b49baeb8a6 · report
Attention yangyucheng000/papercode-2/STViT-Mindspore-main/models/stvit.py community (archive-listed) ran Apache-2.0 (permissive) · 3fefa875010c6edf · report
Fold yangyucheng000/papercode-2/STViT-Mindspore-main/models/stvit.py community (archive-listed) ran Apache-2.0 (permissive) · a74921de2215fc04 · report
LayerNorm2d yangyucheng000/papercode-2/STViT-Mindspore-main/models/stvit.py community (archive-listed) ran Apache-2.0 (permissive) · 48cf1b51f86c6f57 · report
Mlp yangyucheng000/papercode-2/STViT-Mindspore-main/models/stvit.py community (archive-listed) ran Apache-2.0 (permissive) · 5a8382845c81cc22 · report
PatchEmbed yangyucheng000/papercode-2/STViT-Mindspore-main/models/stvit.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · dedd2d6dd673cc46 · report
PatchMerging yangyucheng000/papercode-2/STViT-Mindspore-main/models/stvit.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · e8f2f05db5500fa5 · report
ResDWC yangyucheng000/papercode-2/STViT-Mindspore-main/models/stvit.py community (archive-listed) ran Apache-2.0 (permissive) · b07535c6bcc4574f · report
StokenAttention yangyucheng000/papercode-2/STViT-Mindspore-main/models/stvit.py community (archive-listed) ran Apache-2.0 (permissive) · 20466726ccd0930d · report
Unfold yangyucheng000/papercode-2/STViT-Mindspore-main/models/stvit.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · 08e6e488af05edb9 · report
conv1x1 tamer-saleh/s1gflood-detection/resnet.py community (archive-listed) ran · our draft was wrong CC0-1.0 (permissive) · 6ef392f365cc5703 · report
conv3x3 tamer-saleh/s1gflood-detection/resnet.py community (archive-listed) ran · our draft was wrong CC0-1.0 (permissive) · 794a2ed91a5175bd · report
window_reverse tamer-saleh/s1gflood-detection/swin.py community (archive-listed) ran · our draft was wrong CC0-1.0 (permissive) · 61bf152e6a42a184 · report
BasicLayer yangyucheng000/papercode-2/STViT-Mindspore-main/models/stvit.py community (archive-listed) unverified Apache-2.0 (permissive) · 6ff0493f05a12074 · report
STViT yangyucheng000/papercode-2/STViT-Mindspore-main/models/stvit.py community (archive-listed) unverified Apache-2.0 (permissive) · b1693bc0a5bf9e5b · report
StokenAttentionLayer yangyucheng000/papercode-2/STViT-Mindspore-main/models/stvit.py community (archive-listed) unverified Apache-2.0 (permissive) · 6db1322f923dc42b · report
ViTAE_Window_NoShift_12_basic_stages4_14 tamer-saleh/s1gflood-detection/models.py community (archive-listed) unverified CC0-1.0 (permissive) · 1b9001750c072436 · report
get_norm_layer tamer-saleh/s1gflood-detection/networks.py community (archive-listed) unverified CC0-1.0 (permissive) · 5030170039952082 · report
get_scheduler tamer-saleh/s1gflood-detection/networks.py community (archive-listed) unverified CC0-1.0 (permissive) · 5fd6b26c18104c25 · report
get_sinusoid_encoding tamer-saleh/s1gflood-detection/NormalCell.py community (archive-listed) unverified CC0-1.0 (permissive) · 2c3dfd32c766d157 · report
init_net tamer-saleh/s1gflood-detection/networks.py community (archive-listed) unverified CC0-1.0 (permissive) · 2009bbd28575495d · report
test_path tamer-saleh/s1gflood-detection/utils/dataloaders.py community (archive-listed) unverified CC0-1.0 (permissive) · d0814d9bf3797cb1 · report
train_path tamer-saleh/s1gflood-detection/utils/dataloaders.py community (archive-listed) unverified CC0-1.0 (permissive) · 1203a926bfe91b55 · report
window_partition ViTAE-Transformer/ViTAE-VSA/Object-Detection/mmdet/models/backbones/vitaev2_vsa_modules/window.py community ran · fixture could not drive it fingerprinted no licence file found · pointer only · 61c027be5178a479 · report
window_reverse ViTAE-Transformer/ViTAE-VSA/Object-Detection/mmdet/models/backbones/vitaev2_vsa_modules/window.py community ran · our draft was wrong no licence file found · pointer only · 5e2dbd713ec13547 · report

Tasks

Image ClassificationInductive Bias

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Classification ImageNet ViTAE-H + MAE (448) Number of params 644M #45 of 1060 Archive leaderboard report
Image Classification ImageNet ViTAE-H + MAE (448) Top 1 Accuracy 88.5% #45 of 1060 Archive leaderboard report
Image Classification ImageNet ReaL ViTAE-H (MAE, 512) Accuracy 91.2% #2 of 57 Archive leaderboard report
Image Classification ImageNet ReaL ViTAE-H (MAE, 512) Params 644M #2 of 57 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Absolute Position EncodingsAdamAttentionBPEConvolutionDense 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