[Paper Review] Long-Form Video-Language Pre-Training with Multimodal Temporal Contrastive Learning
LF-VILA introduces Multimodal Temporal Contrastive loss and Hierarchical Temporal Window Attention to enable end-to-end pre-training on long-form video-paragraph data, achieving state-of-the-art results on paragraph-to-video retrieval and long-form video QA.
Large-scale video-language pre-training has shown significant improvement in video-language understanding tasks. Previous studies of video-language pretraining mainly focus on short-form videos (i.e., within 30 seconds) and sentences, leaving long-form video-language pre-training rarely explored. Directly learning representation from long-form videos and language may benefit many long-form video-language understanding tasks. However, it is challenging due to the difficulty of modeling long-range relationships and the heavy computational burden caused by more frames. In this paper, we introduce a Long-Form VIdeo-LAnguage pre-training model (LF-VILA) and train it on a large-scale long-form video and paragraph dataset constructed from an existing public dataset. To effectively capture the rich temporal dynamics and to better align video and language in an efficient end-to-end manner, we introduce two novel designs in our LF-VILA model. We first propose a Multimodal Temporal Contrastive (MTC) loss to learn the temporal relation across different modalities by encouraging fine-grained alignment between long-form videos and paragraphs. Second, we propose a Hierarchical Temporal Window Attention (HTWA) mechanism to effectively capture long-range dependency while reducing computational cost in Transformer. We fine-tune the pre-trained LF-VILA model on seven downstream long-form video-language understanding tasks of paragraph-to-video retrieval and long-form video question-answering, and achieve new state-of-the-art performances. Specifically, our model achieves 16.1% relative improvement on ActivityNet paragraph-to-video retrieval task and 2.4% on How2QA task, respectively. We release our code, dataset, and pre-trained models at https://github.com/microsoft/XPretrain.
Motivation & Objective
- Motivate learning from long-form video-language data to capture rich temporal dynamics beyond short-form videos.
- Propose an end-to-end LF-VILA model with a video encoder, text encoder, and cross-modal encoder for long-form data.
- Design a Multimodal Temporal Contrastive (MTC) loss to align temporal relations across video clips and sentences.
- Introduce Hierarchical Temporal Window Attention (HTWA) to efficiently model long-range dependencies in a Transformer backbone.
- Demonstrate strong performance on seven downstream long-form video-language tasks and provide ablations and analyses.
Proposed method
- Three-part LF-VILA architecture: video encoder, text encoder, and cross-modal encoder.
- Multimodal Temporal Contrastive (MTC) loss to align clip-sentence temporal relations with InfoNCE-based formulation.
- Hierarchical Temporal Window Attention (HTWA) to progressively enlarge temporal windows across Transformer layers for efficiency and long-range modeling.
- Two-stage pre-training: stage one uses global and MTC losses for clip-paragraph alignment; stage two uses MLM and Video-Text Matching on concatenated embeddings.
- Pre-training on LF-VILA-8M long-form video-paragraph data built from HD-VILA-100M, with fixed frame sampling and Swin-Transformer backbone.
Experimental results
Research questions
- RQ1Can end-to-end pre-training on long-form video-paragraph data improve long-form video-language understanding tasks?
- RQ2Does incorporating temporal alignment between clips and sentences (MTC) improve cross-modal representations over global alignment alone?
- RQ3Can HTWA enable efficient modeling of long-range dependencies in long-form videos without prohibitive computation?
- RQ4How well does LF-VILA transfer to paragraph-to-video retrieval and long-form video QA tasks compared to short-form pre-training baselines?
Key findings
- LF-VILA achieves state-of-the-art results on multiple paragraph-to-video retrieval datasets, including a 16.1% relative improvement on ActivityNet paragraph-to-video retrieval and 23.9% improvement over HD-VILA in R@1 on ActivityNet Captions when using long-form data.
- LF-VILA outperforms prior methods on DiDeMo, QuerYD, and Condensed Movie for paragraph-to-video retrieval, with substantial gains in R@1 across datasets.
- On long-form video QA, LF-VILA achieves new SOTA on How2QA and VIOLIN, and competitive results on ActivityNet QA, demonstrating improved long-range reasoning.
- Ablations show that more frames and longer pre-training on long-form data substantially boost performance; MTC contributes additional gains; HTWA offers favorable cost-performance tradeoffs compared to fixed large windows.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.