Video Captioning with Transferred Semantic Attributes

Yingwei Pan, Ting Yao, Houqiang Li, Tao Mei

Abstract

Automatically generating natural language descriptions of videos plays a fundamental challenge for computer vision community. Most recent progress in this problem has been achieved through employing 2-D and/or 3-D Convolutional Neural Networks (CNN) to encode video content and Recurrent Neural Networks (RNN) to decode a sentence. In this paper, we present Long Short-Term Memory with Transferred Semantic Attributes (LSTM-TSA)---a novel deep architecture that incorporates the transferred semantic attributes learnt from images and videos into the CNN plus RNN framework, by training them in an end-to-end manner. The design of LSTM-TSA is highly inspired by the facts that 1) semantic attributes play a significant contribution to captioning, and 2) images and videos carry complementary semantics and thus can reinforce each other for captioning. To boost video captioning, we propose a novel transfer unit to model the mutually correlated attributes learnt from images and videos. Extensive experiments are conducted on three public datasets, i.e., MSVD, M-VAD and MPII-MD. Our proposed LSTM-TSA achieves to-date the best published performance in sentence generation on MSVD: 52.8% and 74.0% in terms of BLEU@4 and CIDEr-D. Superior results when compared to state-of-the-art methods are also reported on M-VAD and MPII-MD.

Introduction

Video captioning—the task of automatically generating natural language descriptions for video content—is a cornerstone challenge in bridging computer vision and natural language processing. While traditional encoder-decoder frameworks using Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs) have made strides, they often struggle with the "semantic gap" between low-level visual features and high-level linguistic concepts.

The LSTM-TSA (Long Short-Term Memory with Transferred Semantic Attributes) architecture addresses this by leveraging high-level semantic attributes (e.g., "cleaning," "floor," "child") as intermediate representations. Crucially, it recognizes that static images and dynamic videos offer complementary semantic information. Images excel at identifying objects and scenes, while videos are better suited for capturing temporal actions.

The LSTM-TSA Framework

The proposed architecture integrates attribute discovery and sentence generation into an end-to-end trainable system. The pipeline consists of three primary components:

  1. Attribute Discovery via Multiple Instance Learning (MIL): The model employs two MIL-based detectors. The Image MIL model extracts static attributes from large-scale image datasets, while the Video MIL model identifies dynamic actions by treating video frames as a "bag" of instances, effectively filtering temporal noise.
  2. The Transfer Unit: This novel component dynamically fuses image-based and video-based attributes. Rather than simple concatenation, a "Transfer Gate" regulates the influence of each attribute set at every time step of the sentence generation process.
  3. Sentence Decoding: A two-layer LSTM consumes visual features (from VGG and C3D networks) alongside the fused semantic attributes to produce the final caption.
The overall architecture of the LSTM-TSA model, highlighting the integration of image and video MIL models with the Transfer Unit.

Bridging the Semantic Gap with Complementary Attributes

A key insight of this work is the synergy between visual domains. Image-trained attributes often provide the "what" (objects), while video-trained attributes provide the "how" (actions). The Transfer Unit acts as a dynamic filter, prioritizing different attributes based on the current linguistic context. For instance, when generating a noun, the gate may favor image-derived attributes; for a verb, it may lean on video-derived cues.

An illustration of how attributes from images and videos provide complementary information to generate an accurate caption.

Experimental Results

The LSTM-TSA model was rigorously evaluated on three benchmark datasets: MSVD (Microsoft Video Description), M-VAD (Montreal Video Annotation Dataset), and MPII-MD (MPII Movie Description).

On the MSVD dataset, LSTM-TSA achieved state-of-the-art results at the time of publication, reaching 52.8% BLEU@4 and 74.0% CIDEr-D. These metrics represent a significant leap over previous attention-based and sequence-learning models. Qualitative analysis confirms that the inclusion of semantic attributes leads to more descriptive and contextually accurate captions compared to standard CNN-RNN baselines.

Conclusion and Future Directions

LSTM-TSA demonstrates that high-level semantic attributes, especially when transferred across image and video domains, significantly enhance video captioning performance. Future work may involve incorporating fine-grained temporal attention mechanisms to focus on specific frames during attribute extraction and extending the framework to generate multi-sentence paragraphs for longer video sequences.

Summary updated

BibTeX
@inproceedings{pan2017video,
  author = {Yingwei Pan and Ting Yao and Houqiang Li and Tao Mei},
  title = {{Video Captioning with Transferred Semantic Attributes}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.111},
}
Figure