Self-supervised pre-training and contrastive representation learning for multiple-choice video QA

Seonhoon Kim, Seohyeong Jeong, Eunbyul Kim, Inho Kang, Nojun Kwak

Introduction

Video Question Answering (Video QA) is a complex multimodal task that requires models to digest long video sequences, synchronized subtitles, and natural language questions to select the correct answer from multiple choices. A major bottleneck in current research is the focus on architectural complexity rather than the training procedure itself. Standard training often fails to capture the fine-grained relationships between specific video moments and the nuances of the language used in QA pairs. This paper introduces a two-stage training framework that significantly boosts performance without requiring extra annotations.

Methodology

The authors propose three main innovations integrated into a ResNet and BERT-based architecture to improve video-language alignment and reasoning.

The proposed model architecture featuring (a) video question answering, (b) temporal localization, and (c) contrastive learning components.
  1. Self-supervised Pre-training (Question Prediction): Before the main task, the model is trained to identify the correct question from a set of candidates given the video context and subtitles. This "flipped" task forces the model to learn a broader contextual representation of the video-language relationship.
  2. Supervised Contrastive Learning: During the main training phase, an auxiliary contrastive loss is introduced. By using a "masked" version of the ground-truth answer as an anchor, the model is trained to pull the representation of the original ground-truth answer closer while pushing incorrect "distractor" answers further away in the embedding space.
  3. Locally Aligned Attention: Rather than using global attention, the model employs a mechanism to focus only on the specific video frames that correspond to the timestamp of a given subtitle sentence, preventing interference from irrelevant visual information.

Datasets and Evaluation

The model was evaluated on three highly competitive multiple-choice Video QA benchmarks:

  • TVQA: A massive dataset based on 6 popular TV shows, containing over 150k QA pairs.
  • TVQA+: A subset of TVQA that includes additional spatial annotations; notably, the authors achieved state-of-the-art (SOTA) results here without using extra visual labels.
  • DramaQA: Based on the Korean drama Another Miss Oh, featuring character-centered annotations and multiple difficulty levels.

Results and Discussion

The proposed model achieved SOTA performance across the board. On TVQA, it reached 76.15% accuracy, outperforming previous leaders by significant margins. On TVQA+, the model achieved 76.21% accuracy and a nearly 9% jump in the "Answer-Span joint Accuracy" (ASA) metric, which requires predicting both the right answer and the correct video segment.

Qualitative examples from the TVQA and TVQA+ datasets showing ground truth vs. model predictions for answer selection and temporal span localization.

Key insights from these results include the effectiveness of "predicting the question" as a proxy task for developing a "common sense" understanding of scene relevance. Additionally, the use of masking as noise for contrastive learning proved robust, and restricting the visual search space through Local Alignment was more effective for fine-grained reasoning than global attention.

Conclusion

This research demonstrates that significant gains in Video QA can be achieved by optimizing the training procedure and temporal alignment. While the framework works exceptionally well for multiple-choice tasks, future work should explore how these contrastive and self-supervised strategies might apply to open-ended Video QA or video captioning tasks.

Summary updated

BibTeX
@inproceedings{kim2021self,
  author = {Seonhoon Kim and Seohyeong Jeong and Eunbyul Kim and Inho Kang and Nojun Kwak},
  title = {{Self-supervised pre-training and contrastive representation learning for multiple-choice video QA}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i14.17556},
}
Figure