Adversarial Background-Aware Loss for Weakly-Supervised Temporal Activity Localization

Kyle Min, Jason J. Corso

Abstract

Weakly-supervised temporal activity localization (WTAL) aims to identify action boundaries in untrimmed videos using only video-level labels. This paper introduces A2CL-PT, a framework designed to overcome background confusion and incomplete localization. By employing an Adversarial Two-branch network and a novel Angular Center Loss with a Pair of Triplets (ACL-PT), the model effectively distinguishes actions from background noise and captures the full extent of activities. Experimental results on THUMOS14 and ActivityNet1.3 demonstrate state-of-the-art performance, achieving a 30.0% average mAP on THUMOS14.

Introduction

Temporal Activity Localization (TAL) is a fundamental task in video understanding, requiring the identification of both the class and the temporal boundaries of actions in untrimmed videos. While fully supervised methods achieve high accuracy, they rely on labor-intensive frame-level annotations. Weakly-supervised methods (WTAL) offer a more scalable alternative by utilizing only video-level tags. However, WTAL faces two primary challenges: background confusion, where models struggle to distinguish actions from non-action frames, and the "lazy" model problem, where networks focus only on the most salient parts of an action, leading to incomplete localizations.

Methodology

The proposed A2CL-PT framework addresses these challenges through two main architectural innovations: an adversarial two-branch network and a background-aware loss function.

Adversarial Two-Branch Architecture

To ensure the model localizes the entire duration of an activity, the network employs two parallel branches. The first branch identifies the most salient parts of the action. The adversarial branch then "erases" these salient parts, forcing the network to identify supplementary, more subtle parts of the action in the remaining frames. The Temporal Class Activation Maps (T-CAMs) from both branches are fused to produce the final localization.

The A2CL-PT architecture featuring the adversarial two-branch network and the ACL-PT loss mechanism.

Angular Center Loss with a Pair of Triplets (ACL-PT)

The authors introduce a novel "pair of triplets" loss in an angular feature space to improve discriminative power and background awareness:

  1. Discriminative Triplet: Groups features from the same activity class near a learned class center while pushing them away from other class centers.
  2. Background-Aware Triplet: Contrasts "activity-related" features with "background-heavy" versions of the same video. By enforcing that activity features must be closer to the class center than background-heavy features, the model explicitly teaches the network what background looks like by contrast.

Experimental Results

The model was evaluated on the THUMOS14 and ActivityNet1.3 benchmarks using pre-trained I3D (Inflated 3D ConvNet) features.

Quantitative Performance

A2CL-PT achieved a new state-of-the-art on THUMOS14, improving the average mAP (at IoU thresholds 0.1 to 0.9) from 27.9% to 30.0%. On ActivityNet1.3, it reached an average mAP of 22.5%, outperforming previous leading methods such as BaS-Net (22.2%). Ablation studies confirmed that the adversarial branch and the ACL-PT loss are synergistic; adding the adversarial branch without the new triplet actually decreased performance, showing that better background discrimination is required to handle the complexity of multi-branch learning.

Qualitative Analysis

Qualitative results demonstrate that A2CL-PT produces more complete and accurate localizations compared to baseline methods, effectively capturing the full duration of actions while minimizing false positives in background segments.

Qualitative comparison of localization results on THUMOS14, showing A2CL-PT's superior alignment with ground-truth compared to other methods.

Conclusion

The A2CL-PT framework significantly advances weakly-supervised temporal activity localization by explicitly addressing background confusion and localization completeness. While the model still faces challenges with fine-grained action-background confusion—such as misidentifying preparatory movements as the action itself—its performance establishes a new state-of-the-art. Future work may focus on refining background sampling and addressing annotation noise in existing datasets, where the model's predictions are sometimes more accurate than the ground-truth labels.

Summary updated

BibTeX
@inproceedings{min2020adversarial,
  author = {Kyle Min and Jason J. Corso},
  title = {{Adversarial Background-Aware Loss for Weakly-Supervised Temporal Activity Localization}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58568-6\_17},
}
Figure