Action Sensitivity Learning for Temporal Action Localization

Jiayi Shao, Xiaohan Wang, Ruijie Quan, Junjun Zheng, Jiang Yang, Yi YangICCV 2023

Abstract

Temporal action localization (TAL), which involves recognizing and locating action instances, is a challenging task in video understanding. Most existing approaches directly predict action classes and regress offsets to boundaries, while overlooking the discrepant importance of each frame. In this paper, we propose an Action Sensitivity Learning framework (ASL) to tackle this task, which aims to assess the value of each frame and then leverage the generated action sensitivity to recalibrate the training procedure. We first introduce a lightweight Action Sensitivity Evaluator to learn the action sensitivity at the class level and instance level, respectively. The outputs of the two branches are combined to reweight the gradient of the two sub-tasks. Moreover, based on the action sensitivity of each frame, we design an Action Sensitive Contrastive Loss to enhance features, where the action-aware frames are sampled as positive pairs to push away the action-irrelevant frames. The extensive studies on various action localization benchmarks show that ASL surpasses the state-of-the-art in terms of average-mAP under multiple types of scenarios.

Introduction: Not All Video Frames Are Created Equal

In the field of video understanding, Temporal Action Localization (TAL) is a complex task. It requires a model to process long, untrimmed videos and precisely identify the start and end times of specific actions while simultaneously classifying them. Traditionally, state-of-the-art models have treated every frame within an action segment as equally significant during the training phase.

However, this "one size fits all" approach ignores the inherent temporal structure of actions. For instance, consider the action "clothes drying." To recognize the action, the most informative frames are typically in the middle, showing the person hanging clothes. Conversely, to locate the boundaries, the most informative frames are at the transitions—picking up the laundry basket at the start or putting it down at the end.

Motivation for action sensitivity: different frames contribute differently to action recognition and boundary localization.

Existing one-stage TAL models often classify every frame and regress boundaries uniformly, introducing noise from transitional or blurry frames. The Action Sensitivity Learning (ASL) framework addresses this by automatically identifying informative frames and using them to guide the model more effectively.

The Action Sensitivity Learning (ASL) Framework

The core of the ASL framework is the realization that classification and localization are distinct sub-tasks requiring different visual cues. ASL introduces two primary innovations to exploit this task disentanglement.

1. Action Sensitivity Evaluator (ASE)

The ASE module assesses the value of each frame for classification and localization sub-tasks through two complementary branches:

  • Class-level Sensitivity: This branch uses learnable Gaussian-like weights to model coarse frame importance. For classification, it typically emphasizes central frames, while for localization, it focuses on frames near the boundaries. Crucially, the Gaussian parameters ($\mu$ and $\sigma$) are learnable, allowing the model to discover the unique temporal "rhythms" of different action categories.
  • Instance-level Sensitivity: A lightweight network predicts sensitivity based on the current quality of the model's predictions. By using the temporal Intersection over Union (tIoU) between predicted and ground-truth segments as a supervision signal, the model learns to prioritize frames that lead to high-quality outputs.
Overview of the Action Sensitivity Learning (ASL) framework, featuring the Action Sensitivity Evaluator and Action Sensitive Contrastive Loss.

2. Action Sensitive Contrastive Loss (ASCL)

Using the sensitivity scores, the model identifies "action-aware" frames. The ASCL then pulls features of similar sensitive frames together in the feature space while pushing away irrelevant background frames or frames from different classes. This contrastive approach helps reduce the misalignment between identifying what an action is and where it begins and ends.

Experimental Evaluation

The researchers evaluated ASL across six diverse benchmarks, demonstrating its robustness in various scenarios:

  • Densely-labeled Datasets: On MultiThumos (sports) and Charades (daily activities), where actions frequently overlap, ASL achieved absolute increases in average mAP of 2.0% and 3.3%, respectively, over previous leaders.
  • Egocentric Videos: In the Ego4D-Moment Queries and Epic-Kitchens 100 datasets, which are challenging due to head motion and complex object interactions, ASL improved average mAP by over 2% compared to strong baselines like Actionformer.
  • Single-labeled Benchmarks: On standard datasets like Thumos14, ASL reached 67.9% average mAP, a significant jump from the previous state-of-the-art of 66.8%.

Ablation studies further confirmed the importance of the ASE component; its removal led to a 1.6% drop in mAP, proving that sensitivity modeling is a key driver of performance.

Conclusion

The ASL framework demonstrates that acknowledging the discrepant importance of video frames can significantly enhance temporal action localization. By disentangling classification and localization sensitivity, the model avoids the confusion inherent in joint training. While the impact is most pronounced in complex, densely-labeled videos, ASL sets a new standard for TAL. Future work may explore non-Gaussian sensitivity models or adapt ASL as a plug-and-play module for other video tasks like highlight detection or summarization.

Summary updated

BibTeX
@inproceedings{shao2023action,
  author = {Jiayi Shao and Xiaohan Wang and Ruijie Quan and Junjun Zheng and Jiang Yang and Yi Yang},
  title = {{Action Sensitivity Learning for Temporal Action Localization}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  url = {https://openreview.net/forum?id=1c4z3xqmnq},
}
Figure