Semantic-Aware Pretraining for Dense Video Captioning

Teng Wang, Zhu Liu, Feng Zheng, Zhichao Lu, Ran Cheng, Ping LuoarXiv 2022 · DOI

Abstract

Dense video captioning involves identifying multiple events in untrimmed videos and generating descriptive sentences for each. Traditional methods often rely on video encoders pretrained for coarse action classification, which creates a "semantic gap" when describing fine-grained details. This paper introduces Semantic-Aware Pretraining (SAP), a multi-task learning approach that trains video encoders to recognize actions, temporal regions, and fine-grained semantic concepts derived directly from captions. The proposed SA-TSP features achieve state-of-the-art performance, reaching a 10.00 METEOR score in the ActivityNet Challenge 2021.

Introduction

Dense video captioning is a challenging task requiring both temporal localization and high-quality natural language generation. Most existing video encoders are pretrained on action classification tasks (e.g., "running" or "shaving"). However, action labels are often too coarse for captioning. To generate accurate descriptions, a model must identify specific objects, attributes, and counts—details often missing from simple action labels. This research addresses this "semantic gap" by leveraging the rich information contained within the captions themselves during the pretraining phase.

Methodology

The core of this approach is Semantic-Aware Pretraining (SAP). Instead of a single classification task, the authors employ a multi-task learning objective to train the video encoder using an R(2+1)D-34 architecture, which treats spatial and temporal dimensions separately for better efficiency.

Overview of the Semantic-Aware Pretraining (SAP) framework.

The framework consists of three primary tasks:

  1. Action Classification: Predicting the general foreground action category.
  2. Temporal Region Classification: Determining if a clip is part of the foreground (an event) or the background to improve localization.
  3. Semantic Concept Classification (SCC): The model predicts a vocabulary of 1,000 "semantic concepts" (nouns, verbs, adjectives, and adverbs) extracted from ground-truth captions. This forces the encoder to "look" for the specific entities it will eventually describe.

To handle the label imbalance inherent in multi-label concept classification, the authors utilized Asymmetric Loss. The final system integrates these semantic features with other modalities like audio (VGGish) and optical flow (I3D).

Experiments and Results

The researchers evaluated their method on the ActivityNet Captions dataset, using IG65m and Kinetics for initial pretraining. The proposed SA-TSP (Semantic-Aware Temporally-Sensitive Pretraining) features were compared against several standard video feature baselines.

Performance comparison of SA-TSP against baseline video features.

As shown in the results, SA-TSP consistently outperforms other single-feature baselines across METEOR, BLEU4, and CIDEr metrics. Specifically, SA-TSP achieved a METEOR score of 11.70, compared to 11.56 for the standard TSP and 10.87 for ResNet152.

Further performance gains were achieved through additional optimization techniques:

  • Self-Critical Sequence Training (SCST): Optimizing the model directly for captioning metrics.
  • Model Ensembling: Combining five different models and selecting captions based on semantic concept richness and word rarity (Inverse Document Frequency).

Through these refinements, the validation METEOR score improved from 11.70 to 16.19, ultimately securing a 10.00 METEOR score on the official ActivityNet Challenge test set.

Conclusion

Semantic-Aware Pretraining effectively bridges the gap between visual recognition and natural language description. By treating words within captions as multi-label classification targets, the video encoder learns to identify the specific entities and attributes necessary for dense captioning. While the current approach is limited by a fixed vocabulary of 1,000 concepts and high computational requirements for ensembling, it demonstrates the power of semantic awareness in visual feature learning for complex video understanding tasks.

Summary updated

BibTeX
@misc{wang2022semantic,
  author = {Teng Wang and Zhu Liu and Feng Zheng and Zhichao Lu and Ran Cheng and Ping Luo},
  title = {{Semantic-Aware Pretraining for Dense Video Captioning}},
  year = {2022},
  eprint = {2204.07449},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.07449},
}
Figure