Temporal Action Localization with Enhanced Instant Discriminability

Dingfeng Shi, Qiong Cao, Yujie Zhong, Shan An, Jian Cheng, Haogang Zhu, Dacheng TaoarXiv 2023 · DOI

Abstract

Temporal Action Localization (TAL) requires precise identification of action boundaries in untrimmed video sequences. Current state-of-the-art methods frequently encounter the "fuzzy boundary" problem and "discriminability deterioration" caused by the rank-loss effect in Transformer self-attention mechanisms. We present TriDet, a novel one-stage TAL framework designed to address these challenges. TriDet introduces a Scalable-Granularity Perception (SGP) layer that maintains feature diversity through convolutional operations and a Trident-head that models boundary uncertainty via statistical distributions. By decoupling temporal and spatial features, TriDet achieves significant performance improvements, reaching 43.4% mAP on the HACS dataset and 70.4% mAP on THUMOS14.

Introduction

The goal of Temporal Action Localization (TAL) is to detect the start and end timestamps of specific actions within a video. This task is inherently difficult due to the ambiguous nature of action boundaries—for instance, the precise moment a "long jump" concludes is often subjective.

Existing TAL models face two primary hurdles. First, imprecise boundaries often result from models that either over-prioritize global context at the expense of local detail or rely on single-frame features that lack sufficient context. Second, the popular Transformer architecture suffers from the "rank-loss problem." Mathematically, self-attention acts as a convex combination of features, which tends to make frame-level representations more similar as the network deepens. This "feature collapse" makes it increasingly difficult for the model to distinguish a boundary frame from its immediate neighbors.

The TriDet Framework

TriDet is a one-stage detector built upon three core components: a Scalable-Granularity Perception (SGP) layer, a Trident-head for boundary modeling, and a Decoupled Feature Pyramid Network (FPN).

Overview of the TriDet architecture

The model leverages large-scale pre-trained backbones: VideoMAEv2 for temporal and motion features, and DINOv2 for spatial and contextual features. The FPN is "decoupled," utilizing temporal features primarily for action classification, while a fusion of both spatial and temporal features informs precise localization. This design recognizes that while motion defines what is happening, static spatial cues (e.g., the presence of specific objects) are often the most reliable indicators of where an action begins or ends.

Scalable-Granularity Perception (SGP)

To mitigate the rank-loss associated with self-attention, TriDet replaces standard Transformer layers with the SGP layer. The SGP layer is a purely convolutional structure that preserves feature diversity while remaining computationally efficient.

Comparison of Transformer and SGP layers

As shown in Figure 2, the SGP layer features two parallel branches: an instant-level branch for global context and a window-level branch for local details. By maintaining the "macro-architecture" of Transformers (LayerNorm, Feed-Forward Networks, and residual connections) but swapping the attention mechanism for SGP convolutions, TriDet achieves superior performance and faster inference speeds.

Trident-head

Rather than regressing a single scalar value for boundary offsets, the Trident-head models the boundary as a relative probability distribution over a set of "bins" surrounding a frame. This statistical approach allows the model to handle boundary uncertainty more gracefully by capturing local context across three branches: start boundary, end boundary, and center-offset.

Experimental Results

TriDet was evaluated on several major benchmarks, including THUMOS14, HACS, ActivityNet-1.3, and EPIC-KITCHENS 100.

  • HACS Dataset: TriDet achieved a state-of-the-art 43.4% mAP, representing a significant 4.4% improvement over the previous best method (ETAD).
  • THUMOS14: The model reached 70.4% mAP, demonstrating consistent gains even on highly competitive, established benchmarks.
  • Multi-label TAL: On the MultiTHUMOS dataset, TriDet achieved 37.7% mAP, proving its effectiveness in complex scenarios where multiple actions overlap.
  • Efficiency: The transition to the SGP layer provided a 6.2% absolute improvement in mAP compared to standard convolutional baselines while maintaining a lower computational footprint than attention-based models.

Conclusion

TriDet addresses the fundamental limitations of current TAL models by replacing self-attention with the diversity-preserving SGP layer and introducing a more robust boundary modeling head. While the integration of spatial context from DINOv2 is a major strength, future work will explore more sophisticated gating mechanisms to manage spatial redundancy in extremely long videos. TriDet sets a new standard for one-stage temporal action localization, balancing high precision with architectural efficiency.

Summary updated

BibTeX
@misc{shi2023temporal,
  author = {Dingfeng Shi and Qiong Cao and Yujie Zhong and Shan An and Jian Cheng and Haogang Zhu and Dacheng Tao},
  title = {{Temporal Action Localization with Enhanced Instant Discriminability}},
  year = {2023},
  eprint = {2309.05590},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.05590},
}
Figure