Introduction
Temporal action segmentation is a critical task in video understanding, requiring the classification of every frame in long, untrimmed videos. While fully supervised methods have shown significant progress, they rely on the arduous collection of frame-wise annotations. This paper introduces a semi-supervised framework that drastically reduces the need for such labels. By leveraging two novel loss functions—Action Affinity and Action Continuity—the proposed method achieves performance with only 10% labeled data that rivals labor-intensive fully supervised approaches.
The Challenge of Semi-supervised Video Segmentation
In the semi-supervised setting, only a small fraction (e.g., 5-10%) of videos are fully labeled, while the rest remain unlabeled. Standard semi-supervised techniques from the image domain, such as simple data augmentation, do not translate effectively to temporal video features. Furthermore, naive pseudo-labeling often suffers from "confirmation bias," where the model reinforces its own incorrect predictions during training. The goal is to find robust constraints that can guide the model on unlabeled data without relying on potentially noisy self-generated labels.
Methodology
The proposed framework builds upon the Multi-Stage Temporal Convolutional Network (MS-TCN) backbone. It combines a standard supervised loss for labeled data with three key components for unlabeled data: Action Affinity Loss, Action Continuity Loss, and Adaptive Boundary Smoothing.
Action Affinity Loss
This component provides a global constraint by leveraging the consistency of action compositions in procedural videos (e.g., "making coffee"). For an unlabeled video, the model identifies the most similar "anchor" video in the labeled set based on predicted action frequencies. The action distribution of this anchor serves as a prior, guiding the learning of the unlabeled video via KL-divergence. This strategy grounds unsupervised learning in the reliable distributions of the labeled set.
Action Continuity Loss
To address the issue of "over-segmentation"—where a model rapidly flips between action labels—the Action Continuity Loss provides a local constraint. The model sub-samples action candidates from an unlabeled video and uses Dynamic Time Warping (DTW) to find the optimal alignment between these candidates and the frame-wise predictions. This process generates a structured pseudo-label that respects the natural temporal flow of actions.
Adaptive Boundary Smoothing (ABS)
Recognizing that action transitions are rarely instantaneous, ABS replaces "hard" one-hot labels at boundaries with sigmoid-based "soft" transitions. Crucially, the width of this smoothing window is adaptive, changing based on the duration of the action. This makes the supervision more robust to the noisy boundary estimates typically found in unlabeled data.
Experimental Results
The approach was evaluated on three standard benchmarks: Breakfast Actions, 50Salads, and GTEA. Key findings include:
- Efficiency with Minimal Data: On the 50Salads dataset, using only 5% labeled data, the method improved accuracy by 24.2% over the supervised baseline. With 50% labeled data, performance became comparable to 100% full supervision.
- Mitigating Confirmation Bias: Unlike naive pseudo-labeling, which often degrades performance, the Affinity and Continuity losses consistently provided gains.
- General Utility: Even in fully supervised settings, the Adaptive Boundary Smoothing (ABS) technique improved segmental F1 and Edit scores, demonstrating its broad applicability.
Conclusion and Future Work
This framework demonstrates that global and local constraints can effectively substitute for dense frame-wise labeling in temporal action segmentation. While highly effective, the method's performance is currently linked to the quality of anchor matching and pre-computed features. Future research may explore incorporating flexible sequence priors and end-to-end feature learning to further enhance robustness in high-variance datasets.
Summary updated