Towards High-Quality Temporal Action Detection with Sparse Proposals

Jiannan Wu, Peize Sun, Shoufa Chen, Jiewen Yang, Zihao Qi, Lan Ma, Ping LuoarXiv 2021

Introduction

Temporal Action Detection (TAD) is the task of identifying the start and end times of human actions in long, untrimmed videos and classifying them. Traditional approaches typically rely on dense, hand-crafted anchors or complex multi-stage boundary-based pipelines. Anchor-based methods are computationally expensive and sensitive to manual tuning, while boundary-based methods often struggle with grouping predictions.

Recent query-based methods, inspired by Transformers, offer a simpler alternative but face challenges with the quadratic computational cost of global attention. To detect short actions, high-resolution feature maps are necessary, but applying global attention to these maps is prohibitively slow. Consequently, previous models often resorted to low-resolution features, which "blur out" short action instances.

SP-TAD addresses these issues by treating TAD as a set prediction problem using a small set of learnable "sparse proposals." By introducing a novel sparse interaction mechanism, the model achieves state-of-the-art precision while maintaining exceptional inference speeds.

Methodology

The SP-TAD framework is a unified, end-to-end system designed for high-quality action detection.

Overview of the SP-TAD architecture, featuring the unified backbone, Temporal Feature Pyramid Network (TFPN), and Action Detection Head.

Unified Two-Stream Backbone

Unlike many existing methods that utilize pre-extracted "offline" features, SP-TAD is optimized end-to-end. It processes raw RGB frames and Optical Flow through an I3D backbone, ensuring that features are specifically tailored to the temporal boundaries of the target dataset.

Temporal Feature Pyramid Network (TFPN)

To handle actions of varying lengths, SP-TAD constructs a multi-scale feature pyramid. By incorporating intermediate layers from the backbone, the model preserves high-resolution details essential for accurately localizing short actions.

Sparse Interaction Module (SIM)

The core innovation of SP-TAD is the Sparse Interaction Module. Instead of requiring each proposal query to attend to the entire video globally, each proposal interacts only with its corresponding Segment-of-Interest (SoI). This local interaction significantly reduces computational complexity, allowing the use of high-resolution features that would otherwise be too costly for global attention mechanisms.

Iterative Refinement

The detection process involves stacked heads where each stage refines the boundary predictions from the previous stage. This iterative "nudging" progressively moves predictions closer to the ground truth.

Experiments and Results

The model was evaluated on the THUMOS14 and ActivityNet-1.3 benchmarks. THUMOS14 is particularly challenging due to its high density of short action instances, making temporal precision critical.

Performance and Efficiency

SP-TAD achieves state-of-the-art accuracy on THUMOS14, reaching 45.7% [email protected] and 33.4% [email protected]. It excels at high temporal Intersection over Union (tIoU) thresholds, demonstrating its ability to find exact action boundaries.

Beyond accuracy, the model's efficiency is a standout feature. By avoiding dense anchors and global attention, SP-TAD achieves a blistering inference speed.

Comparison of inference speed (FPS) against other state-of-the-art TAD methods.

As shown in the results, SP-TAD reaches 5,574 FPS on a single NVIDIA V100 GPU, significantly outperforming existing high-performance TAD models.

Key Insights

  • Local Interaction: Local context is often sufficient for refining action boundaries. Sparse interaction breaks the quadratic complexity bottleneck of standard Transformers.
  • End-to-End Training: Training the backbone and detection head together provides a significant performance boost over frozen features.
  • Resolution Sensitivity: High-resolution features in the pyramid are crucial for precise localization, especially for short, rapid actions.

Discussion and Conclusion

While SP-TAD performs exceptionally well on datasets with dense actions like THUMOS14, it faces some limitations in scenarios where actions are extremely sparse, such as ActivityNet-1.3, where anchor-based methods may still hold a slight edge due to over-sampling. Additionally, end-to-end training of 3D backbones on long clips is memory-intensive, currently requiring sliding window approaches.

Future work may involve exploring more sophisticated early-stage fusion of RGB and Optical Flow data to further enhance performance. Overall, SP-TAD represents a significant step toward efficient, high-quality temporal action detection.

Summary updated

BibTeX
@misc{wu2021towards,
  author = {Jiannan Wu and Peize Sun and Shoufa Chen and Jiewen Yang and Zihao Qi and Lan Ma and Ping Luo},
  title = {{Towards High-Quality Temporal Action Detection with Sparse Proposals}},
  year = {2021},
  eprint = {2109.08847},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.08847},
}
Figure