Video Captioning with Transferred Semantic Attributes

Yingwei Pan, Ting Yao, Houqiang Li, Tao Mei

Abstract

Generating natural language descriptions for video remains a fundamental challenge in computer vision. This paper introduces Long Short-Term Memory with Transferred Semantic Attributes (LSTM-TSA), a framework that explicitly incorporates high-level semantic cues to bridge the gap between visual features and linguistic structures. By dynamically fusing attributes learned from static images (objects) and dynamic videos (actions) via a specialized transfer unit, LSTM-TSA achieves state-of-the-art performance on major benchmarks, including the Microsoft Research Video Description (MSVD) dataset.

Introduction

Video captioning requires a model to translate complex visual sequences into coherent natural language. Traditional "Encoder-Decoder" architectures typically map raw visual features directly to words. However, these models often overlook intermediate semantic layers—such as identifying specific objects or actions—and fail to effectively leverage the complementary strengths of static image data and temporal video data. Static images are ideal for learning object-level attributes, while videos are necessary for capturing motion and dynamic actions.

Methods: The LSTM-TSA Framework

The proposed LSTM-TSA architecture consists of three primary components designed to integrate semantic attributes into the captioning process.

Attribute Learning via Multiple Instance Learning (MIL)

The model utilizes MIL to train robust attribute detectors across two domains:

  1. Image-based attributes: Learned from the COCO dataset to identify static objects and scenes.
  2. Video-based attributes: Learned through a novel Video MIL framework. This approach treats all frames in a video as a "bag," allowing the model to filter out temporal noise and focus on consistent semantic signals across the sequence.
Figure 2: A video sequence showing a child vacuuming, used to learn dynamic action attributes like "cleaning".

The Transfer Unit

The core innovation is the Transfer Gate. Unlike simple concatenation, this gated mechanism dynamically adjusts the influence of image-based versus video-based attributes at each time step of sentence generation. For instance, the gate may prioritize object-attributes when generating nouns and action-attributes when generating verbs.

End-to-End Training

Attributes are fed into the LSTM at every time step, ensuring the language model remains grounded in high-level semantic concepts throughout the generation of the caption.

Experimental Results

The model was evaluated on three major benchmarks: MSVD, M-VAD, and MPII-MD.

Quantitative Performance

On the MSVD benchmark, LSTM-TSA achieved a BLEU@4 of 52.8% and a CIDEr-D of 74.0%, significantly outperforming previous state-of-the-art models like HRNE (43.8% BLEU@4). Ablation studies confirmed that the "Full" model, utilizing both image and video attributes, consistently outperformed single-source variants.

Qualitative Insights

The inclusion of semantic attributes leads to more descriptive and accurate captions. For example, while a standard LSTM might produce a vague description, LSTM-TSA can correctly identify specific actions and subjects, such as "a child is cleaning the floor."

Figure 1: A representative frame from a video where the model identifies static attributes like "child" and "floor".

Conclusion

LSTM-TSA demonstrates that explicitly modeling semantic attributes and dynamically fusing information from different visual domains significantly improves video captioning. While performance on complex movie datasets (M-VAD, MPII-MD) remains a challenge due to the inherent difficulty of the content, the success on MSVD highlights the potential of attribute-based transfer learning. Future work may explore integrating spatial-temporal attention mechanisms and extending the framework to multi-sentence storytelling.

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