Video Captioning Using Weak Annotation

Jingyi Hou, Yunde Jia, Xinxiao Wu, Yayun QiarXiv 2020

Abstract

Video captioning has shown impressive progress in recent years. One key reason of the performance improvements made by existing methods lie in massive paired video-sentence data, but collecting such strong annotation, i.e., high-quality sentences, is time-consuming and laborious. It is the fact that there now exist an amazing number of videos with weak annotation that only contains semantic concepts such as actions and objects. In this paper, we investigate using weak annotation instead of strong annotation to train a video captioning model. To this end, we propose a progressive visual reasoning method that progressively generates fine sentences from weak annotations by inferring more semantic concepts and their dependency relationships for video captioning. To model concept relationships, we use dependency trees that are spanned by exploiting external knowledge from large sentence corpora. Through traversing the dependency trees, the sentences are generated to train the captioning model. Accordingly, we develop an iterative refinement algorithm that refines sentences via spanning dependency trees and fine-tunes the captioning model using the refined sentences in an alternative training manner. Experimental results demonstrate that our method using weak annotation is very competitive to the state-of-the-art methods using strong annotation.

Introduction

Deep learning has pushed video captioning to impressive heights, but it relies heavily on datasets with paired video-sentence annotations. Creating these datasets is a massive, labor-intensive bottleneck. Meanwhile, there is an abundance of weakly annotated video data available, such as action recognition datasets (e.g., a video simply labeled "jumping") or object classification datasets.

The challenge lies in training a fluent video captioning model using only these isolated semantic concepts. This requires solving two sub-problems: (1) how to infer the missing relationships between isolated concepts (e.g., connecting "man" and "run" into "a man is running"), and (2) how to generate valid training sentences from these inferred relationships to teach the model.

Methodology

The researchers propose an iterative, curriculum-learning-inspired approach that alternates between generating "pseudo-sentences" and fine-tuning the captioning model.

Overview of the progressive visual reasoning framework for video captioning using weak annotations.
  1. Concept Generation: The model uses object and action attention networks to identify semantic concepts in a video.
  2. Spanning Dependency Trees: To figure out how these concepts relate, the model builds a dependency tree. A key innovation is spatial consistency: to decide if a noun (object) and a verb (action) should form a subject-predicate root node, the model checks if their visual attention maps overlap in the video. If the "dog" region and the "pounce" region align, they are linked.
  3. Link Prediction via Knowledge Graphs: The model uses a Knowledge Graph (RotatE model) built from a large, external corpus of text to predict further links and expand the tree, effectively borrowing grammar and context from existing language data.
  4. Visual Reasoning & Captioning: A Graph Convolutional Network (GCN) processes the dependency tree, and an LSTM generates a pseudo-sentence.
  5. Iterative Refinement: These pseudo-sentences are used as ground truth to train the captioning model. In the next iteration, the improved model predicts better concepts, which build better trees, which generate better pseudo-sentences.

Experimental Setup

The model was evaluated on standard video captioning datasets, MSVD and MSR-VTT, where full sentences were stripped and replaced with randomly extracted single noun or verb phrases to simulate weak annotations. Additionally, the HMDB51 action recognition dataset was used to demonstrate the model's ability to leverage purely classification-based data. The MSCOCO image captioning dataset served as an external text corpus to test the impact of static vs. temporal language data.

Results and Discussion

Despite using only weak annotations, the model achieved a CIDEr score of 80.1 on MSVD and 45.3 on MSR-VTT, results that are remarkably competitive with recent strongly supervised models trained on full sentences. Adding HMDB51 to the training mix improved the MSVD CIDEr score from 77.2 to 80.1, proving the model can successfully harvest readily available classification datasets to improve complex captioning tasks.

Performance metrics (CIDEr) and pseudo-sentence counts across training iterations, highlighting the iterative refinement and eventual over-fitting.

Key insights include:

  • Grounding Grammar in Vision: Using spatial consistency to build the root of a sentence bridges computer vision and NLP by visually confirming grammatical relationships.
  • Bootstrapping Effectiveness: The iterative refinement process mimics human learning, starting with simple concepts and progressively generating more complex sentences.
  • Motion Matters: Using a video captioning corpus as the external knowledge base outperformed image captioning corpora (MSCOCO), highlighting that temporal motion descriptions are linguistically distinct from static scene descriptions.

Conclusion

The proposed progressive visual reasoning method demonstrates that weak annotations can be a viable alternative to expensive strong annotations for video captioning. However, an over-fitting problem was noted during the iterative refinement process. As shown in the performance trends, if the number of newly generated pseudo-sentences plateaus, the CIDEr score can decrease as the model begins to memorize a limited pool of sentences. Future work may focus on mitigating this over-fitting and scaling the approach to massive, noisy web-scale datasets to further close the gap with fully supervised models.

Summary updated

BibTeX
@misc{hou2020video,
  author = {Jingyi Hou and Yunde Jia and Xinxiao Wu and Yayun Qi},
  title = {{Video Captioning Using Weak Annotation}},
  year = {2020},
  eprint = {2009.01067},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.01067},
}
Figure