Equivalent Classification Mapping for Weakly Supervised Temporal Action Localization

Tao Zhao, Junwei Han, Le Yang, Dingwen Zhang

TL;DR

Equivalent Classification Mapping (ECM) bridges the gap between the two dominant paradigms in weakly supervised temporal action localization: pre-classification and post-classification pipelines. By forcing parallel network streams to share a single classifier and introducing dual consistency losses, ECM achieves state-of-the-art localization accuracy on major benchmarks without complex architectural overhead.

What Problem Does This Paper Address?

Temporal Action Localization (TAL) requires an algorithm to watch an untrimmed video and pinpoint exactly when an action starts, when it ends, and what category it belongs to. Doing this under weak supervision—where you only have video-level labels (e.g., "this video contains cliff diving") without any time markers—is a massive challenge.

Historically, researchers have tackled this using one of two localization-by-classification pipelines:

  1. Pre-classification pipelines: Classify every individual video snippet first, then aggregate the scores to get a video-level prediction. This is great at capturing local details but struggles with long-term video context.
  2. Post-classification pipelines: Aggregate the features of all snippets first into a global video representation, then classify it. This captures long-term context well but results in blurry, less discriminative frame-level boundaries during evaluation.
The two traditional action localization pipelines.

The authors point out an overlooked truth: in both pipelines, the classifier's fundamental job is exactly the same. An ideal classifier should be able to do both simultaneously.

Methods

The authors introduce Equivalent Classification Mapping (ECM), a unified framework that trains two parallel streams—one pre-classification and one post-classification—using a single, shared temporal convolutional classifier ($\Phi$).

Framework of the proposed ECM method showing the shared classifier and dual streams.

Because feature aggregation (like a weighted sum) is a linear operation, the aggregated global features mathematically occupy the exact same feature space as the point-level snippet features. This justifies sharing the classifier.

To fully exploit this equivalence, ECM introduces two novel components:

  • Equivalent Weight-Transition Module: Instead of training a separate, complex attention network to find important video frames, ECM directly transits the Class Activation Sequence (CAS) from the pre-classification stream to generate category-specific foreground (action) and background weights for the post-classification stream.
The Equivalent Weight-Transition Module generating action and background weights from the CAS.
  • Equivalent Training Strategy: The network is optimized using two unique consistency losses alongside standard classification loss:
  • Classification-to-Classification Consistency ($L_{c2c}$): Penalizes any discrepancy between the video-level scores predicted by the two streams.
  • Aggregation-to-Classification Consistency ($L_{a2c}$): Forces the post-classification stream to accurately predict both the presence of an action (using foreground weights) and its absence (using background weights), sharpening the boundaries between action and background.

Datasets

The authors evaluated ECM on three standard action localization benchmarks:

  • THUMOS14: Contains 20 action categories, with 200 videos for training and 213 for testing. It is notorious for having frequent, short action bursts.
  • ActivityNet v1.2: Features 100 action categories across 9,682 untrimmed videos.
  • ActivityNet v1.3: An extended version of v1.2, containing 200 categories and 19,994 videos.

All experiments utilized features extracted from an I3D network pre-trained on the Kinetics-400 dataset.

Key Insights and Ideas

  • The Shared Space Realization: The core "aha moment" is that snippet features and linearly aggregated video features share a mathematical space. Forcing a single classifier to master both acts as a powerful regularizer.
  • Category-Specific Attention Matters: Unlike previous post-classification methods that generate generic, category-agnostic attention weights, ECM generates distinct weights for each action category. This allows the model to better isolate overlapping or co-occurring actions.
  • Learning from Absence: The $L_{a2c}$ consistency loss forces the model to evaluate what isn't an action just as intensely as what is. This significantly suppresses background noise, which is a notorious failure mode in weakly supervised learning.

Key Results

ECM achieved significant performance gains over its individual baselines and set new state-of-the-art marks for weakly supervised methods:

  • THUMOS14: Reached a mean Average Precision ([email protected]) of 29.1%, a massive jump from the pre-classification baseline (19.6%) and post-classification baseline (17.1%). It also outperformed top competitors like DGAM (28.8%) and BaSNet (27.0%).
  • ActivityNet v1.2: Achieved an average mAP of 25.5%, outperforming the previous best method, ACL, at 24.6%.
  • ActivityNet v1.3: Achieved an average mAP of 23.5%, surpassing competitive post-classification methods like TSCN (21.7%).
  • Frame-level Sharpness: In frame-accuracy evaluations, ECM achieved 54.3% accuracy, outperforming the pre-classification baseline by 11.6%, proving that the equivalence mapping successfully sharpens local boundary detection.

Limitations and Future Work

Despite setting new weakly supervised records, a substantial performance gap still remains when compared to fully supervised methods. For context, fully supervised state-of-the-art models achieve over 40% [email protected] on THUMOS14, compared to ECM's 29.1%.

The authors note that the underlying philosophy of ECM—exploiting the equivalence between local and aggregated feature classification—is highly generalizable. They suggest that future work could successfully port this mechanism to adjacent weakly supervised domains, such as object localization, semantic segmentation, and object detection.

Summary updated

BibTeX
@article{zhao2022equivalent,
  author = {Tao Zhao and Junwei Han and Le Yang and Dingwen Zhang},
  title = {{Equivalent Classification Mapping for Weakly Supervised Temporal Action Localization}},
  journal = {IEEE Transactions on Pattern Analysis and Machine Intelligence},
  year = {2022},
  doi = {10.1109/tpami.2022.3178957},
}
Figure