Boosting Weakly-Supervised Temporal Action Localization with Text Information

Guozhang Li, De Cheng, Xinpeng Ding, Nannan Wang, Xiaoyu Wang, Xinbo Gao

Introduction

Temporal Action Localization (TAL) is a critical task in video understanding, requiring models to identify both the category and the precise temporal boundaries (start and end times) of actions within untrimmed videos. While fully supervised methods have achieved significant success, they rely on labor-intensive frame-level annotations. Weakly-Supervised Temporal Action Localization (WTAL) offers a more scalable alternative by training models using only video-level labels. However, WTAL faces inherent challenges in boundary precision. This paper introduces a novel framework that leverages text information—specifically action labels and descriptions—to bridge the gap between weak supervision and precise localization.

The Challenge of Weak Supervision

Standard WTAL models typically rely solely on visual features, which often leads to two primary failure modes:

  1. Over-complete Localization: Models frequently struggle to distinguish between the action and its context. For example, a model might include the pool deck as part of a "diving" action because they frequently co-occur.
  2. Incomplete Localization: Models often gravitate toward the most discriminative frames (the "peaks" of an action) while ignoring the less distinct but necessary parts of the sequence, such as the approach or the conclusion of a movement.

This research argues that the semantic information embedded in text labels is an underutilized resource that can provide the necessary anchors to resolve these ambiguities.

Proposed Framework: Leveraging Textual Semantics

The authors propose a dual-pronged approach that treats action labels not just as numerical indices, but as rich semantic descriptors. The framework consists of two complementary modules and a consistency constraint.

Text-Segment Mining (TSM)

The TSM module serves as a discriminative objective. It treats action labels as text queries and employs a "matched filter" approach. By comparing these text queries against all video segments across the dataset, the module pulls semantically matching segments closer in the feature space while pushing irrelevant segments away. This process enlarges the inter-class difference, effectively helping the model suppress background noise and reducing over-complete localization.

Video-text Language Completion (VLC)

To address incomplete localization, the authors introduce the VLC module, a generative task. In this setup, the model is provided with a text description where the action label is masked (e.g., "a video of [MASK]"). The model must then use the video segments to "fill in the blank." To successfully predict the masked word, the model is forced to attend to all semantically relevant segments of the action, thereby enhancing intra-class integrity and ensuring the entire action duration is captured.

Self-Supervised Consistency Constraint

Because TSM is inherently "strict" (focusing on the best match) and VLC is "inclusive" (focusing on context), the authors apply a consistency loss between the attention maps of both modules. This constraint ensures that both the discriminative and generative objectives are aligned, allowing them to mutually refine the localization boundaries.

Experimental Results

The framework was evaluated on two major benchmarks, demonstrating state-of-the-art performance:

  • THUMOS14: The model achieved an average mean Average Precision (mAP) of 37.2%, surpassing the previous state-of-the-art (RSKP) of 35.9%.
  • ActivityNet1.3: The model set a new benchmark for weakly-supervised methods with an average mAP of 26.0%.

Plug-and-Play Capability

A significant finding of this research is the framework's versatility. The TSM and VLC modules can be integrated into existing WTAL architectures. For instance, when added to the BaSNet model, the framework boosted its average mAP on THUMOS14 from 27.3% to 30.6%, demonstrating its effectiveness as a general-purpose enhancement for the field.

Conclusion and Future Work

By integrating textual semantics into the WTAL pipeline, this research provides a robust solution to the common pitfalls of over-complete and incomplete localization. While the framework introduces additional computational overhead during training due to increased model complexity, the performance gains and the ability to enhance existing models mark a significant step forward. Future research may explore more efficient implementations and the use of more granular text descriptions to further refine temporal boundaries.

Summary updated

BibTeX
@inproceedings{li2023boosting,
  author = {Guozhang Li and De Cheng and Xinpeng Ding and Nannan Wang and Xiaoyu Wang and Xinbo Gao},
  title = {{Boosting Weakly-Supervised Temporal Action Localization with Text Information}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure