LiteVL: Efficient Video-Language Learning with Enhanced Spatial-Temporal Modeling

Dongsheng Chen, Chaofan Tao, Lu Hou, Lifeng Shang, Xin Jiang, Qun Liu

Abstract

LiteVL is a novel framework designed to transform pre-trained image-language models, such as BLIP, into high-performing video-language models without the need for computationally expensive video-text pre-training. By introducing learnable temporal scaling and a text-dependent pooling mechanism, LiteVL achieves state-of-the-art results on video retrieval and question-answering tasks while maintaining significant computational efficiency.

Introduction

Training video-language models is traditionally resource-intensive, often requiring pre-training on millions of video-text pairs to account for the massive, redundant data structure of video. Furthermore, many existing models rely on slow, "off-the-shelf" object detectors limited by pre-defined categories. LiteVL addresses these challenges by leveraging the deep spatial visual-text alignment already present in image-language models (like CLIP or BLIP) and efficiently "upgrading" them to handle the temporal dimension of video.

Methodology

LiteVL builds upon the BLIP (Bootstrapping Language-Image Pre-training) architecture, introducing two primary enhancements to bridge the gap between static images and dynamic video.

1. Dynamic Temporal Scaling

The authors insert temporal attention layers into the image encoder. A key innovation is the inclusion of a learnable scaling factor ($\alpha_{l,t}$) controlled by a tanh-gating mechanism. This allows the model to dynamically adjust the importance of temporal information based on the specific requirements of a downstream task. For tasks relying on static frames, the scaling can reduce to zero, effectively reverting the model to a standard image encoder.

The overall architecture of LiteVL (a) and the detailed view of the Temporal Scaling block (b).

2. Text-dependent Pooling

Rather than using simple mean or max pooling, LiteVL employs a non-parametric mechanism that reweights video features based on the text query. By calculating the similarity between the text and various frames or patches, the model assigns higher weights to visual features that are most relevant to the query (e.g., focusing on a "golf player" during an action sequence).

Experimental Results

LiteVL was evaluated on several benchmark datasets, including MSRVTT, DiDeMo, and MSVD-QA. Notably, the model does not utilize any video-text pre-training datasets, relying solely on spatial priors from image-text data.

  • Text-Video Retrieval: On MSRVTT-9k, LiteVL achieved a 50.8% Recall@1 (R1), outperforming previous state-of-the-art models like X-Pool (46.9%) and CLIP4Clip (44.5%).
  • Video Question Answering: On MSRVTT-QA, it reached 42.9% accuracy, surpassing ALPRO (42.1%), which was pre-trained on 5.5 million video-text pairs.

Analysis of Temporal Dynamics

Visualization of the learnable scaling factors reveals a distinct trend: shallow layers in the video encoder focus primarily on individual frame content (low temporal scaling), while deeper layers exhibit an upward trend in scaling. This suggests that the model naturally learns to seek out complex temporal dependencies across the entire video in its later stages.

Average of learnable scaling factors across layers, showing an increase in temporal focus in deeper layers for both retrieval and QA tasks.

Discussion and Future Work

LiteVL demonstrates that massive video pre-training is not a prerequisite for state-of-the-art performance. The spatial alignment learned from images is powerful enough to handle video tasks if the temporal integration is designed correctly.

However, limitations remain. Currently, LiteVL treats VideoQA as a classification task; moving toward a generative framework could improve its ability to handle long-form visual questions. Additionally, while the model is excellent at alignment, future work will explore more robust mechanisms for complex, multi-step logical reasoning within videos.

Summary updated

BibTeX
@inproceedings{chen2022litevl,
  author = {Dongsheng Chen and Chaofan Tao and Lu Hou and Lifeng Shang and Xin Jiang and Qun Liu},
  title = {{LiteVL: Efficient Video-Language Learning with Enhanced Spatial-Temporal Modeling}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.545},
}
Figure