Benchmarking Data Efficiency and Computational Efficiency of Temporal Action Localization Models

Jan Warchocki, Teodor Oprescu, Yunhan Wang, Alexandru Damacus, Paul Misterka, Robert-Jan Bruintjes, Attila Lengyel, Ombretta Strafforello, Jan van Gemert · DOI

Abstract

Temporal Action Localization (TAL) is a critical task in video understanding, requiring models to identify both the category and the precise temporal boundaries of actions within untrimmed videos. While recent advancements have significantly improved state-of-the-art accuracy, the practical deployment of these models is often hindered by high data annotation costs and heavy computational requirements. This paper provides a comprehensive benchmark of four leading TAL models—ActionFormer, STALE, TemporalMaxer, and TriDet—evaluating their performance under resource-constrained conditions. Our findings highlight that TemporalMaxer excels in low-data regimes, while TriDet offers the most favorable balance between training efficiency and localization accuracy.

Introduction

Temporal Action Localization (TAL) involves the dual challenge of classification and localization: determining "what" is happening and "when" it starts and ends in a continuous video stream. Despite the rapid evolution of deep learning architectures for this task, two primary bottlenecks remain: the high cost of frame-by-frame video annotation and the intensive computational overhead associated with processing long-form video, particularly for Transformer-based architectures.

Most contemporary research focuses on maximizing mean Average Precision (mAP) using exhaustive datasets and high-end hardware. This study shifts the focus toward efficiency, asking how these models perform when training data is scarce or computational budgets are limited. By benchmarking representative architectures, we aim to provide a "reality check" for the field and identify strategies for more sustainable and scalable video analysis.

Evaluated Models and Methodology

The study evaluates four models representing different architectural philosophies:

  • ActionFormer: A pioneer in using Transformer-based architectures for TAL.
  • STALE: A zero-shot vision-language model designed for flexibility.
  • TemporalMaxer: A simplified architecture that replaces complex attention mechanisms with max-pooling blocks.
  • TriDet: A model utilizing a Scalable-Granularity Perception (SGP) layer to balance efficiency and detail.

To assess these models, the researchers established four testing protocols:

  1. Data Efficiency: Models were trained on varying subsets of data (10% to 100%) to observe performance saturation points.
  2. Training Efficiency: Measured by the wall-clock time required to reach a target mAP.
  3. Inference Efficiency: Evaluated through floating-point operations (MACs), VRAM consumption, and latency as video length increases.
  4. Score Fusion: An analysis of how combining model outputs with a video-level classifier (UntrimmedNet) affects final performance.

Experiments were conducted on the THUMOS’14 and ActivityNet datasets, using pre-extracted features (I3D, TSP, or CLIP) to isolate the performance of the localization heads from the feature extraction process.

Key Findings

The Power of Simplicity in Low-Data Regimes

One of the most striking results is the performance of TemporalMaxer in data-poor environments. When trained on only 10% of the available data, TemporalMaxer outperformed its more complex counterparts. Its reliance on simple max-pooling rather than a heavy Transformer backbone results in fewer parameters, making it significantly less prone to overfitting when training examples are limited.

The 100-Instance Rule

Across the various models and datasets, a clear trend emerged: performance gains begin to plateau once a model has been exposed to approximately 100 labeled instances per action class. This suggests a "rule of diminishing returns" for TAL data collection, indicating that for many practical applications, exhaustive labeling beyond this threshold may not be cost-effective.

Computational Trade-offs: TriDet vs. STALE

TriDet emerged as the "Goldilocks" model for general use. On the THUMOS’14 dataset, it achieved the highest mAP (68.07%) while being the fastest to train (646 seconds). In contrast, while STALE offers the advantage of zero-shot detection, it proved to be the most computationally expensive during inference, with its resource requirements scaling non-linearly as video length increased.

The Role of Score Fusion

The study confirmed that "score fusion"—the practice of combining a localization model's output with a simpler video-level classifier like UntrimmedNet—remains a highly effective technique. This was particularly beneficial for the zero-shot STALE model, providing a significant boost in precision. The researchers recommend score fusion as a standard consideration for deploying TAL models on custom or novel datasets.

Conclusion and Future Directions

This benchmarking effort reveals that the most accurate models are not always the most practical for real-world deployment. For scenarios with limited data, simpler architectures like TemporalMaxer are preferable. For general-purpose high-performance needs, TriDet’s SGP-based approach provides superior training efficiency.

The authors suggest that the TAL community should explore alternatives to standard self-attention modules, such as max-pooling blocks or scalable-granularity layers, to ensure that future models remain viable for long-form video applications and resource-constrained environments. Future work will involve expanding the benchmark to include a wider array of emerging architectures and hardware configurations.

Summary updated

BibTeX
@misc{warchocki2023benchmarking,
  author = {Jan Warchocki and Teodor Oprescu and Yunhan Wang and Alexandru Damacus and Paul Misterka and Robert-Jan Bruintjes and Attila Lengyel and Ombretta Strafforello and Jan van Gemert},
  title = {{Benchmarking Data Efficiency and Computational Efficiency of Temporal Action Localization Models}},
  year = {2023},
  eprint = {2308.13082},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.13082},
}
Figure