Multi-Instance Multi-Label Action Recognition and Localization Based on Spatio-Temporal Pre-Trimming for Untrimmed Videos

Xiaoyu Zhang, Haichao Shi, Changsheng Li, Peng Li

Abstract

Weakly supervised temporal action localization (WSTAL) is a challenging task that requires identifying action intervals in untrimmed videos using only video-level labels. This paper introduces PreTrimNet, a novel framework that addresses the "noise" in untrimmed videos by performing spatio-temporal pre-trimming based on human pose estimation. By treating a video as a "bag" of person-centric clips and employing Multi-Instance Multi-Label (MIML) learning, PreTrimNet effectively filters background content and achieves state-of-the-art performance on major benchmarks.

Introduction

In computer vision, action recognition has transitioned from short, trimmed clips to complex, untrimmed videos. Real-world untrimmed videos often contain significant irrelevant background content, with the target action occupying only a fraction of the total duration. While fully supervised methods provide high accuracy, they require labor-intensive frame-level annotations. Weakly supervised methods, which rely solely on video-level labels, offer a scalable alternative but face the difficulty of distinguishing action signals from background noise.

Overview of the PreTrimNet pipeline for training and testing.

PreTrimNet tackles this by assuming that human actions are inherently centered around humans. By utilizing pose estimation to "pre-trim" videos into person-centric instances, the model focuses on the most relevant spatial and temporal regions, significantly reducing the search space for localization.

Methodology

The PreTrimNet architecture consists of several integrated modules designed to extract robust features and model the relationship between video clips and action labels.

Detailed architecture of PreTrimNet, showing the three-stream feature extraction and MIML learning modules.

1. Spatio-Temporal Pre-Trimming

The model uses pose estimation and tracking to identify human subjects. It crops the video both temporally (active periods) and spatially (bounding boxes), transforming a single untrimmed video into a "bag" of clean, person-centric instances.

2. Three-Stream Feature Extraction

Unlike standard two-stream models (RGB and Optical Flow), PreTrimNet incorporates a third stream: Pose. A Graph Convolutional Neural Network (GCNN) extracts features from skeleton sequences, providing structural movement information that complements raw appearance and motion data.

3. Self-Attentive Representation and MIML Learning

To handle variable clip lengths, a self-attention mechanism weights important frames to produce fixed-size feature vectors. The problem is then formulated as Multi-Instance Multi-Label (MIML) learning, where the video is a bag and clips are instances. The model learns to associate specific instances with video-level labels.

4. Local-Global T-CAM

For final localization, the model generates a Temporal Class Activation Map (T-CAM) by fusing "local" information from person-centric clips with "global" information from the entire untrimmed video. This global view acts as a safety net, ensuring robustness against potential tracking errors in the pre-trimming stage.

Experimental Results

PreTrimNet was evaluated on two large-scale benchmarks: THUMOS14 and ActivityNet 1.3.

  • THUMOS14: The model achieved a fusion accuracy of 89.2% for action recognition. In localization, it reached a mean Average Precision (mAP) of 23.09% at a 0.5 IoU threshold, significantly outperforming the previous state-of-the-art of 18.6%.
  • ActivityNet 1.3: PreTrimNet achieved an average mAP of 22.5%, demonstrating competitive performance that rivals some fully supervised approaches.

Ablation studies confirmed the importance of the pre-trimming step; removing it led to a substantial drop in mAP (from 40.95% to 32.40% at low IoU), validating the person-centric prior.

Discussion and Conclusion

PreTrimNet demonstrates that human pose is a powerful prior for denoising untrimmed videos. By combining pose-based pre-trimming with MIML learning, the framework effectively bridges the gap between weak supervision and precise temporal localization.

While the model is highly effective for human-centric actions, its reliance on pose estimation suggests a limitation for actions involving non-human entities. Future work may involve integrating general object detectors to broaden the scope of the pre-trimming module and explicitly modeling background classes to further enhance discriminative power.

Summary updated

BibTeX
@inproceedings{zhang2020multi,
  author = {Xiaoyu Zhang and Haichao Shi and Changsheng Li and Peng Li},
  title = {{Multi-Instance Multi-Label Action Recognition and Localization Based on Spatio-Temporal Pre-Trimming for Untrimmed Videos}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i07.6986},
}
Figure