Video as Conditional Graph Hierarchy for Multi-Granular Question Answering

Junbin Xiao, Angela Yao, Zhiyuan Liu, Yicong Li, Wei Ji, Tat-Seng Chua

Introduction

Video Question Answering (VideoQA) presents a unique challenge in computer vision, requiring models to synthesize complex temporal dynamics with fine-grained spatial relationships. Traditional approaches often treat video as a flat sequence of frames and questions as simple text strings. However, this ignores the inherent structure of both media. A "camping" event is a hierarchy of activities (e.g., cooking), atomic actions (e.g., squeezing), and specific entities (e.g., a lemon). Correspondingly, questions range from low-level object attributes to high-level causal reasoning.

The hierarchical nature of video and multi-granular questions in VideoQA.

To bridge this gap, researchers have introduced HQGA (Hierarchical Query-conditioned Graph Attention), a framework that models video as a multi-level graph hierarchy. By conditioning this hierarchy on the input question, the model can extract visual evidence at the precise level of granularity required for an accurate answer.

Methodology: The HQGA Framework

The core of HQGA is a three-tiered graph architecture designed to capture information at different semantic scales:

  1. Object Level ($G_O$): Models static spatial interactions between detected objects within individual frames.
  2. Clip Level ($G_F$): Aggregates frame-level data to capture short-term temporal dynamics and interactions over brief windows.
  3. Video Level ($G_C$): Reasons over the entire video sequence to understand global events and long-term dependencies.

Query-conditioned Graph Attention (QGA)

The primary innovation within each level is the Query-conditioned Graph Attention (QGA) unit. Unlike standard graph neural networks, the QGA unit uses the input question to dynamically weight visual nodes. For instance, if a question mentions a "lemon," the corresponding nodes in the graph are highlighted before reasoning begins. This ensures that the model focuses on relevant entities and actions while filtering out noise.

The HQGA architecture featuring stacked graph levels ($G_O, G_F, G_C$) conditioned on the input question.

The process involves query conditioning via word-level attention, graph attention to refine node representations based on their neighbors, and self-attention pooling to aggregate the graph into a higher-level descriptor for the next stage of the hierarchy.

Experimental Results

HQGA was evaluated on four major VideoQA benchmarks: TGIF-QA, MSRVTT-QA, MSVD-QA, and NExT-QA. The model achieved state-of-the-art (SOTA) performance across the board:

  • NExT-QA: On this challenging dataset focused on causal and temporal reasoning, HQGA achieved 51.75% accuracy, outperforming previous hierarchical models like HCRN.
  • TGIF-QA: The model showed significant improvements in "Action" and "Transition" tasks, validating its ability to handle complex temporal transitions.
  • Interpretability: A key advantage of the attention-based QGA unit is its transparency. By visualizing attention weights, researchers can pinpoint exactly which frames and objects the model prioritized to reach its conclusion.

Conclusion and Future Directions

HQGA demonstrates that aligning the granularity of video representation with the granularity of the question is essential for robust VideoQA. While the model excels at multi-object interactions, future work aims to incorporate explicit region-level motion features to better capture the trajectory and physics of moving objects. Additionally, scaling graph-based reasoning to extremely crowded scenes remains an open research challenge.

Summary updated

BibTeX
@inproceedings{xiao2022video,
  author = {Junbin Xiao and Angela Yao and Zhiyuan Liu and Yicong Li and Wei Ji and Tat-Seng Chua},
  title = {{Video as Conditional Graph Hierarchy for Multi-Granular Question Answering}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i3.20184},
}
Figure