Weakly Supervised Temporal Action Localization Through Learning Explicit Subspaces for Action and Context

Ziyi Liu, Le Wang, Wei Tang, Junsong Yuan, Nanning Zheng, Gang Hua

Introduction

Temporal Action Localization (TAL) involves identifying the start and end times of specific actions in long, untrimmed videos. In the "weakly supervised" (WS-TAL) paradigm, models are trained using only video-level labels (e.g., "this video contains a baseball pitch") without frame-level timestamps. This lack of granular supervision leads to the primary challenge of action-context confusion.

The Action-Context Confusion Problem

Because actions like a "baseball pitch" almost always occur in specific environments like a "baseball field," standard classifiers often fail to distinguish between the action itself and its co-occurring context. Consequently, when localizing, models mistakenly include static background snippets before and after the action as part of the event. This "bleeding" effect significantly degrades the precision of temporal boundaries.

Illustration of action-context confusion and the proposed subspace separation.

Proposed Methodology: Explicit Subspace Learning

The authors propose a Subspace Module that transforms a video's original feature space into two distinct, explicit subspaces:

  1. Action Subspace: Represents visual elements unique to the action movement.
  2. Context Subspace: Represents elements that co-occur with the action but are not the action itself.
The proposed model architecture featuring the Subspace Module.

Key Innovations

  • Snippet Grouping via Two-Stream Disagreement: To bootstrap training without frame labels, the model leverages the disagreement between spatial (RGB) and temporal (Optical Flow) streams. Action snippets show high confidence in both, while context snippets (like a static field) show high spatial but low temporal confidence.
  • Triplet Loss: This loss ensures that in the Action Subspace, context snippets are forced to look like irrelevant background. Conversely, in the Context Subspace, they are allowed to look like the action, capturing their natural co-occurrence.
  • Temporal Residual Module (T-ResM): An unsupervised learning task forces the model to mine temporal relationships across snippets, preventing the Subspace Module from making decisions based on isolated frames.

Experimental Results

The framework was evaluated on three major benchmarks: THUMOS14, ActivityNet v1.2, and ActivityNet v1.3.

  • THUMOS14: The model achieved a state-of-the-art mean Average Precision (mAP) of 30.6% (averaging IoU thresholds 0.3:0.7), significantly outperforming the previous best of 27.6%.
  • ActivityNet: The method consistently outperformed previous weakly supervised approaches, achieving average mAPs of 25.5% (v1.2) and 23.2% (v1.3).
  • Qualitative Analysis: Spatial visualizations (heatmaps) confirm that the Action Subspace successfully ignores surrounding environments (e.g., a tennis court) to focus strictly on the player's movement, whereas original features often included the entire scene.

Conclusion

This research demonstrates that explicit feature space separation is a more robust architectural solution than simple attention mechanisms for WS-TAL. By disentangling action-specific features from their environmental context, the model achieves significantly more precise temporal localization in complex, untrimmed videos.

Summary updated

BibTeX
@inproceedings{liu2021weakly,
  author = {Ziyi Liu and Le Wang and Wei Tang and Junsong Yuan and Nanning Zheng and Gang Hua},
  title = {{Weakly Supervised Temporal Action Localization Through Learning Explicit Subspaces for Action and Context}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i3.16323},
}
Figure