ActBERT: Learning Global-Local Video-Text Representations

Linchao Zhu, Yi Yang

Abstract

In this paper, we introduce ActBERT for self-supervised learning of joint video-text representations from unlabeled data. First, we leverage global action information to catalyze the mutual interactions between linguistic texts and local regional objects. It uncovers global and local visual clues from paired video sequences and text descriptions for detailed visual and text relation modeling. Second, we introduce an ENtangled Transformer block (ENT) to encode three sources of information, i.e., global actions, local regional objects, and linguistic descriptions. Global-local correspondences are discovered via judicious clues extraction from contextual information. It enforces the joint video-text representation to be aware of fine-grained objects as well as global human intention. We validate the generalization capability of ActBERT on downstream video-and language tasks, i.e., text-video clip retrieval, video captioning, video question answering, action segmentation, and action step localization. ActBERT significantly outperform the state-of-the-arts, demonstrating its superiority in video-text representation learning.

Introduction

In the rapidly evolving field of multimodal AI, researchers seek better ways to help machines understand the relationship between video sequences and linguistic narrations. While models like BERT revolutionized natural language processing, adapting them to the high-dimensional world of video is challenging due to the "granularity gap." Global video features often miss fine-grained object details, while local object features can lose the overarching context of human intention.

ActBERT addresses this by using global actions as a bridge. In instructional videos, the action (e.g., "slicing") provides the necessary context to link a specific word ("knife") to a particular visual region. By modeling global actions, local objects, and text simultaneously, ActBERT learns a more nuanced joint representation.

Methodology

ActBERT’s architecture is designed to ingest and relate three distinct sources of information: global actions, local regional objects, and linguistic descriptions.

ActBERT architecture overview showing input embeddings and pre-training tasks.
  1. Global Actions: The model uses a pre-trained 3D Convolutional Neural Network (ResNet-3D) to extract features representing the overall action in a video clip.
  2. Local Regions: It utilizes Faster R-CNN to identify and extract features for specific objects within frames.
  3. Linguistic Descriptions: Standard text tokens are derived from narrations, often generated via Automatic Speech Recognition (ASR).

The TaNgled Transformer (TNT)

The core innovation of ActBERT is the TaNgled Transformer (TNT) block (also referred to as the ENtangled Transformer). Unlike standard transformers that might process modalities in isolation, the TNT uses the action branch as a catalyst.

The TaNgled Transformer (TNT) block architecture showing interactions between word (w), action (a), and region (r) branches.

As shown in the architecture, the action branch queries the language and object branches to extract "judicious clues." For example, knowing the global action is "stirring" helps the model focus on the "spoon" in the object branch and the word "bowl" in the text branch, resolving potential ambiguities in the scene.

Self-Supervised Pre-training

The model is trained on the massive HowTo100M dataset using four surrogate tasks that require no manual labels:

  • Masked Language Modeling: Predicting missing words using visual cues.
  • Masked Action Classification: Predicting a masked action based on text and objects.
  • Masked Object Classification: Predicting the category of a masked-out image region.
  • Cross-modal Matching: Determining if a text snippet matches a given video clip.

Key Results

ActBERT significantly outperformed previous state-of-the-art (SOTA) methods across five diverse downstream tasks:

  • Video Captioning (YouCook2): Achieved a METEOR score of 13.30, surpassing VideoBERT’s 11.01.
  • Action Segmentation (COIN): Reached 56.95% frame accuracy, a massive leap over the previous SOTA of 34.30%.
  • Video Question Answering (MSR-VTT): Achieved 48.6% accuracy on multiple-choice questions, outperforming supervised methods like JSFusion (45.5%).
  • Action Step Localization: Improved average recall by 7% over previous methods on the CrossTask benchmark.

Conclusion

ActBERT demonstrates that global actions are powerful contextual anchors for video-text learning. By maintaining continuous visual features and using a "tangled" architecture to facilitate cross-modal interaction, the model overcomes the limitations of previous "visual word" approaches. While challenges remain regarding ASR noise and computational intensity, ActBERT provides a robust framework for fine-grained multimodal understanding from unlabeled data.

Summary updated

Abstract

In this paper, we introduce ActBERT for self-supervised learning of joint video-text representations from unlabeled data. First, we leverage global action information to catalyze the mutual interactions between linguistic texts and local regional objects. It uncovers global and local visual clues from paired video sequences and text descriptions for detailed visual and text relation modeling. Second, we introduce an ENtangled Transformer block (ENT) to encode three sources of information, i.e., global actions, local regional objects, and linguistic descriptions. Global-local correspondences are discovered via judicious clues extraction from contextual information. It enforces the joint videotext representation to be aware of fine-grained objects as well as global human intention. We validate the generalization capability of ActBERT on downstream video-and language tasks, i.e., text-video clip retrieval, video captioning, video question answering, action segmentation, and action step localization. ActBERT significantly outperform the state-of-the-arts, demonstrating its superiority in video-text representation learning.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
YouCook2ActBERTMETEOR13.30split: val
Source quote
L263: ActBERT\xspace │ 8.66 │ 5.41 │ 13.30 │ 30.56 │ 0.65
COINActBERTFrame Accuracy56.95%fine-tuned
Source quote
L279: ActBERT\xspace │ 56.95
YouCook2ActBERTR@19.6split: val · backbone=clip
Source quote
L324: ActBERT\xspace │ YouCook2 │ {9.6} │ {26.7} │ {38.0} │ {19}
MSR-VTTActBERTAccuracy85.7split: test · fine-tuned
Source quote
L379: ActBERT\xspace │ 85.7
LSMDCActBERTAccuracy48.6split: test
Source quote
L398: ActBERT\xspace │ 48.6
BibTeX
@inproceedings{zhu2020actbert,
  author = {Linchao Zhu and Yi Yang},
  title = {{ActBERT: Learning Global-Local Video-Text Representations}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=Xr3EXM004s},
}
Figure