Temporal Action Detection with Global Segmentation Mask Learning

Sauradip Nag, Xiatian Zhu, Yi-Zhe Song, Tao Xiang · DOI

Introduction

Temporal Action Detection (TAD) is a fundamental task in computer vision that requires identifying the precise start and end times of action instances within untrimmed videos and classifying their categories. Traditionally, TAD has relied on proposal-based frameworks. These methods typically involve a two-stage process: first generating thousands of candidate temporal segments (proposals) and then classifying and refining each one. However, this approach is computationally intensive and often fails to capture the global temporal context necessary for precise boundary localization.

Comparison of Temporal Action Localization (TAL) paradigms: (a) Anchor-based, (b) Anchor-free proposal-based, and (c) the proposed Proposal-free TAGS model.

Methodology: The TAGS Framework

The authors propose TAGS (Temporal Action detection via Global Segmentation mask), a novel proposal-free model that shifts the paradigm from local proposal evaluation to global segmentation mask learning.

Multi-Scale Snippet Embedding

The architecture begins with a Multi-Scale Temporal Transformer. By utilizing self-attention mechanisms, the model allows each video snippet to interact with every other snippet, effectively capturing long-range dependencies and global context. Processing the video at multiple scales ensures the model can robustly detect actions of varying durations.

The TAGS architecture, featuring a Multi-Scale Temporal Transformer and parallel heads for classification and global mask generation.

Global Segmentation Mask Learning

The core innovation of TAGS is the Global Segmentation Mask head. Instead of predicting a single "actionness" score for a segment, the model predicts a $T \times T$ mask. For every temporal location $t$, the model generates a full-video-length binary mask representing the action instance associated with that specific snippet. This creates a high degree of redundancy, which is leveraged during inference to filter noise and refine boundaries.

Optimization and Alignment

To ensure high-fidelity localization and classification, TAGS employs several specialized loss functions. A boundary-focused loss (bIOU) specifically penalizes inaccuracies at the start and end points of actions, while a classification-mask consistency loss ensures that the classification head and the mask generation head provide a unified prediction for each action instance.

Experimental Results

TAGS was evaluated on the ActivityNet-v1.3 and THUMOS’14 benchmarks, demonstrating significant improvements in both efficiency and accuracy.

  • Efficiency: TAGS is approximately 20x faster to train and 1.6x faster during inference than previous state-of-the-art models like G-TAD. Its simplified architecture requires fewer parameters and FLOPs, making it highly suitable for large-scale video processing.
  • Accuracy: On ActivityNet-v1.3, TAGS achieved a mean Average Precision (mAP) of 36.5%, setting a new state-of-the-art for proposal-free methods and outperforming many complex proposal-based systems.

Conclusion

TAGS represents a significant step forward in Temporal Action Detection by demonstrating that a proposal-free, global segmentation approach can outperform traditional multi-stage methods. While highly effective, the model faces challenges with ultra-short actions that fall below the snippet resolution. Future research may focus on improving the classification subtask and enhancing the model's ability to handle extremely fine-grained temporal boundaries.

Summary updated

BibTeX
@inproceedings{nag2022temporal,
  author = {Sauradip Nag and Xiatian Zhu and Yi-Zhe Song and Tao Xiang},
  title = {{Temporal Action Detection with Global Segmentation Mask Learning}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-20062-5\_37},
}
Figure