Papers › Multiscale Vision Transformers

Multiscale Vision Transformers

22 Apr 2021ICCV 2021 10arXiv:2104.11227archive 2025-07-28

Haoqi Fan, Bo Xiong, Karttikeya Mangalam, Yanghao Li, Zhicheng Yan, Jitendra Malik, Christoph Feichtenhofer

We present Multiscale Vision Transformers (MViT) for video and image recognition, by connecting the seminal idea of multiscale feature hierarchies with transformer models. Multiscale Transformers have several channel-resolution scale stages. Starting from the input resolution and a small channel dimension, the stages hierarchically expand the channel capacity while reducing the spatial resolution. This creates a multiscale pyramid of features with early layers operating at high spatial resolution to model simple low-level visual information, and deeper layers at spatially coarse, but complex, high-dimensional features. We evaluate this fundamental architectural prior for modeling the dense nature of visual signals for a variety of video recognition tasks where it outperforms concurrent vision transformers that rely on large scale external pre-training and are 5-10x more costly in computation and parameters. We further remove the temporal dimension and apply our model for image classification where it outperforms prior work on vision transformers. Code is available at: https://github.com/facebookresearch/SlowFast

PaperPDFConference PDFCodeCode 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="2104.11227")

Code

Syntology Ran 13 of 26 code samples harvested from 2 repositories linked to this paper; 13 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · fixture could not drive it; 10 ran with no contract checked.

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

facebookresearch/SlowFast officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
facebookresearch/hiera mentioned on GitHubpytorchApache-2.0 report
facebookresearch/pytorchvideo mentioned on GitHubpytorchApache-2.0 report
junweiliang/multitrain mentioned on GitHubpytorch report
rohanshad/cmr_transformer mentioned on GitHubpytorch report
wangjk666/stts mentioned on GitHubpytorchMIT report
facebookresearch/mvit pytorchApache-2.0 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

26 samples harvested; 13 ran; 1 honoured the contract we drafted; 13 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.

1ran · honoured contract
2ran · fixture could not drive it
10ran
13unverified

Licence: 5 of the 26 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 2 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.

AttentionPool towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) ran Apache-2.0 (permissive) · aabc00fba35e5b60 · report
DropPath towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · 8eadaa524165fa27 · report
LayerNorm towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) ran Apache-2.0 (permissive) · 137b894a55248107 · report
MaxPool3d towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) ran Apache-2.0 (permissive) · 11bb9021dd0d5f1d · report
Mlp towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) ran Apache-2.0 (permissive) · 9220e80dfcec043a · report
MultiscaleVisionTransformers rohanshad/cmr_transformer/arch/mvit.py community (archive-listed) ran · metamorphic tier: deterministic licence not identified · pointer only · 73d46d814f26bc08 · report
PatchEmbed towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) ran Apache-2.0 (permissive) · 56cfb3a853df70e9 · report
Sigmoid towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) ran Apache-2.0 (permissive) · ca6f8c79a4ba5eea · report
SpatioTemporalClsPositionalEncoding rohanshad/cmr_transformer/arch/mvit.py community (archive-listed) ran · metamorphic tier: deterministic licence not identified · pointer only · 8e8401b5c2cbe9af · report
TransformerBasicHead towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) ran Apache-2.0 (permissive) · a84009ea4b4e7411 · report
drop_path_func towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) ran · fixture could not drive it Apache-2.0 (permissive) · 63080b2b0157a638 · report
find_most_h_w towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) ran · fixture could not drive it Apache-2.0 (permissive) · fa1b9bbe882fd839 · report
round_width towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · c828b94ed536888e · report
Add towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) unverified Apache-2.0 (permissive) · e085e89664c8c8f1 · report
Clone towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) unverified Apache-2.0 (permissive) · c8f04d0354d412d8 · report
Conv3d towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) unverified Apache-2.0 (permissive) · f51d56342db748dc · report
IndexSelect towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) unverified Apache-2.0 (permissive) · c6b33d8045bad24a · report
MViT towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) unverified Apache-2.0 (permissive) · b3cb3600d1ec619e · report
MultiScaleAttention towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) unverified Apache-2.0 (permissive) · d0c301eed0a9217c · report
MultiScaleBlock towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) unverified Apache-2.0 (permissive) · 2e7ddef56b034315 · report
_init_vit_weights rohanshad/cmr_transformer/arch/mvit.py community (archive-listed) unverified licence not identified · pointer only · 31c2f4da4c4a0948 · report
align_scale towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) unverified Apache-2.0 (permissive) · 4038555957e35d15 · report
compute_rollout_attention towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) unverified Apache-2.0 (permissive) · 59e53e1981813f80 · report
init_net_weights rohanshad/cmr_transformer/arch/mvit.py community (archive-listed) unverified licence not identified · pointer only · 081229a28d5f0e17 · report
resize_last_dim_to_most towhee-io/towhee/towhee/models/multiscale_vision_transformers/mvit.py community (archive-listed) unverified Apache-2.0 (permissive) · a6b157934033010d · report
set_attributes rohanshad/cmr_transformer/arch/mvit.py community (archive-listed) unverified licence not identified · pointer only · f69f7538b6980470 · report

Tasks

