Relation Modeling in Spatio-Temporal Action Localization

Yutong Feng, Jianwen Jiang, Ziyuan Huang, Zhiwu Qing, Xiang Wang, Shiwei Zhang, Mingqian Tang, Yue GaoarXiv 2021

Abstract

Spatio-temporal action localization is a critical task in video understanding, requiring models to determine the identity, location, and timing of human actions. This paper presents a state-of-the-art solution for the AVA-Kinetics Crossover Challenge. By integrating transformer-based relation modeling, long-term memory banks, and a decoupled training strategy to address the long-tail distribution of actions, the proposed method achieved a 40.67 mAP on the challenge's test set.

Introduction

Spatio-temporal action localization involves identifying "who" is doing "what," "where" they are, and "when" the action occurs. This task is challenging because actions are often context-dependent, defined by relationships between people and objects or by long-term temporal patterns. Furthermore, real-world datasets like AVA-Kinetics suffer from a significant class imbalance, where common actions dominate and rare actions are often neglected during standard training.

Methodology

The authors developed a multi-stage pipeline that enhances standard feature extraction with contextual and temporal modeling.

Overview of the proposed spatio-temporal action localization pipeline, featuring transformer-based relation modeling and a long-term memory bank.

The process begins with a 2D person detector identifying individuals in keyframes. These detections are extended across time, and a 3D backbone (e.g., SlowFast-152 or ir-CSN-152) extracts spatio-temporal features. To model interactions efficiently, the system uses Transformer encoders split into two heads:

  • Spatial (S-only): Captures relationships between different people in the same frame.
  • Temporal (T-only): Captures how an individual's features evolve over the duration of a clip.

Additionally, a Two-Stage Memory Bank stores person features to provide long-term context, which is particularly useful for datasets with sparse annotations.

Addressing the Long Tail

To mitigate the "long-tail" problem where rare actions are underrepresented, the authors employed a Decoupled Learning strategy. This involves training the feature extractor and classifier in separate stages. After initial training, the backbone is frozen, and the classification layer is re-trained using class-balanced sampling to ensure the model focuses on rare actions.

Performance difference across action classes after applying decoupled learning, highlighting significant gains for rare actions.

This approach proved highly effective; for instance, the action "cut" saw a remarkable +22.57 mAP improvement. While common classes like "work on computer" saw a slight dip, the overall balance of the model improved significantly.

Key Results and Insights

The final ensemble achieved a top performance of 40.67 mAP. Key findings from the study include:

  • Backbone Performance: The ir-CSN-152 backbone, pre-trained on the massive IG65M dataset, generally outperformed SlowFast-152.
  • The Detector Bottleneck: The quality of the person detector is a primary performance bottleneck. Upgrading the detector yielded nearly a 1 mAP boost, and experiments with ground-truth boxes indicate that better detection alone could improve results by approximately 7 mAP.
  • Memory Context: Adding the memory bank (+M) consistently improved results by 0.5 to 1.0 mAP, confirming the importance of long-range temporal context.

Conclusion

The proposed framework demonstrates that effective action localization requires a combination of robust feature extraction, sophisticated relation modeling, and strategies to handle data imbalance. Future work will explore tighter integration of detection and recognition, more efficient memory querying, and improved modeling of person-object interactions.

Summary updated

BibTeX
@misc{feng2021relation,
  author = {Yutong Feng and Jianwen Jiang and Ziyuan Huang and Zhiwu Qing and Xiang Wang and Shiwei Zhang and Mingqian Tang and Yue Gao},
  title = {{Relation Modeling in Spatio-Temporal Action Localization}},
  year = {2021},
  eprint = {2106.08061},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.08061},
}
Figure