Video Captioning with Tube Features

Bin Zhao, Xuelong Li, Xiaoqiang Lu

Introduction

Traditional video captioning models often treat a video as a sequence of global images, extracting features from entire frames and using Recurrent Neural Networks (RNNs) to translate these visual features into text. However, this "global-first" approach frequently overlooks the most salient elements: specific objects and their actions. In a scene of a boy playing basketball, background elements like trees are secondary to the boy and the ball. Standard models often struggle to filter out this irrelevant noise, leading to generic or inaccurate captions. To address this, researchers have developed a framework that makes models "object-aware" by focusing on "tube features"—the temporal trajectories of specific objects.

Methods: The Tube Feature Pipeline

The proposed framework utilizes a multi-step pipeline to extract and process object-centric information:

  1. Object Detection & Tube Generation: Using Faster-RCNN, the model detects object regions in individual frames. These static boxes are linked into "tubes" by constructing a similarity graph where edges between boxes in adjacent frames are weighted by location proximity, area similarity, and Intersection over Union (IoU). Dynamic programming identifies the optimal paths, effectively tracking the same object across time.
  2. The "Global Tube": To maintain context, the sequence of entire frames is treated as an additional "global tube," ensuring the model retains a sense of the overall scene.
  3. Bi-directional LSTM Encoder: Each tube is processed through a bi-directional Long Short-Term Memory (LSTM) network. This captures the dynamic evolution of an object—such as a ball's flight path—and compresses the trajectory into a fixed-size visual vector.
  4. Attention-based Decoder: A second LSTM generates the caption word-by-word. It employs an attention mechanism to adaptively focus on the most relevant tube for each word (e.g., increasing weight on the "basketball" tube when generating that specific word).
Overview of the tube generation process, linking detected objects across frames into temporal trajectories.

Datasets and Evaluation

The model was evaluated on two major benchmarks:

  • MSVD (Microsoft Video Description): 1,970 short YouTube clips with multiple captions.
  • Charades: A challenging dataset of 9,848 videos depicting daily indoor activities with complex descriptions.

Key Insights

  • Objects as Anchors: Human language is naturally object-centric. By modeling object trajectories, the system mimics human perception.
  • The Power of Attention: Visualization of attention weights confirms the model learns to associate specific words with specific tubes (e.g., "looking" at the dog tube when generating the word "dog").
  • Global + Local Synergy: Ablation studies showed that removing the "global frame tube" significantly hurt performance, proving that while object features provide detail, global features provide necessary context.
  • Robustness: The model is resilient to minor classification errors during detection; as long as a region is tracked correctly, the language model can often infer the correct label from visual dynamics.

Results

The "Tube Feature" approach consistently outperformed state-of-the-art baselines. On the MSVD dataset, the model achieved a METEOR score of 0.326, surpassing previous models like MAM-RNN and HRNE. Using Resnet-101 as the backbone further improved the METEOR score to 0.334. On the more complex Charades dataset, the model showed significant gains in BLEU and CIDEr metrics compared to standard sequence-to-sequence models like S2VT.

Limitations and Future Work

Despite its success, the model faces challenges with very small objects (e.g., phones or keys) and "tube splitting" caused by rapid camera movement or fast subjects. Future research may focus on improving small object detection, refining tube-linking logic for better robustness against occlusions, and integrating 3D convolutional features to better capture spatial-temporal information.

Summary updated

BibTeX
@inproceedings{zhao2018video,
  author = {Bin Zhao and Xuelong Li and Xiaoqiang Lu},
  title = {{Video Captioning with Tube Features}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/164},
}
Figure