VideoCon: Robust Video-Language Alignment via Contrast Captions

Hritik Bansal, Yonatan Bitton, Idan Szpektor, Kai-Wei Chang, Aditya Grover

Introduction

Current state-of-the-art video-language models (VLMs), such as Flamingo or VideoCLIP, demonstrate impressive capabilities but often suffer from a fundamental weakness: they lack true temporal understanding. These models frequently operate as "bags-of-words" or "bags-of-frames," relying on static visual cues rather than the dynamic progression of events. For instance, a model might fail to distinguish between "a dog runs away before eating" and "a dog runs away after eating" if both frames (running and eating) are present. This lack of robustness to subtle, semantically plausible changes—known as contrastive changes—limits their reliability in real-world applications requiring precise temporal logic.

To address this, researchers from UCLA and Google introduced VideoCon, a novel framework and dataset designed to instill robustness through contrastive learning and natural language explanations.

Methodology: The VideoCon Pipeline

The VideoCon framework employs a three-stage process to move beyond simple alignment toward deep temporal reasoning.

Overview of the VideoCon pipeline, including dataset creation, finetuning, and evaluation.
  1. Temporally-Challenging Selection: The process begins by filtering existing video-text datasets to remove "easy" instances. If a caption can be matched to a video using only a single frame, it is discarded. This ensures the model must attend to the video's dynamics to succeed.
  2. LLM-Assisted Data Generation: Using a large language model (PaLM 2), the framework generates contrast captions—plausible but factually incorrect versions of the original captions. These are based on seven misalignment types, such as flipping event order or swapping objects. Crucially, the LLM also generates a Natural Language Explanation (NLE) detailing why the contrast caption is incorrect.
  3. Finetuning (Owl-Con): A generative video-language model (mPLUG-Owl-Video) is finetuned on two primary tasks:
  4. Video-Language Entailment (VLE): Predicting whether a caption entails the video (Yes/No).
  5. NLE Generation: Generating an explanation for the discrepancy between a video and a misaligned caption.

The VideoCon Dataset

The resulting VideoCon dataset is a significant contribution to the field. It draws from source datasets like MSR-VTT, VaTeX, and TEMPO. The training set, VideoCon (LLM), contains approximately 115k entailment pairs and 50k explanations. To ensure rigorous testing, the authors also curated VideoCon (Human), a high-quality evaluation set featuring human-written contrast captions to test out-of-distribution generalization.

Examples of LLM-assisted contrast caption generation across different misalignment types.

Key Results and Insights

The resulting model, Owl-Con, demonstrates substantial improvements across multiple benchmarks:

  • Enhanced Alignment: Owl-Con achieved an 84.6 ROC-AUC on the VideoCon (LLM) test set, a massive jump from the base model's 57.2.
  • Human-Level Robustness: On the human-curated evaluation set, Owl-Con showed a 12-point increase in AUC over the baseline, indicating that the model learned generalizable principles rather than just LLM-specific patterns.
  • Temporal Mastery: The most significant gains occurred in the "Event Order Flip" category, where baselines typically fail. Owl-Con successfully learned to distinguish the chronological flow of actions.
  • Downstream Performance: In zero-shot evaluations, the model set new state-of-the-art results on SSv2-Temporal (improving mAP by 4.3 points) and ATP-Hard (increasing accuracy by 4%).

Conclusion

VideoCon demonstrates that teaching models "why" a caption is wrong through natural language explanations is a powerful strategy for building robust VLMs. By leveraging LLMs to generate hard negatives at scale, the researchers have provided a path toward models that truly "watch" and understand the temporal complexities of video. Future work will look toward increasing linguistic diversity and scaling these methods to even larger, more complex visual domains.

Summary updated

BibTeX
@inproceedings{bansal2023videocon,
  author = {Hritik Bansal and Yonatan Bitton and Idan Szpektor and Kai-Wei Chang and Aditya Grover},
  title = {{VideoCon: Robust Video-Language Alignment via Contrast Captions}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure