A Hybrid Graph Network for Complex Activity Detection in Video

Salman Khan, Izzeddin Teeti, Andrew Bradley, Mohamed Elhoseiny, Fabio Cuzzolin

Abstract

Detecting complex activities in video—long-duration events involving multiple interacting agents—remains a significant challenge for computer vision. Traditional temporal action localization (TAL) methods often struggle with the internal relational structure and extended duration of these activities. We present a hybrid graph neural network that combines local scene graphs, modeling agent-to-agent interactions, with a global temporal graph to capture long-term activity progression. Our approach achieves state-of-the-art performance on the ROAD dataset (73.0% mAP), Thumos-14 (59.8% mAP), and ActivityNet-1.3 (39.3% mAP), demonstrating the efficacy of agent-centric relational modeling for complex video understanding.

Introduction

Real-world video understanding, particularly in domains like autonomous driving, requires the ability to detect "complex activities." Unlike atomic actions (e.g., "running"), complex activities are defined by their duration and the intricate interactions between multiple agents. For example, a vehicle negotiating a pedestrian crossing involves a sequence of sub-events: deceleration, yielding to pedestrians, and subsequent acceleration.

A complex road scene snippet (S2) featuring pedestrians crossing, illustrating the multi-agent nature of complex activities.

Current AI systems typically treat video as a sequence of monolithic frames, which obscures the "who" and "how" of agent interactions. This paper addresses these limitations by proposing a framework that explicitly models agents and their relationships across both space and time.

Methodology

The proposed framework consists of three integrated stages designed to bridge the gap between local relational context and global temporal structure.

1. Tube Detection and Feature Extraction

The model first identifies and tracks individual agents (e.g., cars, pedestrians) to generate spatiotemporal "tubes." By focusing on these tubes, the system can extract 3D features that represent the specific movement and appearance of each actor, alongside global scene features.

The framework's initial stage: detecting agent tubes and extracting 3D features to build a relational representation of the scene.

2. Local Scene Graph Attention (SGAT)

For every video snippet, the model constructs a local scene graph where nodes represent individual agents or the overall scene. A Graph Attention Network (GAT) is employed to weigh the importance of different agents dynamically. This allows the model to focus on relevant actors—such as a pedestrian about to cross—while ignoring static or irrelevant background agents.

3. Global Temporal Graph

To model the activity's progression over time, the representations from local graphs are linked into a global temporal graph. A Graph Convolutional Network (GCN) processes this sequence to predict the activity class and its precise temporal boundaries (start and end times).

Experimental Evaluation

The model was benchmarked against three major datasets:

  • ROAD (Road event Awareness Dataset): Focused on long-duration (up to 2 minutes) complex road activities.
  • Thumos-14: A standard benchmark for action localization in untrimmed videos.
  • ActivityNet-1.3: A large-scale dataset featuring diverse human activities.

Results

The hybrid graph network outperformed existing state-of-the-art (SOTA) methods across all benchmarks. On the ROAD dataset, it achieved 73.0% mAP, significantly surpassing previous leaders like TallFormer (68.9%) and ActionFormer (69.0%). It also set new benchmarks for RGB-only models on Thumos-14 (59.8% mAP) and ActivityNet-1.3 (39.3% mAP).

Discussion and Future Work

A key finding of this work is that explicitly modeling agents as graph nodes provides a much richer signal than global video features alone. Ablation studies showed that removing agent-level information leads to a substantial drop in detection accuracy.

Future work will explore moving toward real-time incremental learning and incorporating Bayesian uncertainty modeling. These additions are critical for safety-critical applications like autonomous driving, where the system must not only detect activities but also quantify its confidence and predict future agent intent.

Summary updated

BibTeX
@inproceedings{khan2024hybrid,
  author = {Salman Khan and Izzeddin Teeti and Andrew Bradley and Mohamed Elhoseiny and Fabio Cuzzolin},
  title = {{A Hybrid Graph Network for Complex Activity Detection in Video}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  doi = {10.1109/wacv57701.2024.00662},
}
Figure