Consensus-based Sequence Training for Video Captioning

Sang Phan, Gustav Eje Henter, Yusuke Miyao, Shin'ichi SatoharXiv 2017

Abstract

Video captioning models traditionally rely on Cross-Entropy (XE) loss, which suffers from objective mismatch and exposure bias. While Reinforcement Learning (RL) can address these issues by optimizing for evaluation metrics like CIDEr, it is often computationally expensive and unstable. We present Consensus-based Sequence Training (CST), a two-stage approach that utilizes the consensus of human annotations to weight training and provide a stable baseline for RL. CST achieves a state-of-the-art CIDEr score of 54.2 on the MSRVTT benchmark while training significantly faster than standard self-critical methods.

Introduction

Generating natural language descriptions for video sequences requires models to bridge the gap between visual features and linguistic structures. Current state-of-the-art models face two primary challenges:

  1. Objective Mismatch: Training typically minimizes XE loss (predicting the next word), whereas evaluation uses metrics like CIDEr that measure consensus among multiple human references. XE training treats all human references as equally valid, even if they are outliers.
  2. Exposure Bias: Models trained with "teacher forcing" (using ground-truth previous words) struggle at inference time when they must rely on their own previously generated, potentially erroneous, tokens.
Example of varying CIDEr scores for different human-generated captions for the same video, illustrating the consensus concept.

Methodology

The CST framework introduces a two-stage training pipeline designed to align the training objective with human consensus while maintaining computational efficiency.

Stage 1: Weighted Cross-Entropy (WXE)

The authors demonstrate that RL training on ground-truth sentences is mathematically equivalent to a weighted version of standard XE loss. In this stage, the model is "warm-started" by weighting the loss of each training caption by its pre-computed CIDEr score. This ensures the model prioritizes captions that reflect the consensus of the annotator group, addressing the objective mismatch before moving to more complex RL stages.

Stage 2: Self-Consensus Baseline (SCB)

To mitigate exposure bias, the model transitions to full Reinforcement Learning using the REINFORCE algorithm. A common bottleneck in RL for captioning is the need for a "baseline" reward to reduce gradient variance, typically requiring the generation of a "greedy" caption for every video in a batch. CST replaces this with the Self-Consensus Baseline (SCB)—the average CIDEr score of existing human captions for that video. Because these scores are pre-computed, this stage operates approximately twice as fast as standard self-critical sequence training (SCST).

Overview of the CST training architecture and loss calculation, showing the flow from video features to sampled sequences and reward computation.

Experimental Results

The researchers evaluated CST on the MSRVTT dataset, which consists of 10,000 video clips with 20 human captions each. The model utilized multimodal features including ResNet (spatial), C3D (motion), and MFCC (audio).

  • Performance: CST reached a CIDEr score of 54.2, a significant improvement over the previous state-of-the-art of 51.7.
  • Efficiency: The SCB method reduced training time per batch from 10.3s (standard SCST) to 5.2s, representing a 2x speedup.
  • Qualitative Improvements: Analysis indicates that CST-trained models are less likely to be influenced by outlier captions, resulting in more stable and relevant descriptions compared to XE-only models.

Discussion and Future Work

While CST provides a robust and efficient framework for video captioning, some limitations remain. Truncated captions (missing the <EOS> token) occasionally occur, suggesting a need for further architectural refinements in sequence termination. Additionally, while the human-consensus baseline is efficient, it may introduce a slight gradient bias compared to model-based sampling. Future research could investigate the applicability of consensus-based weighting in other domains, such as image captioning or abstractive text summarization.

Summary updated

BibTeX
@misc{phan2017consensus,
  author = {Sang Phan and Gustav Eje Henter and Yusuke Miyao and Shin'ichi Satoh},
  title = {{Consensus-based Sequence Training for Video Captioning}},
  year = {2017},
  eprint = {1712.09532},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.09532},
}
Figure