Location-Aware Graph Convolutional Networks for Video Question Answering

Deng Huang, Peihao Chen, Runhao Zeng, Qing Du, Mingkui Tan, Chuang Gan

Abstract

Video Question Answering (Video QA) demands a deep understanding of object interactions across time. Traditional spatio-temporal attention mechanisms often fail to isolate relevant foreground actions or model long-range temporal dependencies. This paper proposes the Location-Aware Graph Convolutional Network (L-GCN), which treats video as a dynamic graph where objects are nodes. By integrating spatial and temporal location encoding directly into the graph features, L-GCN enables robust reasoning about action sequences. Evaluated on TGIF-QA, Youtube2Text-QA, and MSVD-QA, L-GCN sets new state-of-the-art benchmarks, particularly in tasks requiring transition reasoning and actor tracking.

Introduction: The Challenge of Video Reasoning

Video Question Answering (Video QA) is significantly more complex than its image-based counterpart. While an image provides a static snapshot, a video consists of thousands of frames, many containing irrelevant background information. A key challenge is distinguishing foreground actions and understanding their chronological order. For instance, a model must determine not just what actions occurred, but their sequence (e.g., "What did the man do before he picked up the bucket?").

Figure 1: An example of temporal reasoning where the model must identify actions occurring before a specific event.

Previous methods relied on spatio-temporal attention to focus on specific regions and frames. However, these methods often struggle with background clutter and lack a mechanism to explicitly model how objects interact over time. The authors argue that the missing link for robust video reasoning is the explicit modeling of object locations and their relationships.

The Location-Aware Graph Convolutional Network (L-GCN)

The proposed L-GCN framework treats video content as a dynamic graph of interacting objects rather than a simple sequence of frames.

Figure 2: The L-GCN architecture, featuring a Video Encoder with location-aware graph nodes and a Question-Video Interaction module.

Core Components

  1. Object-Centric Representation: The model identifies key objects using a Mask R-CNN detector. These objects serve as nodes in a fully connected graph, allowing the model to filter out noisy backgrounds.
  2. Location Encoding: This is the central innovation. Each node's feature vector concatenates three elements:
  3. Appearance: Visual features extracted via RoIAlign.
  4. Spatial Location: Bounding box coordinates (top-left, width, height).
  5. Temporal Location: Frame indices encoded via sine and cosine functions, similar to Transformer positional encodings.
  6. Graph Convolutional Networks (GCNs): Message passing across the fully connected graph allows the model to infer actions based on object movements and interactions across the entire video duration.
  7. Question-Video Interaction: A Bi-LSTM encodes the question, which is then compared against the graph-processed visual features using cross-modal attention to predict the final answer.

Experimental Results

L-GCN was evaluated on three major benchmarks: TGIF-QA, Youtube2Text-QA, and MSVD-QA.

Performance Highlights

  • TGIF-QA: L-GCN outperformed previous state-of-the-art models across all tasks, notably reaching 74.3% accuracy in Action recognition and 81.1% in Transition reasoning.
  • Youtube2Text-QA: The model showed a dramatic improvement in the "Who" category for open-ended questions, rising from 29.4% to 53.2%, indicating superior actor tracking capabilities.
  • MSVD-QA: The model achieved a top accuracy of 34.3%, surpassing existing benchmarks like AMU and HME.

Key Insights

  • Objects as Filters: Building graphs on detected objects naturally focuses the model on relevant entities, ignoring background noise.
  • Direct Interaction: Unlike LSTMs, which process sequences, GCNs allow direct interaction between objects regardless of their temporal distance, which is vital for long-term dependencies.
  • Location as a Critical Feature: Ablation studies confirmed that visual appearance alone is insufficient. Adding spatial and temporal coordinates provided significant gains, especially in transition and counting tasks.

Limitations and Future Directions

The model's performance is currently constrained by the fixed number of objects detected per frame ($K=5$), which may overlook smaller objects in crowded scenes. Additionally, it remains dependent on the quality of the external object detector. Future research may explore sparse graph structures or end-to-end frameworks that integrate detection and reasoning into a single trainable pipeline.

Summary updated

BibTeX
@inproceedings{huang2020location,
  author = {Deng Huang and Peihao Chen and Runhao Zeng and Qing Du and Mingkui Tan and Chuang Gan},
  title = {{Location-Aware Graph Convolutional Networks for Video Question Answering}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i07.6737},
}
Figure