Towards Diverse Paragraph Captioning for Untrimmed Videos

Yuqing Song, Shizhe Chen, Qin Jin

Introduction

Most current video captioning systems are designed for "trimmed" clips—short segments containing a single action. However, real-world videos are typically "untrimmed," featuring multiple overlapping or sequential events. Traditional two-stage models first detect event boundaries and then generate sentences for each segment. This approach suffers from error propagation and requires expensive, frame-accurate manual annotations. This paper proposes a novel one-stage framework that generates coherent paragraphs directly from untrimmed videos without the need for explicit event detection.

Proposed Framework

The authors introduce an end-to-end model characterized by three core innovations designed to handle the redundancy and complexity of long-form video.

Keyframe-aware Video Encoder

Untrimmed videos contain significant redundancy. The model utilizes a "selecting layer" to identify the most informative clips. To ensure these keyframes are semantically relevant, a Visual-Semantic Joint Embedding space is used where selected frames must be capable of reconstructing the semantic meaning of the entire video sequence.

Dynamic Video Memory

The decoder maintains a memory buffer ($M_t$) that acts as a narrative controller through two primary operations:

  • Progressive Exposure (Add): As the model generates text, it gradually "unlocks" new video features to maintain temporal coherence.
  • Over-accessed Decay (Erase): Once a part of the video has been described, the model suppresses those features in its memory. This prevents the common issue of repetitive observations.
Overview of the proposed one-stage framework, highlighting the keyframe selection process and the detailed Add/Erase operations within the Video Memory module.

Diversity-driven Training

To avoid repetitive and generic AI language, the authors implemented token-level and sequence-level penalties. These penalize the model for overusing high-frequency words and phrases from the training set, forcing the generation of more specific and varied vocabulary.

Key Insights and Results

The model was evaluated on the ActivityNet Captions and Charades Captions benchmarks, demonstrating several key advantages:

  • Zero-Boundary Advantage: The model achieved state-of-the-art results (outperforming models like MART and AdvInf) without using any event boundary annotations during training or inference. By treating video as a continuous stream, the dynamic memory naturally manages transitions between events.
  • Qualitative Improvements: The model is less prone to "hallucinating" common phrases and correctly identifies subjects more accurately than baselines that rely on dataset frequency biases.
  • Efficiency: By selecting only 50% of video clips as keyframes, the model significantly reduces computation time with negligible loss in captioning quality.
Attention visualizations showing how the model shifts focus across video frames as it generates different parts of a paragraph, illustrating the effectiveness of the dynamic memory mechanism.

Conclusion and Future Work

This work demonstrates that explicit event boundaries are not a necessary bottleneck for video paragraph captioning. By mimicking human cognition through a dynamic "Add/Erase" memory mechanism, the model generates more diverse and coherent stories. Future research may explore adaptive history windows and hierarchical memory structures to handle even longer-form content like full-length movies.

Summary updated

BibTeX
@inproceedings{song2021towards,
  author = {Yuqing Song and Shizhe Chen and Qin Jin},
  title = {{Towards Diverse Paragraph Captioning for Untrimmed Videos}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.01109},
}
Figure