Object-Aware Aggregation With Bidirectional Temporal Graph for Video Captioning

Junchao Zhang, Yuxin Peng

Introduction

Video captioning is often considered the "holy grail" of video understanding. It requires a model to not only recognize objects but also to interpret their actions and relationships over time to generate a natural language description. Researchers from Peking University have introduced OA-BTG, a framework that advances this field by moving beyond simple global scene analysis to capture the fine-grained "story" of a video.

The Problem: Beyond "Tunnel Vision"

Most existing video captioning models suffer from a form of "tunnel vision." They typically focus on the entire frame, which can lead to missing small but crucial objects, or they use simple attention mechanisms that fail to track how an object moves or changes.

For instance, to accurately describe a video as "a man shoots a basketball into the basket," a model must do more than identify a man and a ball; it must track the specific trajectory of the ball relative to both the player and the hoop. Capturing these detailed temporal dynamics is essential for high-quality captioning.

Tracking object trajectories is essential for capturing the fine-grained story of a video, such as a basketball shot.

The OA-BTG Framework

The proposed Object-aware Aggregation with Bidirectional Temporal Graph (OA-BTG) framework consists of three primary components:

1. Bidirectional Temporal Graph (BTG)

Instead of processing frames in a strictly linear fashion, the BTG tracks objects both forward and backward in time. This bidirectional approach ensures that even if an object is temporarily obscured or enters the frame late, its full trajectory is captured. The system "stitches" object detections across frames using a similarity score based on appearance, Intersection over Union (IoU), and relative size.

The encoding stage utilizes a Bidirectional Temporal Graph to track object regions across forward and backward trajectories.

2. Object-aware Aggregation (Learnable VLAD)

Rather than simply averaging features, OA-BTG employs a sophisticated aggregation method called Vector of Locally Aggregated Descriptors (VLAD). Implemented via a Convolutional Gated Recurrent Unit (C-GRU), this allows the model to learn how to summarize the visual features of an object's entire path into a single, highly discriminative vector.

3. Hierarchical Decoder

The final stage uses a two-layer attention mechanism to generate the caption:

  • Temporal Attention: Determines which frames are most relevant at each step.
  • Object Attention: Identifies which specific objects are important for the word currently being generated.

Evaluation and Results

The model was evaluated on the MSVD (Microsoft Video Description) and MSR-VTT (Video to Text) datasets, achieving state-of-the-art (SOTA) results:

  • MSVD: OA-BTG reached a BLEU@4 score of 56.9% and a CIDEr score of 90.6%.
  • MSR-VTT: It achieved a BLEU@4 of 41.4% and CIDEr of 46.9%.

Ablation studies confirmed the importance of the bidirectional component; removing the backward graph led to a significant performance drop (e.g., CIDEr on MSVD fell from 90.6 to 84.9). Qualitatively, the model excelled at identifying specific actions, correctly distinguishing "a man is doing exercise" where baseline models might provide generic or incorrect descriptions.

Conclusion and Future Directions

OA-BTG demonstrates the power of tracking individual object trajectories and using learnable aggregation to preserve fine-grained details. While highly effective, future work may focus on explicitly modeling inter-object relationships (e.g., the interaction between a dog and a frisbee) and improving the model's understanding of complex social interactions and subtle environmental contexts.

Summary updated

BibTeX
@inproceedings{zhang2019object,
  author = {Junchao Zhang and Yuxin Peng},
  title = {{Object-Aware Aggregation With Bidirectional Temporal Graph for Video Captioning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00852},
}
Figure