Abstract
Action detection aims to localize the starting and ending points of action instances in untrimmed videos, and predict the classes of those instances. In this paper, we make the observation that the outputs of the action detection task can be formulated as images. Thus, from a novel perspective, we tackle action detection via a three-image generation process to generate starting point, ending point and action-class predictions as images via our proposed Action Detection Image Diffusion (ADI-Diff) framework. Furthermore, since our images differ from natural images and exhibit special properties, we further explore a Discrete Action-Detection Diffusion Process and a Row-Column Transformer design to better handle their processing. Our ADI-Diff framework achieves state-of-the-art results on two widely-used datasets.
Introduction
Temporal Action Detection (TAD) is a critical task in video understanding, requiring the identification of action boundaries (start and end times) and their corresponding labels within long, untrimmed video sequences. Traditional methods typically rely on proposal-and-refinement pipelines or direct regression. However, these approaches often struggle with the inherent complexity of human actions and background noise.
This paper introduces a paradigm shift by representing detection outputs—class probabilities and boundary locations—as structured 2D grids, termed "Action Detection (AD) images." By treating action detection as an image generation task, we can leverage the powerful denoising capabilities of diffusion models to produce more precise and robust predictions.
Methodology: The ADI-Diff Framework
The proposed ADI-Diff framework reformulates TAD as a generative process. The core components include:
1. AD Image Formulation
The model generates three distinct images to represent the detection output:
- Action-class image ($x^a$): An $N \times C$ grid (Frames $\times$ Classes) where pixels denote action probabilities.
- Starting/Ending point images ($x^s, x^e$): $N \times 2$ grids indicating the presence or absence of action boundaries at each frame.
2. Discrete Action-Detection Diffusion Process
Unlike standard diffusion models that use Gaussian noise, ADI-Diff employs a Discrete Diffusion Process. Since AD images represent probability distributions, "total uncertainty" is better modeled as a Uniform distribution rather than Gaussian noise. The forward process gradually transitions ground truth data toward a uniform distribution, while the reverse process learns to denoise this uncertainty back into sharp predictions, conditioned on spatio-temporal video features.
3. Row-Column Transformer
To process these non-natural images, a specialized Row-Column Transformer was developed. It uses Multi-Head Self-Attention (MHSA) across columns to capture inter-class relationships and a combination of Temporal Convolutions and MHSA across rows to model temporal dependencies.
Experimental Results
The ADI-Diff framework was evaluated on the THUMOS14 and ActivityNet-1.3 benchmarks using frozen I3D and R(2+1)D features, respectively.
Performance Comparison
ADI-Diff achieves state-of-the-art performance on both datasets. On THUMOS14, it reaches an average mAP of 70.8%, significantly outperforming previous models like ActionFormer and TriDet. On ActivityNet-1.3, it achieves 38.3% average mAP.
Efficiency
Despite the iterative nature of diffusion, ADI-Diff maintains high efficiency. By "stitching" the three AD images for joint processing, the model achieves an inference speed of 0.113 seconds per video clip, making it competitive with non-generative SOTA models.
Conclusion
By framing action detection as a generative image task, ADI-Diff provides a novel and effective approach to video analysis. The use of a discrete diffusion process and a specialized transformer architecture allows the model to outperform existing discriminative methods. Future work includes exploring end-to-end training with feature extraction and further optimizing the sampling process for real-time applications.
Summary updated