All models

MVD

A video ViT pretrained by predicting the features of masked image and video teachers.

Video · 351 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 (21 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
351
Framework
PyTorch
Recurrent
No
Published
CVPR 2023
Cited by
84 (as of 24 October 2026)
Authors
Rui Wang, Dongdong Chen, Zuxuan Wu and others
License
CC-BY-NC-4.0
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
m18269
Graph hash
e44a207dec898d8fdb14574bf73ac71945227b0438651f690ed0b03cd61e50d3
Skeleton hash
725819346296956e7ea9b6588d858ec364febda683fe122b5cd19436a6aaaec3
Architecture hash
bad70fda140bd2a45239c19df3dad8722b0f5c3054fe8932539e62b5e706208d
Diagram SHA-256
62ac65dce0c51bd0e38b65ff6336930677a7fcd467aa8db3665a9ca5764236b8
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

MVD (masked video distillation) is a two-stage masked feature modeling framework for self-supervised video representation learning. In the first stage, an image or video model is pretrained by recovering low-level features of masked patches, and in the second, the features that model produces become the targets a student predicts for masked patches.

The paper observes that students taught by video teachers do better on temporally heavy video tasks, while image teachers transfer stronger spatial representations for spatially heavy ones. MVD therefore distills the student from both kinds of teacher at once, which the paper calls spatial-temporal co-teaching. Two separate decoders with the same architecture but different weights sit on top of the encoder, and the teachers stay fixed during distillation. Masking follows a tube pattern, in which a 2D random mask is extended along the temporal dimension, at a masking ratio of 90% in the distillation stage.

The student is a vanilla ViT with joint spatial-temporal self-attention over the whole token sequence, and it receives all tokens when finetuned on downstream tasks. With a ViT-Large student, the paper reports 86.4% Top-1 accuracy on Kinetics-400 and 76.7% on Something-Something-v2, which is 1.2% and 2.4% above VideoMAE. The model shown here is the ViT-B size, taking 16 frames and scoring 400 classes, the number of classes in Kinetics-400.

Key idea. MVD showed that video transformers distilled from both a masked image teacher and a masked video teacher outperform students distilled from either teacher alone across multiple video datasets.

  • MVD
  • Masked Video Distillation
  • self-supervised video pretraining
  • masked feature modeling
  • video action recognition
  • video ViT
  • spatial-temporal co-teaching
  • Kinetics-400
  • Something-Something-v2

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

Cite the paper

@misc{wang2023maskedvideodistillationrethinking,
      title={Masked Video Distillation: Rethinking Masked Feature Modeling for Self-supervised Video Representation Learning}, 
      author={Rui Wang and Dongdong Chen and Zuxuan Wu and Yinpeng Chen and Xiyang Dai and Mengchen Liu and Lu Yuan and Yu-Gang Jiang},
      year={2023},
      eprint={2212.04500},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2212.04500}, 
}