TL;DR
This paper introduces CASE, a novel framework for weakly-supervised temporal action localization (WTAL) that leverages unsupervised snippet clustering to improve foreground and background (F&B) separation. By clustering video snippets and then classifying these clusters as foreground or background, CASE overcomes the limitations of traditional methods that rely solely on video-level classification losses, leading to more accurate action localization.
What Problem Does This Paper Address?
Weakly-supervised temporal action localization (WTAL) aims to pinpoint the exact start and end times of actions within videos using only video-level labels (e.g., "this video contains a person running"). A major challenge in WTAL is accurately separating "foreground" (action) snippets from "background" snippets. Existing methods often use a "localization-by-classification" approach, where they try to classify each snippet and use this to infer action boundaries. However, this can lead to noisy F&B separation because the video-level classification loss might not perfectly align with the precise localization needs, often favoring more salient snippets and ignoring the broader temporal structure. This paper tackles this "supervision gap" by proposing a method that doesn't solely rely on the video classification loss for F&B separation.
Methods
The core of the proposed method, CASE (Clustering-Assisted F&B SEparation), consists of two main components:
- Snippet Clustering Component (SCC): This component takes video snippet embeddings and groups them into multiple latent clusters (more than just two for F&B). The idea is that snippets within a cluster will share common characteristics, making them more "typical." This clustering is performed in a self-supervised manner, reducing reliance on the video classification loss.
- Cluster Classification Component (CCC): Once snippets are clustered, this component classifies each cluster as either foreground or background. This leverages the idea that clusters with distinct characteristics can be more reliably assigned to F&B categories.
To train these components without explicit F&B labels, CASE employs an online self-training algorithm. This involves iteratively refining pseudo-labels for both snippet clustering and cluster classification. A key innovation is the distribution-constrained labeling (DCL) strategy. This strategy imposes constraints on the distribution of pseudo-labels to ensure that:
- Snippet clusters are diverse and balanced (equipartition constraint).
- Cluster classifications are consistent with snippet-level F&B information.
- A dynamic distribution-constrained labeling (DDCL) variant is used to further improve snippet clustering by incorporating information from the baseline model.
Finally, the cluster assignments are used to refine the F&B separation of a standard WTAL baseline.
Datasets
The proposed method was evaluated on three publicly available benchmarks:
- THUMOS14
- ActivityNet v1.2
- ActivityNet v1.3
Key Insights and Ideas
- Clustering as a bridge: The paper argues that unsupervised snippet clustering can reveal underlying structures in video data that are missed by direct classification-based methods, effectively bridging the gap between classification and detection.
- Beyond binary clustering: Instead of directly clustering into foreground and background, using multiple latent clusters (e.g., 16 or 64) allows for capturing finer-grained visual characteristics within actions and backgrounds, leading to more robust F&B separation.
- Distribution constraints for better pseudo-labels: The DCL strategy is crucial for generating high-quality pseudo-labels for self-training. By enforcing specific distribution properties (like equipartition or consistency with prior distributions), the method avoids degenerate solutions and improves the reliability of learned clusters and classifications.
- Complementary F&B scores: The paper shows that the F&B scores derived from snippet clustering (PA) and the baseline attention mechanism (PA) are complementary, and fusing them leads to improved performance.
Key Results
- CASE significantly outperforms state-of-the-art weakly-supervised temporal action localization methods on THUMOS14, ActivityNet v1.2, and ActivityNet v1.3.
- On THUMOS14, CASE achieves an average mAP of 46.2%, surpassing the previous best by 1.7%.
- On ActivityNet v1.2, CASE improves upon ACGNet by 1.5% on average mAP.
- On ActivityNet v1.3, CASE improves upon ASM-Loc by 0.9% on average mAP.
- Ablation studies demonstrate the effectiveness of each component: SCC, CCC, DDCL, and the two-stream co-labeling strategy.
- The method shows strong generalization capabilities, consistently improving performance when integrated with different baselines.
Limitations and Future Work
- Class-agnostic F&B separation: The current work focuses primarily on class-agnostic F&B separation. Future work will address the classification of different action classes, which is also a crucial part of WTAL.
- Reliance on a baseline: CASE requires a WTAL baseline to provide semantic-level information for classifying clusters. The authors aim to develop a more self-contained clustering-based framework in the future.
Summary updated