Video Paragraph Captioning Using Hierarchical Recurrent Neural Networks

Haonan Yu, Jiang Wang, Zhiheng Huang, Yi Yang, Wei Xu

Abstract

Traditional video captioning models often produce single, isolated sentences that fail to capture the narrative complexity of longer videos. This paper presents a hierarchical Recurrent Neural Network (h-RNN) framework designed to generate coherent multi-sentence paragraphs. By employing a two-tier architecture—a sentence generator nested within a paragraph generator—the model effectively captures temporal dependencies and maintains context across long-form video sequences. Evaluation on YouTubeClips and TACoS-MultiLevel datasets demonstrates that the h-RNN significantly outperforms existing state-of-the-art methods in both single-sentence and paragraph generation tasks.

Introduction

Standard video captioning approaches typically generate a single sentence to describe a video clip. While effective for short, five-second snippets, this "one-hit wonder" approach is insufficient for longer, more complex videos where a single sentence is often uninformative. The primary challenge in moving from single sentences to full paragraphs is managing temporal dependency—ensuring that each sentence in a sequence is contextually aware of the preceding narrative. Previous attempts were often rule-based and struggled to maintain a consistent flow over time.

Hierarchical RNN Architecture

To address the limitations of flat models, the authors propose a Hierarchical Recurrent Neural Network (h-RNN). This architecture consists of two nested components that mimic the human process of storytelling: having a high-level plot in mind that dictates low-level word choices.

1. Sentence Generator (Low-Level)

The sentence generator is responsible for producing individual words. It utilizes a Gated Recurrent Unit (GRU) combined with a multimodal layer to integrate visual and linguistic features. A key innovation is the use of both temporal and spatial attention. Spatial attention allows the model to focus on specific overlapping image patches, which is crucial for identifying small objects and fine-grained interactions, such as a hand holding a knife or pouring liquid into a pot.

Figure 1: A sequence of frames showing a fine-grained action (pouring oil) captured by the model.

2. Paragraph Generator (High-Level)

Acting as a "manager," the paragraph generator tracks the overall narrative. After the sentence generator completes a sentence, it produces a "sentential embedding"—a mathematical summary of that sentence. The paragraph generator takes this embedding, along with the history of previous sentences, to update the "paragraph state." This state then initializes the sentence generator for the subsequent sentence, ensuring a coherent flow and preventing repetitive descriptions.

Experimental Evaluation

The h-RNN was tested on two benchmarks: YouTubeClips (short, open-domain clips) and TACoS-MultiLevel (long cooking videos with chronological narratives).

Key Results

The model achieved state-of-the-art performance on both datasets:

  • YouTubeClips: Reached a BLEU@4 score of 0.499, a 10% improvement over previous benchmarks.
  • TACoS-MultiLevel: Achieved a BLEU@4 score of 0.305, surpassing the previous state-of-the-art.
  • Human Evaluation: Users on Amazon Mechanical Turk significantly preferred h-RNN descriptions for their logical flow and narrative consistency compared to non-hierarchical baselines.
Figure 2: Qualitative results showing the model's ability to describe diverse activities in both short clips and longer sequences.

Discussion and Limitations

While the h-RNN marks a significant step forward, challenges remain. The model occasionally confuses similar-looking small objects (e.g., a mango vs. an orange). Furthermore, the current unidirectional flow means the model cannot "plan ahead" for the end of a paragraph while generating the beginning. Future work may explore bidirectional RNNs and techniques like Scheduled Sampling to mitigate error accumulation during inference, where one early mistake can negatively impact the entire paragraph.

Summary updated

BibTeX
@inproceedings{yu2016video,
  author = {Haonan Yu and Jiang Wang and Zhiheng Huang and Yi Yang and Wei Xu},
  title = {{Video Paragraph Captioning Using Hierarchical Recurrent Neural Networks}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  doi = {10.1109/cvpr.2016.496},
}
Figure