All models

videomaev2_vit_base_patch16_224

Scaled video masked autoencoder with dual masking, traced as its fine-tuned and distilled ViT-S and ViT-B.

Video · 350 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (20 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Task
Video
Parameters
86.5M
Operations
350
Framework
PyTorch
Recurrent
No
Published
CVPR 2023
Cited by
515 (as of 17 October 2026)
Authors
Limin Wang, Bingkun Huang, Zhiyu Zhao and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m10873
Graph hash
41599d5d242e83a8ce46de6f79145b1e946620d8cc487bc8c1ff45c8dd36ca80
Skeleton hash
15f0ba203358efbe6e18ea6ef0ba63d477ea922412ab005419d0ac441c8f6af1
Architecture hash
6ff0578c46e21ecdb47369ef4e218fa61577e6a9d6e03bbb989a2f76496d2548
Diagram SHA-256
4e76c1b2a86212ba959e9ea9aff3a1078342678ef415c508ad73f208ba255647
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

ViT-B/16 fine-tuned for Kinetics-400, 400 output classes.

About this model's family

VideoMAE V2 is a video foundation model built by scaling the video masked autoencoder in both model size and data. The members traced here are the fine-tuned ViT-S and ViT-B video classifiers, including the two distilled ones, rather than the billion-parameter ViT-g, which the paper reports reaching 90.0% on Kinetics-400 and 77.0% on Something-Something V2. Following the original VideoMAE, the backbone is the vanilla ViT, chosen for its simplicity, built at capacities from ViT-B through ViT-g.

The core design is dual masking: the encoder operates on one subset of video tokens and the decoder processes another subset. Encoder masking is the random tube masking of the original VideoMAE at an extremely high ratio, while decoder masking has the opposite objective. For the decoder the authors chose running cell masking so that the reconstructed cubes cover the whole video as diversely as possible, and the reconstruction loss applies only to tokens the encoder never saw. Although the high encoder masking ratio already makes VideoMAE efficient, masking the decoder further reduces the overall computational cost, which is what enables pre-training billion-level video models. Training is progressive: masked pre-training on a diverse multi-sourced unlabeled dataset, then post-pre-training on a mixed labeled dataset. That unlabeled set, termed UnlabeledHybrid, holds around 1.35M videos. It was built by selecting videos from Kinetics, Something-Something, AVA, WebVid2M and the authors' own crawled Instagram dataset.

The distilled members matter because the authors found their distilled ViT-B achieves much better performance than the original VideoMAE ViT-B models and hope it can serve as an efficient foundation model for downstream tasks. The README lists the distilled ViT-small and ViT-base models on K710 with the ViT-g hybrid-pretrained K710 model as teacher, which is why the two K710 members emit 710 class logits while the Kinetics-400 members emit 400. Code and the distilled models were released in April 2023 by OpenGVLab.

Key idea. VideoMAE V2 masks the decoder as well as the encoder, using running cell masking to reconstruct only a diverse subset of pixel cubes, cutting the cost of video masked autoencoding enough to pre-train a billion-parameter video ViT.

  • VideoMAE V2
  • VideoMAEv2
  • VideoMAE
  • video masked autoencoder
  • dual masking
  • video ViT
  • Kinetics-400
  • K710
  • Something-Something
  • action recognition
  • OpenGVLab
  • distilled ViT-B

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{wang2023videomaev2scalingvideo,
      title={VideoMAE V2: Scaling Video Masked Autoencoders with Dual Masking}, 
      author={Limin Wang and Bingkun Huang and Zhiyu Zhao and Zhan Tong and Yinan He and Yi Wang and Yali Wang and Yu Qiao},
      year={2023},
      eprint={2303.16727},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2303.16727}, 
}