Improving Weakly Supervised Temporal Action Localization by Bridging Train-Test Gap in Pseudo Labels

Jingqiu Zhou, Linjiang Huang, Liang Wang, Si Liu, Hongsheng Li

Introduction

Temporal Action Localization (TAL) is a critical task in computer vision that involves identifying the start and end times of specific actions within a video, along with their categorical labels. While fully supervised methods have achieved high precision, they rely on expensive, frame-by-frame annotations. Weakly Supervised Temporal Action Localization (WSTAL) offers a more scalable alternative by using only video-level labels (e.g., "this video contains a high jump") during training.

However, WSTAL faces a significant "train-test gap." Most existing methods follow a "localization-by-classification" paradigm, where models are trained to recognize actions at the video level using Temporal Class Activation Maps (TCAMs). At test time, these models must produce precise temporal boundaries. This discrepancy often leads to models that focus only on the most salient "peaks" of an action or become confused by background context that frequently co-occurs with the action. This paper addresses these issues by introducing a novel pipeline designed to bridge the gap between snippet-level training and instance-level prediction.

Methodology

The authors propose a three-stage framework to refine the generation and utilization of pseudo-labels, ensuring that the training process more closely aligns with the requirements of temporal localization.

1. Gaussian Weighted Instance Fusion (GauFuse)

Standard post-processing techniques like Non-Maximum Suppression (NMS) are typically used to prune overlapping predictions. However, NMS is often too destructive for training purposes, as it simply discards lower-confidence candidates. The proposed GauFuse module treats predicted boundaries as samples from a Gaussian distribution. By calculating a weighted mean of start/end points and confidence scores, GauFuse fuses overlapping instances into a single, high-quality boundary. This approach preserves the underlying distribution of the model's predictions rather than discarding potentially useful information.

2. LinPro Pseudo Label Generation

To train the model effectively, predicted boundaries must be converted back into snippet-wise labels. Traditional methods often assign a binary "1" to all snippets within a boundary, which ignores the model's confidence in that specific instance. The authors formulate this as a linear programming ($\ell_1$-minimization) problem. This "LinPro" strategy ensures that the generated pseudo-labels are uniform within an action instance while strictly maintaining the predicted confidence score, providing a more nuanced supervision signal.

3. $\Delta$ Pseudo Labels for Self-Correction

A common failure mode in weakly supervised learning is the "false positive feedback loop," where a model trains on its own incorrect initial guesses. To mitigate this, the authors introduce $\Delta$ pseudo labels—the difference between pseudo-labels generated in consecutive training epochs. By training on the change in confidence rather than absolute values, the model can "self-correct." If the evidence for a particular segment weakens over time, the $\Delta$ label allows the model to lower its confidence scores for those snippets, effectively undoing previous mistakes.

Experimental Results

The proposed method was evaluated on two primary benchmarks: THUMOS14 and ActivityNet1.3.

  • THUMOS14: On this dataset, characterized by short and dense action instances, the method achieved an average mAP (mean Average Precision) of 59.7% (across IoU thresholds 0.1 to 0.5). This represents a 1.9% improvement over the previous state-of-the-art (SOTA) method, DELU.
  • ActivityNet1.3: On this larger dataset featuring longer videos and fewer instances per video, the method achieved an average mAP of 28.8%, a significant 3.7% gain over previous SOTA results.

Furthermore, the authors demonstrated the "plug-and-play" nature of their approach. By integrating their pipeline into existing architectures like STPN and FAC-Net, they observed consistent performance gains of approximately 2% mAP, highlighting the generalizability of the GauFuse and LinPro modules.

Conclusion and Future Work

By addressing the train-test gap through more sophisticated fusion and label generation strategies, this research sets a new benchmark for Weakly Supervised Temporal Action Localization. The introduction of $\Delta$ pseudo labels provides a robust mechanism for self-correction, reducing the impact of noisy initial predictions.

While the computational overhead of solving linear programming problems during training is a consideration, the performance gains suggest it is a worthwhile trade-off. Future research may explore alternative distribution templates beyond Gaussian for the fusion module and investigate ways to reduce the dependency on the initial "seed" backbone used to generate the first set of TCAMs.

Summary updated

BibTeX
@inproceedings{zhou2023improving,
  author = {Jingqiu Zhou and Linjiang Huang and Liang Wang and Si Liu and Hongsheng Li},
  title = {{Improving Weakly Supervised Temporal Action Localization by Bridging Train-Test Gap in Pseudo Labels}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure