Timestamp-Supervised Action Segmentation from the Perspective of Clustering

Dazhao Du, Enhan Li, Lingyu Si, Fanjiang Xu, Fuchun Sun

Abstract

Action segmentation in long, untrimmed videos is a critical task often hindered by the high cost of per-frame "full supervision." This paper explores timestamp-supervised action segmentation, where only a single frame per action is labeled. We propose a novel framework that treats action segments as clusters. By employing a Pseudo-Label Ensembling (PLE) approach to identify high-confidence frames and an Iterative Clustering (IC) process to resolve boundary uncertainty, our method achieves state-of-the-art performance, occasionally rivaling fully supervised models.

Introduction: The Challenge of Ambiguous Boundaries

Traditional action segmentation requires annotators to mark the exact start and end of every action, a process known as full supervision. Timestamp supervision significantly reduces this burden by requiring only one representative frame per action. However, this sparsity introduces a major challenge: ambiguous intervals.

Comparison of supervision types and the resulting boundary ambiguity.

As shown in Figure 3, frames located at the transitions between actions—such as the moment between "adding oil" and "cutting cheese"—are difficult to classify. Most existing methods attempt to guess these labels immediately, leading to "error accumulation" where the model reinforces its own incorrect predictions. This research proposes a paradigm shift: instead of forcing early labels on tricky frames, we treat the problem as an evolving clustering task.

Methodology

The proposed framework is built upon three core components designed to handle uncertainty and improve feature representation.

1. Pseudo-Label Ensembling (PLE)

To avoid relying on a single fallible algorithm, we use an ensemble of three methods: an Energy Function, Constrained K-medoids, and a novel Temporal AGNES (a hierarchical clustering method restricted to adjacent frames). PLE only assigns a label if all three algorithms reach a consensus. Frames where they disagree are left unlabeled as "ambiguous intervals," preventing the model from learning from noise.

2. Iterative Clustering (IC)

As training progresses and the model learns more discriminative features, it becomes better equipped to handle ambiguity. The IC process uses these improved features to gradually expand labels from certain regions into ambiguous ones. By calculating the "center" of each action segment in the feature space, nearby ambiguous frames are assigned to the most similar segment.

3. Clustering Loss ($L_{clu}$)

To further refine the feature space, we introduce a clustering loss function. This loss encourages frames within the same action segment to cluster more tightly together while pushing different segments apart. This results in sharper, more discriminative boundaries between actions.

Experimental Results

The framework was evaluated on three standard benchmarks: 50Salads, GTEA, and the large-scale Breakfast dataset.

  • State-of-the-Art Performance: On the Breakfast dataset, the method achieved a frame-wise accuracy of 65.7%. This not only surpasses other timestamp-supervised methods but also performs comparably to advanced fully supervised models like BCN.
  • Metric Gains: On 50Salads, the model reached an F1@50 score of 63.7, significantly outperforming the previous leading method (GCN at 61.0).
  • The Benefit of Sparsity: Interestingly, ablation studies revealed that training with a small amount of "unlabeled" ambiguous frames (approximately 0.8% of the ground truth) actually yields better results than using 100% of ground truth labels. This suggests that human-provided boundary labels are often inconsistent, and the model's clustering approach can find more natural transitions.

Conclusion

By viewing action segmentation through the lens of clustering, this work demonstrates that "knowing what you don't know" is a powerful asset in weakly supervised learning. Postponing the labeling of ambiguous frames until the model has developed robust features prevents error propagation and leads to superior segmentation accuracy. This clustering perspective offers a promising direction for other weakly supervised video understanding tasks.

Summary updated

BibTeX
@inproceedings{du2023timestamp,
  author = {Dazhao Du and Enhan Li and Lingyu Si and Fanjiang Xu and Fuchun Sun},
  title = {{Timestamp-Supervised Action Segmentation from the Perspective of Clustering}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/77},
}
Figure