TL;DR
This paper presents a systematic study of Masked Visual Modeling (MVM) for video-language pre-training, identifying the most effective "targets" for a model to reconstruct when parts of a video are hidden. The authors demonstrate that reconstructing spatial-focused image features (SIF) distilled from a pre-trained Swin Transformer is the winning strategy, leading to their state-of-the-art VIOLETv2 model which outperforms much larger models on 13 diverse benchmarks.
What Problem Does This Paper Address?
In the world of Natural Language Processing, "masked modeling" (like BERT) is a cornerstone: hide some words, and let the model learn by predicting them. This idea has successfully migrated to computer vision (e.g., MAE, BEiT), where models learn by reconstructing masked image patches.
However, in Video-Language (VidL) learning—where models must understand both video and text—Masked Visual Modeling has struggled to show significant benefits. Most VidL models rely on Video-Text Matching (VTM) and Masked Language Modeling (MLM), treating visual reconstruction as an afterthought. The authors set out to answer a fundamental question: What exactly should a VidL model try to reconstruct to learn the best representations? Should it be raw pixels, motion vectors, depth maps, or high-level semantic features?
Methods
The researchers used VIOLET (VIdeO-LanguagE Transformer) as their base architecture, which consists of a Video Swin Transformer for visual encoding, a Language Embedder, and a Cross-modal Transformer for fusion.
They systematically explored eight different MVM targets, categorized by their level of abstraction:
- Low-level: RGB Pixels and Histogram of Oriented Gradients (HOG).
- Geometry & Motion: Depth Maps and Optical Flow.
- Discrete: Visual Tokens (VQ) from a dVAE.
- High-level Latent Features: Spatial-focused Image Features (SIF), Temporal-aware Video Features (TVF), and Multimodal Features (MMF) from CLIP.
Beyond the what, they also studied the how—testing different masking ratios and strategies, such as Blockwise Masking (BM), which hides contiguous chunks of video to prevent the model from "cheating" by just looking at adjacent, nearly identical pixels.
Datasets
The models were pre-trained on a combined corpus of approximately 5 million pairs:
- WebVid-2.5M: A large-scale dataset of short videos with textual descriptions.
- CC3M: A collection of 3 million image-caption pairs, treated as single-frame videos.
Evaluation spanned 13 benchmarks across three major tasks:
- Video QA: TGIF-QA, MSRVTT-QA, MSVD-QA, LSMDC-MC, and LSMDC-FiB.
- Text-to-Video Retrieval: MSRVTT, DiDeMo, and LSMDC.
- Video Captioning: MSRVTT and MSVD.
Key Insights and Ideas
- SIF is the "Goldilocks" Target: Spatial-focused image features (SIF) outperformed all other targets. The authors hypothesize that because current VidL benchmarks rely heavily on spatial understanding of key frames, distilling knowledge from a strong image classifier (like Swin-B) provides the most useful supervisory signal.
- Inductive Bias Alignment: The best results occur when the MVM target extractor shares a similar architecture with the video encoder. Using Swin-based features to train a Video Swin encoder works better than using ResNet or CLIP features.
- Video vs. Image MVM Disparity: Surprisingly, MVM strategies that help video-text data don't necessarily translate to image-text data. For images, simple pixel reconstruction is often better, but the authors found that applying MVM to the image-text portion of their pre-training actually degraded downstream video performance.
- Masking Strategy Matters: Increasing the masking ratio to 30% and using a mix of random and blockwise masking (RM+BM) proved superior to the standard 15% random masking. This forces the model to perform deeper visual reasoning.
- More Targets $\neq$ Better Performance: Combining multiple MVM losses (e.g., SIF + Pixels) often led to worse results than SIF alone, suggesting that conflicting supervision signals can confuse the model.
Key Results
The resulting model, VIOLETv2, achieved impressive gains across the board. As shown in the ablation study below, SIF provides a massive boost, particularly in retrieval tasks.
- Efficiency: VIOLETv2 outperforms the original VIOLET model even when the original was trained on 37x more data (186M vs 5M pairs).
- State-of-the-Art: Compared to a baseline without MVM, VIOLETv2 improved Video QA accuracy by +5.4%, text-to-video retrieval recall by +6.6%, and video captioning CIDEr scores by +11.4.
- Competitive Edge: On MSRVTT-QA and MSVD-QA, VIOLETv2 surpassed the popular ALPRO model by 2.4% and 8.4% respectively, using the same 5M pre-training corpus.
Limitations and Future Work
The authors acknowledge that their findings might be influenced by the nature of current benchmarks, which are often "spatially biased" (i.e., you can answer the question by looking at one good frame). As benchmarks evolve to require more complex temporal reasoning, targets like Optical Flow or Temporal-aware features (TVF) might become more relevant.
Future work could explore more sophisticated ways to combine multiple MVM targets without interference and investigate how these findings scale to even larger "foundation" models. Additionally, integrating other modalities like audio or ASR (speech-to-text) transcripts remains a promising avenue for further boosting performance.
Summary updated