Cross-Video Contextual Knowledge Exploration and Exploitation for Ambiguity Reduction in Weakly Supervised Temporal Action Localization

Chunhui Zhao, Songchun Zhang, Chunhui Zhao 0001

TL;DR

This paper tackles the challenge of precisely locating actions within videos using only video-level labels (weak supervision). They introduce a novel framework that leverages "cross-video contextual knowledge" – learning from how actions appear across an entire dataset, not just within individual clips – to reduce ambiguity in both action classification and temporal localization.

What Problem Does This Paper Address?

Temporal action localization (TAL) aims to pinpoint the start and end times of specific actions in untrimmed videos. While fully supervised methods achieve high accuracy, they require expensive frame-level annotations. Weakly supervised temporal action localization (WSTAL) offers a more practical alternative by using only video-level labels (e.g., "this video contains a boxing match"). However, existing WSTAL methods often struggle with two key issues:

  1. Ambiguous Classification Learning: Models tend to focus on the most discriminative parts of an action, ignoring less prominent segments. This leads to an incomplete understanding of action patterns and difficulty distinguishing actions from backgrounds.
  2. Localization Ambiguity: The lack of precise frame-level supervision makes it hard for models to accurately define the boundaries of an action, especially for short or complex actions.

This paper argues that by exploiting the relationships and similarities between action instances across different videos in a dataset, we can build a richer understanding of action semantics and overcome these limitations.

Methods

The proposed approach, named Robust Cross-Video Contextual Knowledge Exploration and Exploitation (RMGCL-GKSA), consists of two main modules:

  1. Robust Memory-Guided Contrastive Learning (RMGCL):
    • Memory Bank: A continuously updated memory bank stores representative features of action segments from the entire training dataset. This bank acts as a "dataset-level memory" of action patterns.
  2. Contrastive Learning: This module uses the memory bank to learn a more structured and compact embedding space. It encourages features from the same action category to be closer together in the embedding space, while pushing features from different categories further apart. A key innovation here is a "noise-tolerant contrastive loss" designed to handle the inherent noise in weakly supervised labels.
  3. Global Knowledge Summarization and Aggregation (GKSA):
    • Knowledge Summarization: This module compresses the rich information in the memory bank into a smaller set of "latent codewords." This is achieved using a DETR-like architecture with sparse cross-attention, making the knowledge more manageable and efficient.
  4. Knowledge Aggregation: The summarized knowledge from the latent codewords is then propagated to the current video segment features. This is done via a non-parametric attention mechanism, enriching the segment features with global, cross-video context.
  5. Pseudo-Label Generation: The enriched features are used to generate high-confidence "pseudo-labels" (predicted frame-level action annotations). These pseudo-labels are then used to provide online supervision to the main classification branch, effectively improving temporal localization.

The overall framework integrates these modules with a baseline WSTAL architecture, creating an end-to-end system.

Datasets

The proposed method was evaluated on three widely used benchmark datasets:

  • THUMOS14: A standard dataset for temporal action localization.
  • ActivityNet1.3: Another large-scale benchmark for temporal action localization.
  • FineAction: A dataset known for its fine-grained action classes, posing a greater challenge for WSTAL methods.

Key Insights and Ideas

  • Cross-Video Context is Crucial: The paper strongly advocates for moving beyond single-video analysis. By learning from the entire dataset's action patterns, models can gain a more robust understanding of action semantics, even for visually similar but semantically different actions (e.g., different types of jumps).
  • Memory Bank as a Knowledge Repository: The memory bank acts as a powerful tool to consolidate and access diverse action representations, including less prominent segments that are often overlooked.
  • Summarization for Efficiency: Compressing the large memory bank into latent codewords is essential for making the global knowledge usable and efficient, especially for inference.
  • Pseudo-Labels as a Bridge: Generating high-quality pseudo-labels from enriched features is key to bridging the gap between weak video-level supervision and the need for frame-level localization.

Key Results

  • State-of-the-Art Performance: The proposed method achieved state-of-the-art results on THUMOS14, ActivityNet1.3, and FineAction datasets, outperforming previous methods by significant margins (e.g., 1.8% mAP on THUMOS14).
  • Generalization: The framework demonstrated strong generalization ability, significantly improving the performance of existing WSTAL baseline models when integrated.
  • Qualitative Improvements: Visualizations showed that the method generates more accurate pseudo-labels compared to other methods, effectively suppressing noisy background instances.

Limitations and Future Work

  • Computational Cost: The paper acknowledges that maintaining a large action memory bank during training and performing cross-video contrastive learning requires significant GPU memory and can lead to long training times.
  • Domain Gap: Differences between training and testing data distributions could potentially impact the learning of the memory bank and the quality of pseudo-labels.
  • Slow-Motion Actions: The method showed some difficulty in accurately capturing complete action instances with slow-motion features, which can be confused with background instances. The authors suggest that methods like [32] could help address this.
  • Future Work: The authors suggest that the framework can be easily plugged into other WSTAL methods, implying potential for broader impact. The efficiency of the memory bank and the potential for domain adaptation are also implicit areas for future research.

Summary updated

Abstract

Weakly supervised temporal action localization (WSTAL) aims to localize actions in untrimmed videos using video-level labels. Despite recent advances, existing approaches mainly follow a localization-by-classification pipeline, generally processing each segment individually, thereby exploiting only limited contextual information. As a result, the model will lack a comprehensive understanding (e.g. appearance and temporal structure) of various action patterns, leading to ambiguity in classification learning and temporal localization. Our work addresses this from a novel perspective, by exploring and exploiting the cross-video contextual knowledge within the dataset to recover the dataset-level semantic structure of action instances via weak labels only, thereby indirectly improving the holistic understanding of fine-grained action patterns and alleviating the aforementioned ambiguities. Specifically, an end-to-end framework is proposed, including a Robust Memory-Guided Contrastive Learning (RMGCL) module and a Global Knowledge Summarization and Aggregation (GKSA) module. First, the RMGCL module explores the contrast and consistency of cross-video action features, assisting in learning more structured and compact embedding space, thus reducing ambiguity in classification learning. Further, the GKSA module is used to efficiently summarize and propagate the cross-video representative action knowledge in a learnable manner to promote holistic action patterns understanding, which in turn allows the generation of high-confidence pseudo-labels for self-learning, thus alleviating ambiguity in temporal localization. Extensive experiments on THUMOS14, ActivityNet1.3, and FineAction demonstrate that our method outperforms the state-of-the-art methods, and can be easily plugged into other WSTAL methods.
BibTeX
@article{zhao2024cross,
  author = {Chunhui Zhao and Songchun Zhang and Chunhui Zhao},
  title = {{Cross-Video Contextual Knowledge Exploration and Exploitation for Ambiguity Reduction in Weakly Supervised Temporal Action Localization}},
  journal = {IEEE TCSVT},
  year = {2024},
  doi = {10.1109/tcsvt.2023.3341881},
}
Figure