Spatio-temporal action detection and localization using a hierarchical LSTM

Akshaya Ramaswamy, Karthik Seemakurthy, Jayavardhana Gubbi, Balamuralidhar PurushothamanWorkshops @ CVPR 2020

Introduction

Spatio-temporal Action Detection and Localization (STADL) is a complex computer vision task that extends beyond simple video classification. It requires identifying not only the action occurring but also the specific actors involved, their spatial coordinates via bounding boxes, and the temporal boundaries of the action. The primary challenge lies in effectively representing spatio-temporal dynamics that span multiple scales—from fine-grained "micro-scale" movements like a handshake to broader "macro-scale" contexts like the overall scene.

Inspired by the human visual system's ability to process stimuli at microscopic, mesoscopic, and macroscopic scales, this paper introduces the Hierarchical Spatio-Temporal LSTM (HST-LSTM). This architecture effectively captures multi-scale information to improve both detection accuracy and localization precision across challenging video datasets.

Methodology

The HST-LSTM framework integrates 3D feature extraction with a multi-layered temporal architecture designed to bridge the gap between local motion and long-range dependencies.

Feature Extraction and Region Proposals

The pipeline begins with dual-stream feature extraction. I3D (Inception 3D) extracts micro-level spatio-temporal features from short video segments (approximately 1/3rd of a second). Concurrently, a ResNet-50 backbone paired with a Region Proposal Network (RPN) identifies potential actors in keyframes. These components provide the foundational spatial and temporal data for the subsequent hierarchical processing.

Overview of the STADL pipeline integrating I3D features, region proposals, and hierarchical LSTMs.

Hierarchical LSTM Architecture

The temporal modeling is handled by a two-layer hierarchy:

  • Layer 1 (Micro-scale): Processes high-resolution I3D features to capture immediate, fine-grained motion dynamics.
  • Layer 2 (Macro-scale): Aggregates information from the first layer to model longer-term dependencies and broader context.

A critical component of this hierarchy is the Attention-Based Pooling module ($gc$ and $gh$). Instead of standard stacking, this module uses visual attention to filter the cell and hidden states from the lower layer. This ensures that only the most relevant features are promoted to the higher layer, effectively acting as a discriminative bottleneck that reduces redundancy.

Modified ConvLSTM

The architecture utilizes a modified Convolutional LSTM (ConvLSTM) as its base unit. Unlike standard LSTMs that use fully connected layers, ConvLSTMs use convolution operations within their gates, allowing the model to preserve the spatial structure of the video frames throughout the temporal sequence.

Experiments and Results

The model was evaluated on two major benchmarks: AVA (Atomic Visual Actions) and UCF101D.

Performance Metrics

On the challenging AVA dataset (v2.2), focusing on a subset of 60 classes, the HST-LSTM achieved a frame-level mean Average Precision (mAP) of 31.4%, surpassing the previous state-of-the-art (30.7%). On the UCF101D dataset, the model achieved a frame-mAP of 82.4% (at IoU 0.5) and a 99% Top-1 accuracy.

Qualitative results showing successful action detection and localization across various scenes.

Ablation Analysis

Ablation studies highlighted the importance of the hierarchical design. Removing the hierarchical layers or the I3D features led to significant performance drops. For example, using only ResNet features for UCF101D reduced the mAP from 82.4% to 63%, demonstrating that the temporal hierarchy is essential for robust action localization.

Conclusion

The HST-LSTM architecture provides a powerful framework for spatio-temporal action detection by mimicking multi-scale human perception. By combining 3D features with an attention-gated hierarchical LSTM, the model achieves state-of-the-art performance on complex, real-world video datasets. Future work will explore end-to-end training and the application of this architecture to video summarization and retrieval tasks.

Summary updated

BibTeX
@inproceedings{ramaswamy2020spatio,
  author = {Akshaya Ramaswamy and Karthik Seemakurthy and Jayavardhana Gubbi and Balamuralidhar Purushothaman},
  title = {{Spatio-temporal action detection and localization using a hierarchical LSTM}},
  booktitle = {Workshops @ CVPR},
  year = {2020},
  doi = {10.1109/cvprw50498.2020.00390},
}
Figure