Guidance Module Network for Video Captioning

Xiao Zhang, Chunsheng Liu, Faliang Chang · DOI

Abstract

Video captioning has been a challenging and significant task that describes the content of a video clip in a single sentence. The model of video captioning is usually an encoder-decoder. We find that the normalization of extracted video features can improve the final performance of video captioning. Encoder-decoder model is usually trained using teacher-enforced strategies to make the prediction probability of each word close to a 0-1 distribution and ignore other words. In this paper, we present a novel architecture which introduces a guidance module to encourage the encoder-decoder model to generate words related to the past and future words in a caption. Based on the normalization and guidance module, guidance module net (GMNet) is built. Experimental results on commonly used dataset MSVD show that proposed GMNet can improve the performance of the encoder-decoder model on video captioning tasks.

Introduction

Video captioning serves as a critical bridge between computer vision and natural language processing. While standard encoder-decoder architectures using Long Short-Term Memory (LSTM) networks are common, they often suffer from a lack of global sentence coherence. This is largely due to "teacher forcing" during training, where models become overly dependent on immediate ground-truth predecessors, failing to grasp the broader sentence context. Zhang et al. propose the Guidance Module Network (GMNet) to address this "tunnel vision" and feature instability.

Methodology

The GMNet architecture enhances the standard soft-attention LSTM baseline through two primary innovations: a Guidance Module and strategic Layer Normalization.

High-level architecture of the Guidance Module Network (GMNet).

The Guidance Module

The Guidance Module acts as a "tutor" during the training phase, providing the model with look-ahead capabilities. It utilizes two separate LSTMs to encode the "past" (already generated words) and the "future" (remaining ground-truth words). These representations are fused with visual features from the attention module to guide the main decoder.

Detailed structure of the Guidance Module incorporating past and future context.

Importantly, this module is only active during training. During inference, the guidance module is removed, allowing the primary encoder-decoder to perform efficiently while benefiting from the contextual "wisdom" gained during training.

Layer Normalization (LN)

To combat feature instability, the authors apply Layer Normalization after the encoder and attention modules. This ensures data follows a consistent distribution (mean 0, variance 1), stabilizing the training of recurrent layers and providing a measurable performance boost.

Experimental Results

The model was evaluated on the Microsoft Video Description (MSVD) dataset, consisting of 1,970 YouTube clips. GMNet demonstrated superior performance across standard metrics, particularly in CIDEr.

  • Baseline (SA): 80.1 CIDEr
  • Baseline + Layer Norm (SA_LN): 81.7 CIDEr
  • GMNet (SA_LN + Guidance): 83.1 CIDEr

Qualitative analysis further supports these findings. For instance, while baseline models might vaguely describe a scene (e.g., "a man is playing with water"), GMNet provides more specific and accurate descriptions (e.g., "a man is playing the trumpet") by better integrating visual and linguistic context.

Conclusion

GMNet introduces an effective way to incorporate future context into video captioning training without increasing inference-time complexity. By combining a Guidance Module with Layer Normalization, the framework achieves significant improvements in caption quality. Future work includes evaluating the module on larger datasets like MSR-VTT and comparing it against modern Transformer-based architectures.

Summary updated

BibTeX
@misc{zhang2020guidance,
  author = {Xiao Zhang and Chunsheng Liu and Faliang Chang},
  title = {{Guidance Module Network for Video Captioning}},
  year = {2020},
  eprint = {2012.10930},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.10930},
}
Figure