Compositional Structure Learning for Sequential Video Data

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

Introduction

Video data is inherently hierarchical. A continuous stream of frames is organized into shots, which are grouped into scenes, eventually forming a cohesive narrative. Traditional sequence models, such as Recurrent Neural Networks (RNNs), Long Short-Term Memory (LSTM) networks, and Gated Recurrent Units (GRUs), typically process video as a linear chain. These models focus on incremental transitions between consecutive frames, often struggling to capture the nested, compositional semantic structures or long-term dependencies required for deep video understanding.

To address these limitations, this paper introduces Temporal Dependency Networks (TDNs). TDNs move beyond simple chain-like dependencies by modeling video as a multi-level graph, allowing for the automatic discovery and representation of complex semantic units in an end-to-end learning framework.

Methodology: Temporal Dependency Networks

The TDN architecture is built upon the hierarchical stacking of two primary components: the Structure Learning Module and the Representation Learning Module.

Structure Learning Module

The goal of this module is to partition the video into meaningful semantic units. It performs two key operations:

  1. Dependency Estimation: It computes the affinity between all frames using a parameterized kernel, creating an initial graph structure.
  2. Temporally Constrained Normalized Graph-Cut: To maintain computational efficiency and physical realism, the model applies a temporal constraint to the standard graph-cut algorithm. This ensures that segments (sub-graphs) are contiguous in time and do not overlap, reducing the complexity from quadratic to linear ($O(n)$).

Representation Learning Module

Once the structure is defined, this module updates the feature representations of the frames. It utilizes Graph Convolutional Networks (GCNs) to aggregate information from neighboring frames within the discovered sub-graphs. Residual connections and layer normalization are integrated to ensure stable training and effective gradient flow.

The TDN architecture overview (a) alongside detailed views of the Sequential Learning (b) and Representation Learning (c) modules.

By stacking these modules, the network progressively aggregates short-term semantic units into broader scenes, culminating in a high-level video representation suitable for classification tasks.

Experimental Evaluation

The authors evaluated TDNs on the YouTube-8M dataset, which contains over 6 million video clips. The model utilized pre-extracted visual (Inception-v3) and acoustic (VGG-inspired) features. The primary task was multi-label classification, where the model assigns various semantic tags to each video.

Key Results and Qualitative Analysis

Quantitative results, measured by Global Average Precision (GAP), demonstrate that TDNs effectively learn complex semantic structures. A qualitative breakdown of a "Rice Pudding" cooking video illustrates the model's ability to discover hierarchy:

  • Layer 1: The model successfully clustered frames into 12 distinct semantic units, corresponding to specific actions like showing ingredients or boiling water.
  • Layer 2: These units were further grouped into broader sequences, such as the core cooking process versus the final presentation.

Visualizations of the learned adjacency matrices reveal distinct block-diagonal patterns, confirming that the model identifies contiguous, highly-correlated temporal segments without explicit supervision.

Qualitative results showing (a) learned adjacency matrices, (b) hierarchical video segments, and (c) the resulting tree structure for a cooking video.

Discussion and Future Work

TDNs offer several advantages over traditional sequence models. By treating video as a graph, the model can link distant frames directly, mitigating the vanishing gradient problems common in RNNs. Furthermore, the temporal constraint makes graph partitioning computationally feasible for long sequences.

Future work may explore dynamic methods for determining the number of sub-graphs per video, rather than relying on fixed formulas. Additionally, integrating end-to-end feature extraction from raw pixels could further enhance the model's ability to capture nuanced temporal cues.

Summary updated

BibTeX
@misc{on2019compositional,
  author = {Kyoung-Woon On and Eun-Sol Kim and Yu-Jung Heo and Byoung-Tak Zhang},
  title = {{Compositional Structure Learning for Sequential Video Data}},
  year = {2019},
  eprint = {1907.01709},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.01709},
}
Figure