Background Modeling via Uncertainty Estimation for Weakly-supervised Action Localization

Pilhyeon Lee, Jinglu Wang, Yan Lu, Hyeran ByunarXiv 2020

TL;DR

This paper tackles weakly-supervised temporal action localization (WTAL) by reframing background frames not as a specific "background class," but as out-of-distribution (OOD) samples. By leveraging feature magnitudes as a proxy for uncertainty and utilizing a Multiple Instance Learning (MIL) framework, the authors successfully separate action intervals from complex, inconsistent backgrounds using only video-level labels.

What Problem Does This Paper Address?

Temporal Action Localization (TAL) involves identifying the start and end times of actions in long, untrimmed videos. While fully supervised methods are effective, they require expensive frame-level annotations. Weakly-supervised methods (WTAL) use only video-level labels (e.g., "this video contains a golf swing"), which is much cheaper but significantly harder.

The primary bottleneck in WTAL is background modeling. Background frames are often dynamic (e.g., a crowd cheering after a goal) or semantically inconsistent (e.g., subtitles, empty fields, or a player preparing for a shot), as shown in Figure 1 below.

Challenges in modeling background: dynamism and inconsistency.

Existing methods often try to force all background frames into a single "background class," which fails because these frames share no common semantic features. This paper argues that background should instead be treated as "uncertainty"—the probability that a frame does not belong to any known action distribution.

Methods

The authors propose a framework that combines standard action classification with a novel uncertainty modeling component.

  1. Feature Magnitude as Uncertainty: The core insight is that action frames, which must produce high classification scores, typically have larger feature magnitudes than background frames. The authors define the probability of a segment being an "action" based on its L2-norm relative to a maximum magnitude $m$.
  2. Multiple Instance Learning (MIL): Since frame-level labels are missing, the model uses MIL to select "pseudo-action" segments (those with the highest magnitudes) and "pseudo-background" segments (those with the lowest magnitudes) from each video.
  3. Uncertainty Modeling Loss ($L_{um}$): This loss explicitly pushes the feature magnitudes of pseudo-action segments toward a high value $m$ and pseudo-background segments toward zero. This creates a clear separation in the feature space, as illustrated in Figure 2.
Figure 2: Normalized histograms of feature magnitudes. (a) The magnitudes of original features show correlation with action/background, but the centers of two distribu- tions are close. (b) The separated feature magnitudes by our method have better discrimination of action and background.
  1. Background Entropy Loss ($L_{be}$): To further refine the background, this loss forces the predicted class distribution for pseudo-background segments to be uniform. If the model is "confused" and assigns equal probability to all action classes for a segment, it is more likely to be background.

The overall architecture, shown in Figure 3, integrates these losses into a unified pipeline.

Overview of the proposed method, including the main pipeline and the uncertainty modeling components.

Datasets

The model was evaluated on three standard benchmarks for temporal action localization:

  • THUMOS’14: Contains 20 action classes. It is particularly challenging due to the high frequency of action instances per video.
  • ActivityNet 1.2 & 1.3: Large-scale datasets with 100 and 200 action classes, respectively, featuring diverse real-world activities.

Key Insights and Ideas

  • Background is OOD: Treating background as the absence of a class rather than a class itself is a powerful shift in perspective. It acknowledges that "background" is an open-set problem.
  • Magnitude Matters: The correlation between feature magnitude and action presence is a simple yet effective signal that can be exploited without manual temporal labels.
  • Entropy as a Filter: Using high entropy to identify background frames prevents the model from "hallucinating" actions in noisy segments, leading to much cleaner localization boundaries.

Key Results

The proposed method achieved new state-of-the-art results across all tested benchmarks:

  • THUMOS’14: Reached an average mAP (mean Average Precision) of 41.9%, significantly outperforming previous background-modeling methods like BaS-Net (35.3%) and DGAM (37.0%).
  • ActivityNet 1.3: Achieved an average mAP of 23.7%, even surpassing some fully supervised methods like TAL-Net (20.2%) in this metric.
  • Qualitative Improvement: As shown in Figure 4, the model is much better at identifying complete action instances without splitting them into fragments, a common failure mode for previous WTAL methods.
Qualitative comparison showing the proposed method (Ours) successfully localizing complete action instances compared to BaS-Net.

Limitations and Future Work

While the method is robust, it introduces a hyperparameter $m$ (maximum feature magnitude). While the authors show the model is relatively insensitive to $m$ once it is large enough, it still requires tuning.

The authors suggest that this OOD formulation for background could be extended to fully-supervised TAL or other related tasks like video highlight detection, where distinguishing "interesting" content from "boring" background is critical. Future work could also explore more sophisticated ways to model uncertainty beyond simple feature magnitudes.

Summary updated

BibTeX
@misc{lee2020background,
  author = {Pilhyeon Lee and Jinglu Wang and Yan Lu and Hyeran Byun},
  title = {{Background Modeling via Uncertainty Estimation for Weakly-supervised Action Localization}},
  year = {2020},
  eprint = {2006.07006},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.07006},
}
Figure