NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Two-Stream Consensus Network for Weakly-Supervised Temporal Action Localization

Yuanhao Zhai, Le Wang, Wei Tang, Qilin Zhang, Junsong Yuan, Gang Hua

Abstract

The Two-Stream Consensus Network (TSCN) addresses the challenge of localizing actions in videos using only video-level labels. By leveraging an iterative refinement process that treats the consensus between RGB and motion streams as pseudo-ground truth, TSCN effectively filters false positives and produces precise temporal boundaries, achieving state-of-the-art performance on major benchmarks.

1. Introduction

Temporal Action Localization (TAL) involves identifying the start and end times of specific actions in long, untrimmed videos. While fully supervised methods are effective, they require expensive frame-by-frame annotations. Weakly-supervised TAL (W-TAL) offers a more scalable alternative by using only video-level labels. However, W-TAL faces two primary challenges:

  1. False Positives: Models often confuse background context (e.g., a swimming pool) with the action itself (e.g., swimming).
  2. Imprecise Boundaries: Without frame-level guidance, models often produce "blurry" attention scores, making it difficult to determine exact start and end points.

2. Methodology

TSCN introduces a novel framework to overcome these hurdles through iterative refinement and specialized loss functions.

The TSCN framework consists of three main stages: (1) feature extraction from RGB and Optical Flow, (2) training two-stream base models, and (3) generating pseudo-ground truth through consensus for iterative supervision.

2.1 Iterative Refinement via Consensus

The model utilizes a two-stream architecture consisting of an RGB stream for appearance and an Optical Flow stream for motion. The core innovation is the use of "late fusion" (a weighted sum) of these streams to generate a Pseudo Ground Truth (PGT). This PGT serves as frame-level supervision for subsequent training iterations. The underlying intuition is that if both streams agree an action is occurring, the prediction is highly reliable. This consensus allows the model to self-correct and ignore context-only false positives.

2.2 Attention Normalization Loss

To address imprecise boundaries, the authors propose an Attention Normalization Loss ($L_{att}$). Standard W-TAL models often output ambiguous attention values. This loss function forces the model to be decisive by pushing high attention values toward 1 (action) and low values toward 0 (background). This effectively transforms the attention mechanism into a binary selector, resulting in sharper temporal boundaries.

3. Experimental Evaluation

TSCN was evaluated on the THUMOS14 and ActivityNet (v1.2 and v1.3) benchmarks.

3.1 Quantitative Results

TSCN achieved state-of-the-art results for weakly-supervised methods:

  • THUMOS14: Reached a mean Average Precision (mAP) of 28.7% at an IoU threshold of 0.5, significantly outperforming previous baselines like BaS-Net.
  • ActivityNet v1.3: Achieved an average mAP of 21.7%, setting a new benchmark for the dataset.

3.2 Qualitative Analysis

Visualizations demonstrate that TSCN successfully separates consecutive actions that previous models would have merged. The consensus between streams proves more reliable than either stream in isolation, as shown in the comparison below.

Qualitative comparison showing how the fusion of RGB and Flow streams creates a consensus that more closely aligns with the ground truth compared to individual streams.

4. Conclusion

TSCN significantly narrows the gap between weakly-supervised and fully-supervised action localization. By enforcing consensus between appearance and motion and penalizing ambiguous attention, the model produces cleaner, more accurate action proposals. Future work will focus on improving boundary precision at high IoU thresholds and reducing sensitivity to fusion hyperparameters.

Summary updated

BibTeX
@inproceedings{zhai2020two,
  author = {Yuanhao Zhai and Le Wang and Wei Tang and Qilin Zhang and Junsong Yuan and Gang Hua},
  title = {{Two-Stream Consensus Network for Weakly-Supervised Temporal Action Localization}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58539-6\_3},
}
Figure