Introduction
Temporal action segmentation is the task of assigning an action label (e.g., "peeling a potato," "stirring") to every frame in a long, untrimmed video. This process is a significant bottleneck in computer vision because frame-wise annotation is exceptionally labor-intensive and time-consuming. While researchers have explored "weak supervision"—using only a list of actions without timestamps—semi-supervised learning has been largely overlooked for this task. In a semi-supervised setting, full labels are available for only a small subset of videos, while the majority remain unlabeled.
The challenge in applying semi-supervised learning to video lies in the data's nature: actions vary in length, their ordering changes between videos, and standard contrastive learning methods designed for static images fail to capture the temporal continuity required for frame-level classification.
Methodology
The proposed Iterative Contrast-Classify (ICC) framework is the first semi-supervised approach for temporal action segmentation. It employs a two-stage process that evolves into an iterative loop.
Unsupervised Representation Learning
Initially, the model learns representations from unlabeled data:
- Input Clustering: Pre-trained I3D features are clustered using k-means to create initial "cluster labels."
- Multi-Resolution Representation: To capture both global context and fine-grained details, the model concatenates features from all six layers of a Temporal Convolutional Network (TCN) decoder. This allows the model to see the "big picture" and fine details simultaneously.
- Contrastive Loss: The model pulls together frames that share the same cluster label and are temporally proximal, while pushing apart frames with different clusters or those that are temporally distant.
The ICC Algorithm
The framework then cycles through two main steps:
- Classify Step: A linear classifier is trained on the small set of labeled videos and used to predict "pseudo-labels" for the unlabeled videos.
- Contrast Step: The model returns to the representation learning stage, using the newly generated pseudo-labels instead of noisy k-means clusters to refine the contrastive loss.
By cycling between these steps, the representations and the labels progressively improve each other.
Evaluation and Results
The ICC method was evaluated on three standard benchmarks: Breakfast Actions, 50Salads, and GTEA.
Performance and Label Efficiency
The framework demonstrates remarkable label efficiency. On the Breakfast dataset, using only 40% of the labeled data achieves performance comparable to a 100% fully-supervised setup. Furthermore, with as little as 5% labeled data, the model maintains impressive accuracy compared to standard supervised baselines.
Key Findings
- Multi-Resolution is Essential: Incorporating coarser, more global features from earlier TCN layers helps the model learn a "temporal continuity" prior, which smooths out predictions and reduces "over-segmentation" (rapid, erroneous label switching).
- State-of-the-Art Gains: Even in a fully supervised setting (100% labels), the ICC framework improves Mean-over-Frames (MoF) accuracy by +1.8% to +5.6% across the datasets compared to the base C2F-TCN model.
- Qualitative Improvement: The approach significantly boosts "Edit" and "F1" scores, indicating cleaner and more reliable segmentations.
Conclusion
Iterative Contrast-Classify (ICC) effectively bridges the gap between limited labeled data and large unlabeled video collections. While the iterative process adds computational overhead and performance on very small datasets can be limited by class coverage, ICC represents a significant step forward in reducing the annotation burden for temporal action segmentation. Future work may explore end-to-end feature learning to further enhance the framework's autonomy.
Summary updated