BERT Representations for Video Question Answering

Zekun Yang, Noa Garcia, Chenhui Chu, Mayu Otani, Yuta Nakashima, Haruo Takemura

Abstract

Video Question Answering (Video-QA) requires models to reason over complex temporal visual data and linguistic context simultaneously. This paper demonstrates that BERT, originally designed for natural language processing, can be adapted to achieve state-of-the-art results in Video-QA. By treating visual elements as a "language" of object and attribute labels, the authors leverage BERT's bidirectional transformer architecture to outperform traditional LSTM-based approaches on major benchmarks like TVQA and Pororo.

Introduction: The Challenge of Video-QA

Video-QA is significantly more challenging than standard Image-QA. Answering a question about a video clip necessitates understanding both temporal visual cues (actions, objects, and their changes over time) and linguistic context (subtitles or dialogue).

Overview of the Video-QA task using BERT, integrating visual concepts and subtitles.

Historically, Recurrent Neural Networks (RNNs), specifically LSTMs, were the standard for handling these sequences. However, LSTMs suffer from the "long-range dependency" problem, often losing information from the start of a long subtitle track by the time they reach the end. The authors propose using BERT's transformer architecture, which uses self-attention to maintain relationships across long sequences, to "read" both dialogue and visual content.

Methods: Dual-Flow BERT Architecture

The core innovation is a dual-flow BERT architecture that translates video frames into a textual format BERT can process.

The dual-flow BERT architecture for processing visual and linguistic information.
  1. Visual Flow: Instead of raw pixel data, the model uses a Faster R-CNN (pre-trained on Visual Genome) to detect objects and attributes (e.g., "grey pants," "woman," "blonde hair"). These are aggregated into a sequence of "visual concepts."
  2. Language Flow: This flow processes the subtitles or dialogue associated with the video clip.
  3. BERT Integration: For both flows, input is structured as: [CLS] + Context (Concepts or Subtitles) + Question + [SEP] + Candidate Answer.
  4. Prediction: Two independent BERT networks process these flows. The final prediction is a combination of scores from both, utilizing the [CLS] token's representation to select the correct multiple-choice answer.

By converting visual data into semantic labels, the authors transform a multi-modal problem into a pure NLP task, allowing them to leverage the pre-trained power of BERT.

Datasets and Evaluation

The model was evaluated on two primary benchmarks:

  • TVQA: A large-scale dataset featuring over 150,000 QA pairs from six popular TV shows. It includes timestamps linking questions to specific video segments.
  • Pororo: A dataset based on a children’s cartoon series with roughly 8,800 QA pairs, providing both subtitles and scene descriptions.

Key Insights

  • Visuals as Language: Detected object labels (visual concepts) often provide more effective features for QA than raw CNN vectors. This allows the model to reason using high-level semantics (e.g., "Who is holding the phone?").
  • Bidirectionality: BERT’s bidirectional attention allows every word in a long subtitle or concept list to "see" every other word, which is crucial for identifying small details mentioned early in a clip.
  • Representation over Complexity: The model achieves superior performance without complex temporal modeling or specialized multi-modal fusion layers, suggesting that the quality of the representation (BERT vs. LSTM) is the primary driver of success.

Results

The BERT-based approach demonstrated dominant performance:

  • TVQA: Achieved 73.57% accuracy, surpassing the previous state-of-the-art (STAGE) at 70.23% and the LSTM baseline at 68.48%.
  • Pororo: Reached 55.41% accuracy, significantly outperforming the TVQA baseline (33.90%) and the MDAM model (48.90%).
  • Ablation Studies: Removing subtitles led to a drop from ~73% to ~49% on TVQA, indicating that dialogue is the primary information source, while visual concepts provide a critical ~2-3% performance boost.

Limitations and Future Work

Despite its success, the model faces a 512-token limit inherent to BERT. While sufficient for short clips, full-length subtitles for longer scenes require pruning (e.g., via TF-IDF), which can reduce accuracy. Additionally, the current "late fusion" approach—summing scores at the end—could be improved with "guided attention" mechanisms to allow deeper interaction between visual and linguistic flows during processing. Finally, the computational cost of training two BERT flows remains high compared to simpler LSTM models.

Summary updated

BibTeX
@inproceedings{yang2020bert,
  author = {Zekun Yang and Noa Garcia and Chenhui Chu and Mayu Otani and Yuta Nakashima and Haruo Takemura},
  title = {{BERT Representations for Video Question Answering}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2020},
  doi = {10.1109/wacv45572.2020.9093596},
}
Figure