Temporal Relational Modeling with Self-Supervision for Action Segmentation

Dong Wang, Di Hu, Xingjian Li, Dejing Dou

Abstract

Action segmentation in long, untrimmed videos requires capturing complex temporal dependencies while maintaining computational efficiency. This paper introduces the Dilated Temporal Graph Reasoning Module (DTGRM), which employs a hierarchy of dilated graph convolutions to model action relationships across multiple timescales. To address the common issue of over-segmentation, we propose an auxiliary self-supervised task based on a "shuffle-and-correct" mechanism. Experimental results on the 50Salads, GTEA, and Breakfast datasets show that DTGRM significantly outperforms existing methods, particularly in reducing prediction flickering and improving segmentation smoothness.

Introduction

Action segmentation is the task of assigning a semantic label to every frame in a video, such as "cutting tomato" or "stirring." A primary challenge in this domain is temporal relational modeling: understanding the logical flow and dependencies between actions over time. For example, in a cooking scenario, "turning on the stove" typically precedes "frying."

While Graph Convolutional Networks (GCNs) are effective at modeling such relations, they are often computationally prohibitive for long videos because the number of edges grows quadratically with the number of frames. Furthermore, many current models suffer from over-segmentation, where predicted labels fluctuate rapidly between different actions, resulting in unrealistic outputs. This paper proposes a novel architecture and a self-supervised training strategy to overcome these limitations.

The Dilated Temporal Graph Reasoning Module (DTGRM)

To make GCNs scalable for long-range temporal reasoning, the authors propose a hierarchy of "dilated" graphs. Instead of connecting every frame to every other frame, a DTGRM layer at level $k$ connects a frame at time $t$ only to its neighbors at a specific dilation distance $\tau = 2^{k-1}$. By stacking these layers, the model can capture a vast temporal context with a very sparse graph structure (typically only 3 neighbors per node: itself, one past frame, and one future frame).

Within each Dilated Relational Graph Convolution (DRGC) Layer, the model utilizes two complementary graph types:

  • S-Graph (Similarity Graph): Connects frames that share similar predicted action probabilities.
  • L-Graph (Learned Graph): Employs a small sub-network to learn latent temporal relationships that may not be apparent from feature similarity alone.
The DTGRM architecture: frame features from a backbone are refined through multi-level dilated graph reasoning layers.

Self-Supervised Action Correction

To combat the "flickering" effect of over-segmentation, the authors introduce a "shuffle-and-correct" auxiliary task. During training, the model is presented with video sequences where pairs of frames have been randomly swapped. The model must perform two tasks simultaneously:

  1. Identify which frames were swapped.
  2. Predict the correct action label for those frames despite their incorrect temporal position.

This forces the network to learn the underlying global temporal logic of an activity rather than relying solely on local visual cues, making the final predictions much more robust and temporally consistent.

Evaluation and Results

The DTGRM was evaluated on three standard action segmentation benchmarks: 50Salads, GTEA, and the Breakfast Dataset. The model consistently outperformed state-of-the-art baselines like MS-TCN and BCN across various metrics.

On the Breakfast dataset—the largest of the three—DTGRM achieved a significant improvement in the F1@50 score, reaching 46.6% compared to MS-TCN's 37.9%. This metric specifically penalizes over-segmentation, highlighting the effectiveness of the proposed approach. Qualitative results demonstrate that the self-supervised component is essential for producing smooth, continuous action segments that align closely with the ground truth.

Qualitative comparison of action segmentation results on the 50Salads (a) and GTEA (b) datasets. DTGRM with self-supervision significantly reduces over-segmentation compared to the baseline.

Conclusion and Future Work

The Dilated Temporal Graph Reasoning Module provides an efficient framework for modeling long-range dependencies in video. By combining sparse, dilated graph convolutions with a targeted self-supervised task, the model effectively addresses the computational challenges of GCNs and the practical problem of over-segmentation. While the authors noted that the ratio of frame-swapping must be carefully tuned to avoid destroying the video's inherent structure, the success of this approach suggests broad applicability to other video understanding tasks, such as action detection and future prediction.

Summary updated

BibTeX
@inproceedings{wang2021temporal,
  author = {Dong Wang and Di Hu and Xingjian Li and Dejing Dou},
  title = {{Temporal Relational Modeling with Self-Supervision for Action Segmentation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i4.16377},
}
Figure