Target Adaptive Context Aggregation for Video Scene Graph Generation

Yao Teng, Limin Wang, Zhifeng Li, Gangshan Wu

Abstract

Video Scene Graph Generation (VidSGG) is critical for high-level video understanding, yet it faces challenges from tracking dependencies and computational inefficiencies. This paper presents TRACE (Target Adaptive Context Aggregation Network), a novel framework that adopts a "detect-to-track" paradigm. By utilizing a Hierarchical Relation Tree (HRTree) to prune relation candidates and a target-adaptive context aggregation module, TRACE achieves state-of-the-art performance on major benchmarks while maintaining memory efficiency.

Introduction

Video Scene Graph Generation (VidSGG) aims to convert raw video data into a structured representation where nodes represent objects and edges represent their dynamic interactions. This task is fundamental for applications like video retrieval, autonomous navigation, and human-computer interaction.

Examples of Video Scene Graph Generation (VidSGG) tasks.

Traditional VidSGG methods typically follow a "track-to-detect" paradigm, which relies on long-term object tracking before predicting relations. This approach suffers from two primary issues: the tracking bottleneck, where errors in tracking propagate to relation prediction, and computational complexity, as modeling all possible object pairs leads to $O(n^2)$ overhead. TRACE addresses these by shifting to a "detect-to-track" workflow, predicting relations at the frame level with short-term temporal context before associating them into video-level trajectories.

The TRACE Framework

The TRACE architecture is designed to decouple visual relation prediction from long-term tracking. The pipeline begins with a video clip and a center frame, extracting both spatial and temporal features to inform the scene graph generation process.

The complete architecture of the Target Adaptive Context Aggregation Network (TRACE).

Hierarchical Relation Tree (HRTree)

To mitigate the $O(n^2)$ complexity of exhaustive pair-wise modeling, TRACE introduces the HRTree. This module organizes object candidates into a bottom-up tree structure based on spatial proximity. The core insight is that objects closer to each other are more likely to interact. By only considering relations within this hierarchical structure, TRACE reduces the candidate space to $O(n)$, significantly lowering memory consumption and allowing for more sophisticated context modeling.

Target-Adaptive Context Aggregation

Context is crucial for disambiguating relations. TRACE employs two primary modules for context aggregation:

  1. Temporal Fusion Module: This module integrates static 2D CNN features from the center frame with motion-aware 3D CNN features from the surrounding video segment. It utilizes multi-head attention or temporal differences to capture the evolution of interactions (e.g., the transition from "standing" to "sitting").
  2. Spatial Propagation Module: Once the HRTree is constructed, a tree-structured Gated Recurrent Unit (tree-GRU) facilitates message passing between nodes. This allows each relation candidate to incorporate global and local spatial context from surrounding objects and other potential relations.

Finally, a multi-branch Classification Head combines visual features, fused spatio-temporal features, semantic word embeddings, and statistical priors to classify the relation. The frame-level results are then linked into video-level trajectories using a greedy temporal association strategy.

Results and Evaluation

TRACE was evaluated on two benchmark datasets: Action Genome (AG) and ImageNet-VidVRD.

  • Action Genome: TRACE established new state-of-the-art results across all evaluation modes. It achieved an average improvement of 1.5% in mAP<sub>rel</sub> and 1.2% in mean Recall. The efficiency of the HRTree was particularly evident here, enabling the model to handle dense scenes with lower memory overhead.
  • ImageNet-VidVRD: On this video-level benchmark, TRACE outperformed the previous best models by 2.8% mAP when using ground-truth trajectories, demonstrating the robustness of its frame-level relation detection even with a simple temporal association strategy.

Conclusion

TRACE represents a significant step forward in Video Scene Graph Generation by successfully decoupling relation prediction from the complexities of long-term tracking. The introduction of the HRTree provides a scalable solution to the computational challenges of VidSGG, while target-adaptive context aggregation ensures high-fidelity relation classification. Future work may involve refining the temporal association strategies and exploring more complex semantic heuristics for tree construction.

Summary updated

BibTeX
@inproceedings{teng2021target,
  author = {Yao Teng and Limin Wang and Zhifeng Li and Gangshan Wu},
  title = {{Target Adaptive Context Aggregation for Video Scene Graph Generation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.01343},
}
Figure