Abstract
Masked modeling has revolutionized natural language processing and computer vision, yet its application to video-language (VidL) pre-training remains under-explored. This paper presents a systematic empirical study of Masked Visual Modeling (MVM) for video-language transformers. By evaluating eight different visual reconstruction targets, the authors identify Spatial-focused Image Features (SIF) as the most effective target for driving performance. The resulting model, VIOLETv2, achieves state-of-the-art results across 13 benchmarks, demonstrating superior efficiency by outperforming models trained on significantly larger datasets.
Introduction
In the landscape of deep learning, masked modeling—where parts of the input are hidden and the model is tasked with reconstructing them—has become a cornerstone of pre-training. While BERT established this for NLP and models like MAE have shown its power in computer vision, the optimal strategy for Video-Language (VidL) learning has remained elusive. Previous attempts at Masked Visual Modeling (MVM) for video often yielded only marginal gains, leaving researchers uncertain about whether the model should reconstruct raw pixels, motion vectors, or high-level semantic features.
This study addresses this gap by rigorously testing various reconstruction targets to determine the most effective "proxy task" for video-text understanding. The authors introduce VIOLETv2, an end-to-end transformer that leverages spatial-focused features to achieve state-of-the-art performance across multiple benchmarks while using a fraction of the data required by previous models.
Methodology
The base architecture for this study is VIOLET (Video-Language Transformer), which integrates three primary components: a Video Swin Transformer (VT) for visual encoding, a Language Embedder (LE) for text processing, and a Cross-modal Transformer (CT) for multi-modal fusion.
The core experimental framework involves masking 30% of video patches and requiring the model to reconstruct one of eight distinct targets:
- Low-level representations: RGB Pixels and Histograms of Oriented Gradients (HOG).
- Pseudo-labels: Depth maps and Optical Flow.
- Discrete tokens: Visual tokens (VQ) from a discrete VAE.
- High-level features: Spatial-focused Image Features (SIF), Temporal-aware Video Features (TVF), and Multimodal Features (MMF) from CLIP.
Beyond the targets themselves, the researchers investigated masking strategies, comparing random masking (RM) against blockwise masking (BM)—which masks contiguous spatio-temporal chunks—and attended masking (AM), which targets regions of high model attention.
Experimental Results and Analysis
The study utilized WebVid-2.5M and CC3M for pre-training and evaluated performance across 13 benchmarks spanning Video QA, Video Captioning, and Text-to-Video Retrieval.
The most significant finding is that reconstructing Spatial-focused Image Features (SIF)—extracted from a pre-trained Swin Transformer—is the most effective strategy. As shown in the table below, SIF consistently outperforms other targets across multiple metrics.
Key insights from the empirical analysis include:
- The Inefficiency of Pixels: Unlike pure vision models where pixel reconstruction is highly effective, it proves surprisingly weak for multi-modal video tasks. The authors suggest that since the paired text already provides high-level semantics, pixel-level reconstruction becomes a redundant task that doesn't add meaningful signal for cross-modal alignment.
- The Importance of Blockwise Masking: Due to high temporal redundancy in video, random masking is often too simple, allowing the model to "cheat" by looking at adjacent frames. Blockwise masking forces the model to engage in deeper spatial and temporal reasoning.
- Knowledge Distillation Effect: Using SIF as a target effectively acts as a form of knowledge distillation, transferring rich semantic spatial details from a specialized image teacher to the video-language model.
Performance of VIOLETv2
VIOLETv2 demonstrates remarkable efficiency and performance. Pre-trained on only 5 million image-video pairs, it outperformed the original VIOLET model which was trained on 186 million pairs. Specifically, it achieved a mean improvement of +5.4% accuracy on Video QA and +6.6% recall on text-to-video retrieval compared to baselines using the same 5M data corpus. On the MSRVTT captioning benchmark, it saw a substantial jump of +11.4 CIDEr points.
Conclusion and Future Directions
This empirical study clarifies the role of MVM in video-language pre-training, highlighting the superiority of high-level spatial features over low-level pixels or motion vectors. However, limitations remain. Current benchmarks often rely on key-frame recognition rather than complex temporal logic, suggesting a need for future MVM targets that emphasize long-range temporal dependencies. Additionally, incorporating other modalities like audio or speech-to-text transcripts could further bolster performance in complex video understanding tasks.
Summary updated