Video Language Model Pretraining with Spatio-temporal Masking

Yue Wu, Zhaobo Qi, Junshu Sun, Yaowei Wang, Qingming Huang +1 more
2/10/2026

No official code found. Best implementation: May2333/STM (1 star, last commit 2025-11-27).

Abstract

The development of self-supervised video-language models based on mask learning has significantly advanced downstream video tasks. These models leverage masked reconstruction to facilitate joint learning of visual and linguistic information. However, recent study reveals that reconstructing image features yields superior downstream performance compared to video feature reconstruction. We hypothesize that this performance gap stems from the way how masking strategies influence the model’s attention to temporal dynamics. To validate this hypothesis, we performed two sets of experiments that demonstrate that alignment between the masked target and the reconstruction target is crucial for self-supervised video-language learning. Based on these findings, we propose a spatio-temporal masking strategy (STM) for video-language model pretraining that operates across adjacent frames, and a decoder leverages semantic information to enhance the spatio-temporal representations of masked tokens. Thanks to the combination of masking strategy and reconstruction decoder, STM enforces the model to learn spatio-temporal feature representation comprehensively. Experiments in three video understanding downstream tasks validate the superiority of our method. Codes are available here.

DOISemantic Scholar

Code Implementations(1)

May2333/STMCommunity73%

[CVPR 2025] This is the official repository for our paper: "Video Language Model Pretraining with Spatio-temporal Masking".

10Shell, PythonMar 23, 202510 months ago

Similar Papers

Cite this paper

@article{wu2026video,
  title  = {Video Language Model Pretraining with Spatio-temporal Masking},
  author = {Yue Wu and Zhaobo Qi and Junshu Sun and Yaowei Wang and Qingming Huang and Shuhui Wang},
  year   = {2026},
  doi    = {10.1109/CVPR52734.2025.00800},
  url    = {https://doi.org/10.1109/CVPR52734.2025.00800},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/0fb264272644d4e9a28d1e39b6b3d6576ddb7e76.svg)](https://codeofpaper.com/paper/0fb264272644d4e9a28d1e39b6b3d6576ddb7e76)

Discussion