Introduction
Temporal Action Localization (TAL) involves identifying the start and end times of actions within untrimmed video sequences and classifying the action category. A significant challenge in TAL is the "Goldilocks" problem of temporal scales. Low-level temporal scales provide the high resolution necessary for precise boundary detection but lack the semantic context to accurately classify actions. Conversely, high-level scales offer rich semantic information but suffer from coarse temporal resolution, making it difficult to pinpoint exact start and end frames. Furthermore, capturing long-range dependencies between distant frames is crucial for understanding complex, extended actions—a task where traditional convolutional neural networks (CNNs) often fall short.
The TAL-MTS Framework
To address these challenges, we present TAL-MTS (Temporal Action Localization with Multi-temporal Scales). This framework integrates multi-temporal scale features with long-range spatial-temporal modeling to achieve high-precision localization and robust classification.
The architecture follows a coarse-to-fine prediction pipeline. It begins by extracting I3D features from the input video. These features are then processed through two primary modules: the Refined Feature Pyramids (RFP) and the Spatial-Temporal Transformer (STT).
Refined Feature Pyramids (RFP)
Standard feature pyramids often process layers independently, leading to a disconnect between semantic depth and boundary precision. The RFP module overcomes this by passing high-level semantic information down to lower-level layers. As shown in the comparison between original and refined pyramids, this top-down flow ensures that fine-grained layers are "aware" of the global action context. To maintain efficiency, the RFP utilizes nearest neighbor linear interpolation for merging layers, which is parameter-free and computationally lightweight.
Spatial-Temporal Transformer (STT)
To capture long-range dependencies, TAL-MTS employs a factorized transformer encoder. The STT consists of a spatial transformer encoder that models individual frame representations, followed by a temporal transformer encoder that captures relationships between frames across the entire video duration. This global perspective is essential for distinguishing between similar actions that may only differ in their long-term temporal structure.
Frame-level Self Attention (FSA)
The final component is the Frame-level Self Attention (FSA) module, which refines the initial coarse proposals. By treating each video frame as a collection of patches—similar to a Vision Transformer—the FSA module can focus on the foreground action while effectively "masking out" background noise. This denoising process is critical for sharpening temporal boundaries that might otherwise be blurred by irrelevant visual clutter.
Experimental Results
The TAL-MTS model was evaluated on the THUMOS14 and ActivityNet1.3 benchmarks.
On the THUMOS14 dataset, which is characterized by short and dense action instances, TAL-MTS achieved state-of-the-art performance with a 56.9% [email protected]. This represents a significant improvement over previous leading methods such as AFSD (55.5%) and PCG-TAL (51.2%). When compared to other recent models like A2Net and Sub-Action, TAL-MTS showed remarkable gains of 12.6% and 17.4% in average mAP, respectively.
On ActivityNet1.3, which features longer and sparser action segments, the model's performance was comparable to existing state-of-the-art methods. The difference in performance across datasets suggests that while the multi-scale approach is highly effective for dense actions, further tuning may be beneficial for extremely long sequences.
Efficiency and Inference
Despite the inclusion of transformer modules, TAL-MTS remains highly efficient. On a Tesla V100 GPU, the model achieves an inference speed of 1,824 FPS. While this is slower than some purely anchor-free CNN-based models (like AFSD at ~4000 FPS), it is significantly faster than many other high-accuracy competitors, striking an excellent balance between speed and precision.
Conclusion
TAL-MTS demonstrates that the integration of refined feature pyramids and spatial-temporal transformers can effectively solve the scale-disparity problem in temporal action localization. By combining semantic depth with boundary precision and leveraging patch-based denoising, the framework sets a new standard for accuracy on challenging benchmarks like THUMOS14 while maintaining the efficiency required for real-world applications.
Summary updated