Permutation-Aware Action Segmentation via Unsupervised Frame-to-Segment Alignment
Quoc-Huy Tran, Ahmed Mehmood, Muhammad Ahmed, Muhammad Naufil, Anas Zafar, Andrey Konin, M. Zeeshan Zia
TL;DR
This work tackles unsupervised temporal activity segmentation by introducing UFSA, a transformer-based framework that jointly leverages frame-level cues and segment-level cues through a frame-level encoder, a segment-level transcript decoder, and a frame-to-segment alignment module. It employs permutation-aware pseudo labels derived from temporal optimal transport to train all components without explicit action annotations, and it estimates transcripts from frame-level predictions to enable action permutations. Across four public datasets, UFSA achieves state-of-the-art or competitive results in MOF and F1-Score, demonstrating the effectiveness of incorporating high-level transcript information and permutation-aware alignment in unsupervised settings. The approach offers a scalable, annotation-free path to accurate activity segmentation with strong generalization across diverse tasks.
Abstract
This paper presents an unsupervised transformer-based framework for temporal activity segmentation which leverages not only frame-level cues but also segment-level cues. This is in contrast with previous methods which often rely on frame-level information only. Our approach begins with a frame-level prediction module which estimates framewise action classes via a transformer encoder. The frame-level prediction module is trained in an unsupervised manner via temporal optimal transport. To exploit segment-level information, we utilize a segment-level prediction module and a frame-to-segment alignment module. The former includes a transformer decoder for estimating video transcripts, while the latter matches frame-level features with segment-level features, yielding permutation-aware segmentation results. Moreover, inspired by temporal optimal transport, we introduce simple-yet-effective pseudo labels for unsupervised training of the above modules. Our experiments on four public datasets, i.e., 50 Salads, YouTube Instructions, Breakfast, and Desktop Assembly show that our approach achieves comparable or better performance than previous methods in unsupervised activity segmentation. Our code and dataset are available on our research website: https://retrocausal.ai/research/.
