Introduction
Temporal Action Localization (TAL) is the task of identifying "what" happened in a video and "when" it occurred. While fully supervised methods achieve high accuracy, they rely on labor-intensive frame-by-frame annotations. Weakly Supervised TAL (WTAL) addresses this by using only video-level labels, which are significantly easier to obtain. However, WTAL faces significant challenges in distinguishing actions from "hard backgrounds"—snippets that visually resemble actions but are contextually irrelevant—and in separating similar action classes.
This paper introduces the Relational Prototypical Network (RPN), a framework that leverages relational prototype learning and a clustering loss to enhance action-background separation and capture inter-dependencies between action classes, achieving a significant performance boost on standard benchmarks.
The Challenge of Weak Supervision
The primary difficulty in WTAL lies in the lack of precise temporal boundaries. Models often struggle with two major hurdles:
- Action-Background Separation: Differentiating between the actual action and "hard backgrounds" (e.g., a crowd cheering after a goal or a splash after a dive).
- Action-Action Separation: Distinguishing between similar or co-occurring actions (e.g., "diving" vs. "cliff diving") without explicit boundary information.
The Relational Prototypical Network (RPN)
The RPN architecture moves beyond standard classification by representing each action class as a "prototype" in a high-dimensional feature space. Instead of just identifying discriminative frames, the model aims to cluster all relevant snippets around these prototypes.
Key Components:
- Prototypical Learning & Clustering Loss: A clustering loss is employed to push action features toward their respective prototypes. This creates intra-compact clusters, making it easier to isolate actions from background noise that does not fit the prototype cluster.
- Relational Prototype Embedding (GCN): Unlike traditional networks that treat classes as independent, RPN uses a Graph Convolutional Network (GCN) to model relationships between actions based on a dataset-derived co-occurrence matrix. This ensures that related actions have proximal prototypes in the embedding space.
- Similarity Weighting Module: This post-processing module filters backgrounds by weighting snippet similarities based on how well they match the learned prototypes.
- Prototype Updating Strategy: During inference, the model dynamically refines prototypes to better fit the specific visual characteristics of the video being processed, allowing for video-specific adaptation.
Key Insights
- Clustering vs. Classification: Standard classifiers often focus only on the most discriminative parts of an action. By contrast, clustering encourages the model to group all snippets of an action together, leading to more complete and accurate temporal detections.
- Contextual Modeling: By explicitly modeling co-occurrence via a GCN, the model can better resolve ambiguities between similar classes that often occur in similar contexts.
- Dynamic Adaptation: A global prototype learned from a whole dataset might not perfectly fit every individual video. The prototype updating strategy allows the model to adapt its representation to the specific visual characteristics of the current video.
Results and Discussion
The RPN was evaluated on the THUMOS14 and ActivityNet1.2 benchmarks, achieving state-of-the-art (SOTA) results:
- THUMOS14: The model achieved a 6.0% improvement in average mAP (from 40.5% to 46.5% using I3D features), even outperforming some fully supervised methods at lower IoU thresholds.
- ActivityNet1.2: RPN achieved an average mAP of 23.3%, outperforming previous best weakly supervised methods.
Qualitative analysis shows that the model effectively ignores "hard backgrounds," such as celebrations or splashes, which typically trigger false positives in other WTAL models. While some limitations remain—such as the computational overhead of the prototype updating strategy and occasional false positives in extremely similar patterns—the RPN represents a significant step forward in bridging the gap between weak and full supervision for video understanding.
Summary updated