Adaptive Feature Abstraction for Translating Video to Language

Yunchen Pu, Martin Renqiang Min, Zhe Gan, Lawrence Carin

Introduction

Video captioning—the task of automatically generating natural language descriptions for video clips—traditionally relies on an encoder-decoder framework. In this setup, a Convolutional Neural Network (CNN) extracts visual features, which a Recurrent Neural Network (RNN) then translates into text. However, a significant limitation of existing models is their reliance on features from a single, fixed layer of the CNN, typically the final fully connected layer.

This "one-size-fits-all" approach fails to capture the multi-level nature of visual information. While high-level layers excel at capturing global context and complex actions, they often discard the fine-grained spatial details found in lower layers. To describe a video naturally, a model must be able to adaptively "zoom" between different levels of abstraction depending on the specific word being generated.

The dualAFR Model

To address this, researchers introduced the dual Adaptive Feature Representation (dualAFR) model. This architecture leverages a 3D CNN (C3D) to capture both spatial appearance and temporal motion, but unlike standard models, it selectively draws features from multiple intermediate layers.

Architecture of the dualAFR model, showing the integration of intermediate C3D layers and the dual attention mechanism.

Spatiotemporal Alignment

Because features from different CNN layers (such as pool2, pool3, pool4, and pool5) have varying dimensions, they cannot be used together directly. The dualAFR model employs 3D convolutional transformations and max-pooling to map these disparate features into a shared semantic and spatiotemporal space. This alignment ensures that the decoder can interpret features consistently, regardless of their source layer.

Dual Attention Mechanism

The model employs two distinct types of attention to guide the captioning process:

  1. Spatiotemporal-localization attention: This determines which specific regions within the video frames are most relevant at a given time step.
  2. Abstraction-level attention: This dynamically selects the most appropriate CNN layer (level of detail) for the current word.

The authors explored both "Soft" attention, which uses a weighted average of all layers, and "Hard" attention, which selects a single optimal layer using reinforcement learning-style optimization.

Key Insights: The Hierarchy of Language

A compelling discovery from this research is the correlation between the selected abstraction level and parts of speech. The model naturally learns a hierarchy that mirrors linguistic structure:

  • Lower-level layers (e.g., pool2, pool3) are predominantly chosen when generating nouns like "ball" or "person," where fine-grained visual detail is paramount.
  • Higher-level layers (e.g., pool5, fc7) are prioritized for prepositions, articles, and verbs, where global context and motion patterns are more informative than specific textures.

This suggests that 3D convolutions are essential for aligning motion patterns across these different levels of abstraction, providing a more holistic understanding of the action.

Experimental Results

The dualAFR model was evaluated on three benchmark datasets: YouTube2Text (MSVD), M-VAD, and MSR-VTT. It consistently achieved state-of-the-art or highly competitive results across standard metrics including BLEU-4, METEOR, and CIDEr.

On the YouTube2Text dataset, the "Hard Attention" ensemble reached a METEOR score of 38.03, significantly outperforming single-layer baselines. Furthermore, human evaluations confirmed the model's superiority; in blind tests, evaluators preferred dualAFR captions over the strongest single-layer baseline 27.5% of the time, compared to only 4.8% for the baseline.

Limitations and Future Directions

While effective, the dualAFR approach introduces increased computational demands. The model is approximately 1.2 to 1.5 times slower during inference and requires 2 to 4 times more memory than single-layer counterparts due to the need to process and store multiple feature maps.

Future work may involve "fine-tuning" the CNN encoder end-to-end for the captioning task, rather than using fixed pre-trained parameters. Additionally, the principles of adaptive abstraction developed here for video could be extended to improve the precision of standard image captioning models.

Summary updated

BibTeX
@inproceedings{pu2017adaptive,
  author = {Yunchen Pu and Martin Renqiang Min and Zhe Gan and Lawrence Carin},
  title = {{Adaptive Feature Abstraction for Translating Video to Language}},
  booktitle = {International Conference on Learning Representations},
  year = {2017},
  url = {https://openreview.net/forum?id=ByG4hz5le},
}
Figure