Temporal action segmentation means labeling every frame of a long video (say, twenty minutes of someone making breakfast) with the action being performed. Models trained this way have a well-known failure called over-segmentation: predictions flicker between classes from frame to frame instead of forming clean, contiguous intervals. The problem gets worse when only a few videos are labeled. Semi-supervised methods then train on pseudo-labels, meaning labels the model guesses for unlabeled videos, and those guesses are themselves produced frame by frame, so they flicker too. The model then learns to reproduce its own flickering errors.
We propose to produce pseudo-labels a different way. All frames from all videos become nodes in one graph. The few labeled videos supply known labels, and those labels spread across the graph by label propagation, a classical semi-supervised method in which labels diffuse along strong similarity edges until they settle. The graph has two kinds of edges. Semantic edges connect visually similar frames across videos. Temporal edges connect adjacent frames within a video, and each temporal edge is weakened wherever a separate detector predicts an action boundary. Labels therefore flow freely along a video until they reach a likely transition and then stop. The result is pseudo-labels that are piecewise constant by construction and come from the labeled videos rather than from the model's own classification head. The segmentation model is trained on these labels, its improved features rebuild the graph, and the cycle repeats a small number of times.
Core Claim
We claim that much of the over-segmentation in semi-supervised action segmentation is inherited from how pseudo-labels are generated, not from the segmentation network itself. If that is right, then replacing frame-wise self-training with closed-form, boundary-gated graph diffusion should reduce over-segmentation in the pseudo-labels and in the final model. We expect the gain to show up in Edit score and segmental F1 more than in frame accuracy, and to come at lower training cost than iterative contrastive pipelines.
The mechanism is a single linear solve. Let $W^{s}$ be a sparse $k$-nearest-neighbor matrix of semantic similarities between frame embeddings. Let $W^{t}$ hold the temporal edges between frames $i$ and $i+1$ of the same video, each with weight $(1-b_i)\exp(-\lVert z_i - z_{i+1}\rVert^2/\sigma^2)$. Here $b_i \in [0,1]$ is the predicted boundary probability between the two frames, $z_i$ is the embedding of frame $i$, and $\sigma$ is a bandwidth. Let $S$ be the symmetrically normalized version of $W = W^{s} + \lambda W^{t}$, where $\lambda$ trades off the two edge types. Let $Y$ be the one-hot label matrix, with rows set to zero for unlabeled frames. The propagated soft labels are
$$F = (1-\alpha)(I - \alpha S)^{-1} Y,$$
where $\alpha \in (0,1)$ controls how far labels travel. $F$ is computed with conjugate gradient on the sparse system. We never train a graph network. This follows the observation in On the Equivalence of Decoupled Graph Convolution Network and Label Propagation that decoupled graph networks reduce to "propagate, then train." Following its PTA variant (Propagation then Training Adaptively), we weight each pseudo-label's loss by its propagated confidence, with a temperature that rises over training.
Two consequences matter. First, label propagation has no equal-cluster-size prior. It therefore avoids the equal-partition assumption that its authors identify as a weakness of Unsupervised Action Segmentation by Joint Representation Learning and Online Clustering. Second, the semantic edges let a repeated action such as "pour milk," performed again minutes later or in a different kitchen, receive labels from labeled examples anywhere in the dataset rather than only from a local window.
Relation to Prior Work
The closest work is Timestamp-Supervised Action Segmentation with Graph Convolutional Networks. It builds a per-video graph of frames within a fixed 31-frame window, weights edges by cosine similarity, and trains a graph network to spread timestamp labels, alternating with retraining an MS-TCN segmentation model. Our proposal differs in three ways. Our edges are cut by predicted boundaries rather than left ungated. Our graph spans frames across videos rather than staying inside a local window. Our propagation is a closed-form solve rather than a trained graph network, a point that paper itself motivates because it reports that joint graph-network training from scratch was unstable.
Two semi-supervised methods define the regime we target. Iterative Contrast-Classify for Semi-supervised Temporal Action Segmentation (ICC) alternates between classifier pseudo-labels and a contrastive representation step, starting from k-means on I3D features (I3D being a pretrained video network that produces per-frame features). Leveraging Action Affinity and Continuity for Semi-supervised Temporal Action Segmentation matches each unlabeled video to an anchor labeled video and aligns candidate action orders with dynamic time warping. That paper also reports that naive pseudo-labeling suffers from confirmation bias, which is the problem we target. Both methods derive frame labels either from the model's own head or from video-level matching; neither diffuses labels over a frame graph. We keep their backbones and evaluation protocol and replace only the pseudo-label generator.
The boundary gate is borrowed from fully supervised work. Alleviating Over-segmentation Errors by Detecting Action Boundaries (ASRF) trains a class-agnostic boundary branch and uses it for segment-wise voting. Boundary-Aware Cascade Networks for Temporal Action Segmentation uses predicted boundaries as hard barriers to pooling. We apply the same idea to the adjacency matrix of the propagation step, which, as far as the material shows, no semi-supervised method has done.
Timestamp-Supervised Action Segmentation from the Perspective of Clustering constrains our design. It shows that leaving ambiguous boundary frames unlabeled beats forcing labels onto them. We adopt this directly: frames whose maximum propagated confidence falls below a threshold receive no pseudo-label.
Research Program
We build three components. The first is a class-agnostic boundary detector, an ASRF-style regression head trained on the labeled videos. Our working hypothesis is that "is this a transition?" transfers from labeled to unlabeled videos better than "which action is this?" does, and we will test that hypothesis directly. The second is the graph and solver: per-frame embeddings, approximate nearest-neighbor semantic edges with mutual-kNN pruning, gated temporal edges, and a conjugate-gradient solve. Breakfast contains about 77 hours of video, so we temporally downsample features (a standard practice in this area) to keep the graph tractable. The third is the segmentation backbone, MS-TCN or C2F-TCN to match the baselines, trained with confidence-weighted cross-entropy on propagated labels plus the usual truncated smoothing loss.
The iterative refinement loop is deliberately short. In round 0, embeddings come from frozen I3D features. In each later round, embeddings come from the current backbone's penultimate layer, the boundary detector is fine-tuned with confident pseudo-boundaries added, and propagation is re-solved. We cap the loop at three rounds and track pseudo-label accuracy on held-out ground truth of the unlabeled training videos, a diagnostic only. This lets us detect the drift that the clustering literature warns about, where an early wrong grouping is reinforced by later representation updates.
Baselines
The naive reference point is the same backbone trained only on the labeled subset, at 5% and 10% of videos labeled on 50Salads, GTEA, and Breakfast. Every semi-supervised gain is measured against this model. For context, Leveraging Action Affinity and Continuity reports a 24.2% accuracy gain over this kind of baseline on 50Salads with 5% labels.
The strongest existing competitors are ICC and the Affinity-and-Continuity method. ICC reports that 40% labeled data on Breakfast matches full supervision, and that its iterative scheme improves MoF (mean-over-frames accuracy) by +1.8% to +5.6% over C2F-TCN when fully supervised. For the 5% and 10% settings on each dataset, no reported absolute result was found on Lacuna for either method. We will therefore rerun both on the same splits, with the same I3D features, the same backbone family, and a matched number of hyperparameter trials. We will also report their wall-clock training time, since ICC's full-dataset contrastive passes are expensive.
Fully supervised models provide the ceiling: MS-TCN reports 80.7% frame accuracy on 50Salads, and ASFormer reports 85.6% accuracy, 85.1 F1@10, and 79.6 Edit on 50Salads.
The ablation that isolates the key ingredient is the identical pipeline with the boundary gate removed, so that temporal edges carry only feature similarity. This variant approximates the ungated graph of the Timestamp GCN paper, but inside our solver. A second ablation removes the semantic edges, leaving per-video chains plus labeled anchors only. A third replaces propagation with ICC-style classifier pseudo-labels while keeping everything else fixed.
Beating the baselines means two things. Edit score and F1@50 must be higher than both ICC and Affinity-and-Continuity at 5% and 10% labels, by more than the standard deviation across three label splits. Frame accuracy must be no worse, and training time must be lower than ICC's.
Why not just…?
Why not just self-train and clean up the pseudo-labels with boundary voting? This is the most serious threat. One could take classifier pseudo-labels, as ICC does, and apply ASRF-style boundary detection with majority voting inside each predicted segment. That would also yield piecewise-constant labels. ASRF's own authors note that voting cements a segment the classifier gets mostly wrong. Our claim is that diffusion from labeled videos corrects such segments, whereas voting cannot. We test this directly by running "classifier pseudo-labels plus voting" with the same boundary detector. We then compare pseudo-label accuracy separately on segments where the classifier was majority-wrong. If voting matches propagation there, the graph adds nothing and we would reframe the contribution as boundary-gated self-training.
Why not just use the Timestamp GCN graph? That method's fixed 31-frame window and ungated cosine edges are exactly what our gate and semantic edges replace. Its trained graph network also needed alternating schedules to stay stable. The ungated ablation measures what the gate contributes, and the no-semantic-edge ablation measures what non-local edges contribute. In the timestamp setting we also compare against its reported 50Salads F1@50 of 61.0 and the clustering method's 63.7, both as reported in Timestamp-Supervised Action Segmentation from the Perspective of Clustering. There, timestamps simply become extra labeled nodes.
Why not just use a stronger backbone on the labeled subset? The labeled-only baseline is also trained with ASFormer, a stronger transformer-based backbone. If ASFormer trained on only 5% of videos closes most of the gap, then pseudo-label quality is not the bottleneck and our claim fails.
Why not just cluster offline and smooth? Leveraging Triplet Loss for Unsupervised Action Segmentation reports that clustering raw features with TW-FINCH reaches only 49.8 F1 on Breakfast. TOT+TCL reports 48.2 F1 on 50Salads, against 36.3 for offline CTE. These results suggest that static features cap the quality of offline grouping. Our round-0 graph, built on frozen I3D features, is effectively this alternative made semi-supervised. The gain from rounds 1 through 3 measures whether refining the representation matters.
Decisive Checks
Three outcomes would settle the claim. First, on unlabeled training videos, propagated pseudo-labels must show a predicted-to-true segment-count ratio closer to 1 than ICC's pseudo-labels, at equal or better frame accuracy. If they do not, the premise fails. Second, the gated graph must beat the ungated graph on Edit score at 5% labels on all three datasets. Third, class-agnostic boundary F1 on unlabeled videos must exceed the class-level frame accuracy of the labeled-only model. If it does not, the gate inherits the same errors it is meant to prevent, and the design needs a boundary detector trained jointly with the propagated labels instead.
References
- On the Equivalence of Decoupled Graph Convolution Network and Label Propagation
- Unsupervised Action Segmentation by Joint Representation Learning and Online Clustering
- Timestamp-Supervised Action Segmentation with Graph Convolutional Networks
- Iterative Contrast-Classify for Semi-supervised Temporal Action Segmentation
- Leveraging Action Affinity and Continuity for Semi-supervised Temporal Action Segmentation
- Alleviating Over-segmentation Errors by Detecting Action Boundaries
- Boundary-Aware Cascade Networks for Temporal Action Segmentation
- Timestamp-Supervised Action Segmentation from the Perspective of Clustering
- MS-TCN: Multi-Stage Temporal Convolutional Network for Action Segmentation
- ASFormer: Transformer for Action Segmentation
- Leveraging triplet loss for unsupervised action segmentation