Action ClassificationAction RecognitionImage ClassificationVideo Recognitionimage-classification

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Action Classification Charades MViT-B-24, 32x3 (Kinetics-600 pretraining) MAP 47.7 #14 of 49 Archive leaderboard report
Action Classification Charades MViT-B, 32x3 (Kinetics-600 pretraining) MAP 47.1 #16 of 49 Archive leaderboard report
Action Classification Charades MViT-B-24, 32x3 (Kinetics-400 pretraining) MAP 46.3 #17 of 49 Archive leaderboard report
Action Classification Charades MViT-B, 32x3 (Kinetics-400 pretraining) MAP 44.3 #19 of 49 Archive leaderboard report
Action Classification Charades MViT-B, 16x4 (Kinetics-600 pretraining) MAP 43.9 #21 of 49 Archive leaderboard report
Action Classification Charades MViT-B, 16x4 (Kinetics-400 pretraining) MAP 40 #33 of 49 Archive leaderboard report
Action Classification Kinetics-400 MViT-B, 64x3 Acc@1 81.2 #87 of 207 Archive leaderboard report
Action Classification Kinetics-400 MViT-B, 64x3 Acc@5 95.1 #87 of 207 Archive leaderboard report
Action Classification Kinetics-400 MViT-B, 32x3 Acc@1 80.2 #103 of 207 Archive leaderboard report
Action Classification Kinetics-400 MViT-B, 32x3 Acc@5 94.4 #103 of 207 Archive leaderboard report
Action Classification Kinetics-400 MViT-B, 16x4 Acc@1 78.4 #126 of 207 Archive leaderboard report
Action Classification Kinetics-400 MViT-B, 16x4 Acc@5 93.5 #126 of 207 Archive leaderboard report
Action Classification Kinetics-400 MViT-S Acc@1 76 #151 of 207 Archive leaderboard report
Action Classification Kinetics-400 MViT-S Acc@5 92.1 #151 of 207 Archive leaderboard report
Action Classification Kinetics-600 MViT-B-24, 32x3 Top-1 Accuracy 83.8 #36 of 65 Archive leaderboard report
Action Classification Kinetics-600 MViT-B-24, 32x3 Top-5 Accuracy 96.3 #36 of 65 Archive leaderboard report
Action Classification Kinetics-600 MViT-B, 32x3 Top-1 Accuracy 83.4 #39 of 65 Archive leaderboard report
Action Classification Kinetics-600 MViT-B, 32x3 Top-5 Accuracy 96.3 #39 of 65 Archive leaderboard report
Action Classification Kinetics-600 MViT-B, 16x4 Top-1 Accuracy 82.1 #44 of 65 Archive leaderboard report
Action Classification Kinetics-600 MViT-B, 16x4 Top-5 Accuracy 95.7 #44 of 65 Archive leaderboard report
Action Recognition AVA v2.2 MViT-B-24, 32x3 (Kinetics-600 pretraining) mAP 28.7 #27 of 38 Archive leaderboard report
Action Recognition AVA v2.2 MViT-B, 32x3 (Kinetics-500 pretraining) mAP 27.5 #28 of 38 Archive leaderboard report
Action Recognition AVA v2.2 MViT-B, 64x3 (Kinetics-400 pretraining) mAP 27.3 #30 of 38 Archive leaderboard report
Action Recognition AVA v2.2 MViT-B, 32x3 (Kinetics-400 pretraining) mAP 26.8 #32 of 38 Archive leaderboard report
Action Recognition AVA v2.2 MViT-B, 16x4 (Kinetics-600 pretraining) mAP 26.1 #35 of 38 Archive leaderboard report
Action Recognition AVA v2.2 MViT-B, 16x4 (Kinetics-400 pretraining) mAP 24.5 #36 of 38 Archive leaderboard report
Action Recognition Something-Something V2 MViT-B-24, 32x3 GFLOPs 236x3 #49 of 123 Archive leaderboard report
Action Recognition Something-Something V2 MViT-B-24, 32x3 Parameters 53.2M #49 of 123 Archive leaderboard report
Action Recognition Something-Something V2 MViT-B-24, 32x3 Top-1 Accuracy 68.7 #49 of 123 Archive leaderboard report
Action Recognition Something-Something V2 MViT-B-24, 32x3 Top-5 Accuracy 91.5 #49 of 123 Archive leaderboard report
Action Recognition Something-Something V2 MViT-B, 32x3(Kinetics600 pretrain) GFLOPs 170x3 #57 of 123 Archive leaderboard report
Action Recognition Something-Something V2 MViT-B, 32x3(Kinetics600 pretrain) Parameters 36.6 #57 of 123 Archive leaderboard report
Action Recognition Something-Something V2 MViT-B, 32x3(Kinetics600 pretrain) Top-1 Accuracy 67.8 #57 of 123 Archive leaderboard report
Action Recognition Something-Something V2 MViT-B, 32x3(Kinetics600 pretrain) Top-5 Accuracy 91.3 #57 of 123 Archive leaderboard report
Action Recognition Something-Something V2 MViT-B, 16x4 Top-1 Accuracy 66.2 #82 of 123 Archive leaderboard report
Action Recognition Something-Something V2 MViT-B, 16x4 Top-5 Accuracy 90.2 #82 of 123 Archive leaderboard report
Image Classification ImageNet MViT-B-24 GFLOPs 32.7 #287 of 1060 Archive leaderboard report
Image Classification ImageNet MViT-B-24 Number of params 72.9M #287 of 1060 Archive leaderboard report
Image Classification ImageNet MViT-B-24 Top 1 Accuracy 84.8% #287 of 1060 Archive leaderboard report
Image Classification ImageNet MViT-B-16 GFLOPs 7.8 #479 of 1060 Archive leaderboard report
Image Classification ImageNet MViT-B-16 Number of params 37M #479 of 1060 Archive leaderboard report
Image Classification ImageNet MViT-B-16 Top 1 Accuracy 83.0% #479 of 1060 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

Introduced by this paper: MViT

MViT

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