Timestamp-Supervised Action Segmentation with Graph Convolutional Networks

Hamza Khan, Sanjay Haresh, Awais Nizamani, Andrey Konin, Zeeshan Zia, Quoc-Huy Tran

Abstract

We introduce a novel approach for temporal activity segmentation with timestamp supervision. Our main contribution is a graph convolutional network (GCN), which is learned in an end-to-end manner to exploit both frame features and connections between neighboring frames to generate dense framewise labels from sparse timestamp labels. The generated dense framewise labels can then be used to train the segmentation model. In addition, we propose a framework for alternating learning of both the segmentation model and the graph convolutional model, which first initializes and then iteratively refines the learned models. Detailed experiments on four public datasets, including 50 Salads, GTEA, Breakfast, and Desktop Assembly, show that our method is superior to the multi-layer perceptron baseline, while performing on par with or better than the state of the art in temporal activity segmentation with timestamp supervision.

Introduction

Temporal action segmentation—the task of assigning an action label to every frame in a video—is a fundamental challenge in computer vision. Traditionally, achieving high performance in this domain has required fully supervised training, where human annotators must label every single frame of a video. This process is prohibitively expensive and time-consuming.

To mitigate these costs, researchers have explored weakly supervised alternatives. Timestamp supervision represents a compelling middle ground: instead of labeling every frame, an annotator identifies a single representative frame for each action segment. While this reduces annotation effort by approximately sixfold, it creates a significant technical hurdle: how can a model effectively "fill in the blanks" when 99% of the training data remains unlabeled? This paper presents a Graph Convolutional Network (GCN) approach designed to propagate sparse labels across the temporal domain to generate dense, high-quality training signals.

Methodology

The core of the proposed approach is a learning-based framework that converts sparse timestamps into dense framewise labels through two primary components: a GCN-based label propagator and an alternating learning strategy.

Graph Convolutional Network (GCN) for Label Propagation

The video is modeled as a graph where each frame serves as a node. To capture temporal context, edges connect each frame to its neighbors within a fixed temporal window (typically 31 frames). Unlike simple binary connections, the framework utilizes a weighted graph construction. Edge weights are determined by the cosine similarity between frame features, ensuring that labels are more likely to propagate between frames that are visually similar. The GCN learns to map these sparse timestamp labels to the entire sequence by analyzing both individual frame features and the local graph topology.

Alternating Learning Framework

Training a GCN and a segmentation model simultaneously from scratch is inherently unstable due to the initial noise in frame features. To address this, the authors propose an alternating learning framework:

  1. Initialization: A segmentation model (specifically a Multi-Stage Temporal Convolutional Network) is initially trained using only the sparse timestamp labels.
  2. Refinement: The process then alternates between two steps:
  3. Training the GCN to generate dense labels using features extracted from the current segmentation model.
  4. Re-training the segmentation model using the dense labels generated by the GCN.

This iterative process allows the segmentation model to provide increasingly refined features to the GCN, which in turn provides more accurate dense labels for the next round of segmentation training.

Loss Functions

To ensure temporal consistency and accuracy, the model employs a combination of loss functions:

  • Classification Loss: Standard cross-entropy on labeled frames.
  • Smoothing Loss: Penalizes rapid, unrealistic transitions between action classes to prevent "flickering."
  • Confidence Loss: Accounts for the uncertainty of labels as the temporal distance from a known timestamp increases.

Experimental Results

The model was evaluated on four standard benchmarks: 50 Salads, Breakfast, GTEA, and Desktop Assembly. The results demonstrate that the GCN-based approach consistently outperforms previous state-of-the-art methods, such as ABE, which rely on hand-crafted heuristics for boundary detection.

  • GTEA: The method achieved a 75.6% Edit distance and an 81.5% F1@10 score, notably exceeding ABE’s 72.1% and 77.7%.
  • 50 Salads: The F1@10 score improved to 75.1% from the previous baseline of 73.7%.
  • Desktop Assembly: The model showed a significant jump in framewise accuracy, reaching 77.1% compared to ABE's 71.7%.

Qualitative analysis indicates that the GCN method produces much "cleaner" action segments. By learning the underlying structure of the video rather than relying on fixed heuristics, the model significantly reduces over-segmentation errors.

Conclusion

This research demonstrates that a learned GCN, combined with an alternating training framework, is a powerful tool for timestamp-supervised action segmentation. By effectively propagating sparse labels through a similarity-weighted graph, the method achieves performance that rivals or exceeds current weakly supervised state-of-the-art techniques. While a gap still exists between timestamp-supervised and fully supervised models, future work involving deep supervision and self-supervised pretext tasks may further bridge this divide.

Summary updated

BibTeX
@inproceedings{khan2022timestamp,
  author = {Hamza Khan and Sanjay Haresh and Awais Nizamani and Andrey Konin and Zeeshan Zia and Quoc-Huy Tran},
  title = {{Timestamp-Supervised Action Segmentation with Graph Convolutional Networks}},
  booktitle = {IROS},
  year = {2022},
  url = {https://openreview.net/forum?id=9tpnyeyPLh},
}
Figure