Cut-Based Graph Learning Networks to Discover Compositional Structure of Sequential Video Data

Kyoung-Woon On, Eun-Sol Kim, Yu-Jung Heo, Byoung-Tak Zhang

Executive Summary

Cut-Based Graph Learning Networks (CB-GLNs) move beyond the linear constraints of traditional recurrent models by representing video as a multilevel graph. By combining a parameterized kernel with a temporally constrained graph-cut algorithm, the model automatically discovers hierarchical semantic structures—such as shots and scenes—to achieve state-of-the-art performance in video classification and question answering.

Introduction

Traditional sequential models, such as Recurrent Neural Networks (RNNs) and LSTMs, typically rely on first-order Markovian dependencies, focusing on the relationship between consecutive frames. However, video data is inherently hierarchical and compositional: frames form shots, shots form scenes, and scenes form a narrative.

Capturing these long-range, variable-length "semantic flows" is difficult for standard models. While self-attention mechanisms (Transformers) can capture long-range dependencies, they often struggle to explicitly model the hierarchical structure of a video. The authors aim to bridge this gap by creating a model that can segment a video into meaningful units and learn their compositional relationships without explicit supervision.

Methodology: Hierarchical Graph Learning

The authors propose Cut-Based Graph Learning Networks (CB-GLNs), which consist of two alternating modules stacked to form a hierarchy. This design allows the network to build a multilevel graph where the first layer handles frame-to-shot relationships and subsequent layers handle higher-level structures like shot-to-scene relationships.

Overall architecture of CB-GLNs, showing (a) the hierarchical stacking of modules, (b) the Structure Learning Module, and (c) the Representation Learning Module.

1. Structure Learning Module

This module treats video frames as nodes in a graph. It calculates an initial adjacency matrix (edge weights) using a parameterized kernel, which is a small neural network. It then applies a Temporally Constrained Normalized Graph-Cut. Unlike standard graph cuts, this version adds a constraint that partitioned sub-graphs cannot overlap in time, effectively segmenting the video into contiguous semantic units (like shots).

2. Representation Learning Module

Once the graph structure is "cut" into segments, the model uses a Message Passing Neural Network (MPNN) framework to update frame features based on their neighbors within the discovered structure. A pooling operation is then applied to each segment to create a higher-level node (e.g., a "scene" node), which serves as the input for the next level of the hierarchy.

Experimental Evaluation

The model was evaluated on two large-scale benchmarks:

  • YouTube-8M: A massive dataset for video theme classification. The authors used pre-processed frame-level visual and audio features.
  • TVQA: A video question-answering dataset based on six popular TV shows (e.g., The Big Bang Theory, Friends). It requires models to understand both visual content and associated subtitles to answer multiple-choice questions.

Key Insights and Results

  • Structure as a Latent Variable: Instead of assuming a fixed sequence, the model treats the video's structure as something to be discovered. The "cut" operation acts as a learnable segmentation tool.
  • Temporal Constraints are Key: By forcing the graph-cut to respect the temporal order of the video, the authors reduced the computational complexity of the graph partitioning from $O(N^2)$ to linear time, making it feasible for long sequences.
  • Hierarchical Attention: In the TVQA task, the model shows that it can apply attention at different levels. It can identify a specific "scene" as important and then "zoom in" to find the most relevant "frame" within that scene.
  • End-to-End Trainability: Despite using a graph-cut algorithm (traditionally discrete), the process is formulated so that gradients can flow through surviving edges, allowing the entire system to be trained via backpropagation.

Performance Metrics

  • YouTube-8M: The CB-GLN (2 layers) achieved a Global Average Precision (GAP) of 0.8597, outperforming strong baselines like Self-Attention (0.8553), NeXtVLAD (0.8499), and BiLSTMs (0.8410).
  • Ablation Studies: Researchers found that layer normalization and residual connections were critical for the representation learning module to function effectively.
  • Qualitative Success: Visualization of the learned adjacency matrices showed that the model successfully identified shot boundaries and grouped related shots into scenes.

Conclusion and Future Work

CB-GLNs represent a significant step toward modeling the natural hierarchy of video data. While the temporal constraint makes the graph-cut linear, managing multilevel graphs and message passing remains more computationally intensive than simple pooling or 1D convolutions. Future work could explore end-to-end training from raw pixels and fully self-supervised structural discovery, reducing the dependence on pre-trained features and labeled downstream task data.

Summary updated

BibTeX
@inproceedings{on2020cut,
  author = {Kyoung-Woon On and Eun-Sol Kim and Yu-Jung Heo and Byoung-Tak Zhang},
  title = {{Cut-Based Graph Learning Networks to Discover Compositional Structure of Sequential Video Data}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i04.5978},
}
Figure