VidLA: Video-Language Alignment at Scale

Mamshad Nayeem Rizve, Fan Fei, Jayakrishnan Unnikrishnan, Son Tran, Benjamin Z. Yao, Belinda Zeng, Mubarak Shah, Trishul Chilimbi · DOI

Introduction

While image-language alignment has seen massive success with models like CLIP, video-language alignment has historically lagged behind. This gap is primarily driven by two challenges: poor data quality and architectural complexity. Most large-scale video datasets rely on Automatic Speech Recognition (ASR) transcripts, which often lack visual grounding (e.g., a speaker discussing their day while driving). Furthermore, modeling the temporal dimension of video typically requires complex, hierarchical architectures that are difficult to initialize with powerful pretrained image-text weights, often leading to suboptimal performance or overfitting.

VidLA (Video-Language Alignment) addresses these issues by scaling video-text pretraining to 800 million pairs using LLM-curated captions and a simple hierarchical temporal attention mechanism that integrates seamlessly with standard foundation models.

Methodology

VidLA employs a two-pronged approach focusing on architectural efficiency and data quality.

Hierarchical Temporal Attention

Instead of creating a new architecture from scratch, VidLA extends the standard Vision Transformer (ViT). It factorizes attention into two components:

  1. Spatially-Local Temporal Attention: Patch tokens attend to their temporal neighbors at the same spatial location across frames, capturing fine-grained motion.
  2. Multi-Scale Temporal [MST] Tokens: These special tokens operate at varying temporal resolutions (short, medium, and long scales), interacting with patch tokens to summarize video concepts at different levels of abstraction.
  3. [CLS] Aggregator: A final token aggregates information from all MST and patch tokens to create a unified video embedding for alignment.
VidLA Architecture Overview: The framework aligns text (captions/subtitles) with video clips using a hierarchical temporal attention mechanism.

LLM-Based Data Curation

To resolve the "noisy transcript" problem, the authors curated YT-VidLA-800M. They used a multi-modal LLM (BLIP-2) to generate frame-level captions and Llama-2 to summarize these into coherent video-level descriptions. By extracting clips of varying lengths (13s, 30s, 60s), the model learns to align text across different temporal spans.

Key Results and Insights

VidLA sets new state-of-the-art records across major retrieval benchmarks. On the MSR-VTT benchmark, VidLA-B/32 achieved a 60.9% Recall@1, a 5.0% improvement over the previous best. The model's performance is even more pronounced on long-form video datasets like ActivityNet and DiDeMo, where it outperformed competitors by 10.1% and 8.4% R@1, respectively.

VidLA Performance Comparison: A radar chart showing VidLA's consistent superiority over previous SOTA models across multiple retrieval benchmarks.

Key Insights:

  • Quality Over Raw Quantity: LLM-generated captions are significantly more effective than raw ASR transcripts because they are visually grounded.
  • Bridging the Gap: Initializing VidLA with pretrained CLIP weights (a "warm start") is crucial for performance, as it leverages existing high-quality image-text representations.
  • Temporal Hierarchy: The MST tokens allow the model to understand videos as a hierarchy of events rather than just a sequence of frames, explaining its dominance in long-video retrieval.

Discussion and Future Work

Despite its success, VidLA faces limitations. Training on 800 million pairs is resource-intensive, requiring significant compute (128 A100 GPUs). Additionally, the model currently uses fixed uniform frame sampling; future iterations might benefit from denser sampling or more sophisticated frame selection for complex videos. As multi-modal LLMs continue to improve, the quality of curated training data is expected to scale further, potentially allowing for even larger vision backbones like ViT-Huge.

Summary updated

BibTeX
@inproceedings{rizve2024vidla,
  author = {Mamshad Nayeem Rizve and Fan Fei and Jayakrishnan Unnikrishnan and Son Tran and Benjamin Z. Yao and Belinda Zeng and Mubarak Shah and Trishul Chilimbi},
  title = {{VidLA: Video-Language Alignment at Scale}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  doi = {10.1109/cvpr52733.2024.01332},
}
Figure