MERLOT: Multimodal Neural Script Knowledge Models

Rowan Zellers, Ximing Lu, Jack Hessel, Youngjae Yu, Jae Sung Park, Jize Cao, Ali Farhadi, Yejin Choi

Most current vision-language models are inherently "static." Trained on millions of images paired with literal captions (e.g., "a man holding a frying pan"), these models excel at object recognition but lack script knowledge—the common-sense understanding of how events unfold over time. They struggle to infer what happened before a photo was taken or what will likely happen after.

Humans, on the other hand, don't just see pixels; we perceive events. If we see a person sitting at a restaurant, we know they likely entered, looked at a menu, and ordered food. Capturing this temporal context is a massive challenge for AI because enumerating every possible cause-and-effect relationship is impossible.

To bridge this gap, researchers introduce MERLOT (Multimodal Event Representation Learning Over Time). MERLOT learns multimodal script knowledge in an entirely label-free, self-supervised manner by watching millions of YouTube videos with transcribed speech.

MERLOT pretraining pipeline and downstream tasks.

The MERLOT Approach

MERLOT utilizes a "full-stack" multimodal architecture designed to process both spatial and temporal information without relying on pre-extracted object bounding boxes.

  1. The Architecture: The model employs a grid-based hybrid ResNet/Vision Transformer (ViT) as an image encoder and a 12-layer Transformer as a joint vision-language encoder. This makes the pipeline more efficient and end-to-end compared to predecessors.
  2. Contrastive Matching: At the frame level, the model learns to match specific video frames to their corresponding snippets of transcribed speech (ASR).
  3. Temporal Reordering: To force the model to understand time, the authors "scramble" the order of video frames. The model must then learn to put them back in the correct chronological order based on the narrative, forcing it to perform cross-modal coreference (e.g., linking a "he" in one frame's caption to a specific person seen earlier).
  4. Attention Masking: In a twist on standard Masked Language Modeling (MLM), MERLOT uses "attention masking." It identifies which words in the transcript are most visually "grounded" in the frame and prioritizes masking those, forcing the model to look at the video to fill in the blanks.

Massive-Scale Pretraining

To train MERLOT, the authors curated YT-Temporal-180M, a massive new dataset consisting of 6 million YouTube videos covering 180 million segments. Unlike previous datasets that focused heavily on "how-to" instructional videos, this corpus includes vlogs, news, science, and home improvement.

The researchers found that diversity beats curation. Training on this "messy" mix of videos led to better downstream performance than training on curated instructional clips, as the variety of social interactions and event types provides a richer signal for learning commonsense.

Key Insights and Results

By combining frame-level recognition with video-level temporal reasoning, MERLOT achieves remarkable results across both video and static image domains:

  • Video QA Sweep: MERLOT set a new state-of-the-art on all 12 video reasoning tasks it was tested on, including TVQA, MSRVTT-QA, and ActivityNet-QA.
  • Video is a Better Teacher for Images: Surprisingly, pretraining on video makes the model significantly better at reasoning about static images. On the Visual Commonsense Reasoning (VCR) benchmark, MERLOT achieved 80.6% accuracy, outperforming previous state-of-the-art models of similar size by over 3%—even those that rely heavily on auxiliary supervised data like object bounding boxes.
  • Zero-Shot Reasoning: Even without fine-tuning, MERLOT can unscramble "Visual Stories" (sequences of images) with high accuracy, significantly beating strong baselines like CLIP.

Limitations and Future Work

While MERLOT represents a significant leap in multimodal reasoning, the authors note several limitations:

  • Social Bias: Learning from YouTube risks absorbing the platform's inherent biases, including racialized beliefs often found in local news and gendered perspectives in popular vlogs.
  • Granularity: While excellent at high-level event ordering, MERLOT may still struggle with very fine-grained temporal localization (e.g., pinpointing the exact millisecond an action starts).
  • Language: The current model is English-centric; expanding to multilingual video data remains an area for future work.
  • Dual Use: The authors transparently note that video-level reasoning capabilities could unfortunately be repurposed for surveillance applications.

Summary updated

BibTeX
@inproceedings{zellers2021merlot,
  author = {Rowan Zellers and Ximing Lu and Jack Hessel and Youngjae Yu and Jae Sung Park and Jize Cao and Ali Farhadi and Yejin Choi},
  title = {{MERLOT: Multimodal Neural Script Knowledge Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=CRFSrgYtV7m},
}
Figure