Abstract
Self-supervised temporal sequence alignment can provide rich and effective representations for a wide range of applications. However, existing methods for achieving optimal performance are mostly limited to aligning sequences of the same activity only and require separate models to be trained for each activity. We propose a novel framework that overcomes these limitations using sequence alignment via implicit clustering. Specifically, our key idea is to perform implicit clip-level clustering while aligning frames in sequences. This coupled with our proposed dual augmentation technique enhances the network's ability to learn generalizable and discriminative representations. Our experiments show that our proposed method outperforms state-of-the-art results and highlight the generalization capability of our framework with multi activity and different modalities on three diverse datasets, H2O, PennAction, and IKEA ASM.
Introduction
Temporal sequence alignment is the fundamental task of establishing frame-to-frame correspondences between two video sequences, such as matching the specific phase of a baseball pitch across different athletes. While critical for action recognition and skill transfer, existing self-supervised methods struggle with multi-activity datasets. Most current models are restricted to aligning sequences of the same activity; when trained on diverse data, the embedding space often collapses, as the model fails to distinguish between different actions (e.g., a bench press vs. a squat) while focusing solely on internal timing. Consequently, researchers have historically relied on training separate models for each activity or using expensive manual labels.
Methodology: The MASA Framework
The proposed MASA (Multi Activity Sequence Alignment) framework addresses these challenges through a unified model that learns discriminative representations without manual labels. The architecture consists of three primary pillars:
- Dual Augmentation Module: Rather than a single distortion, MASA generates two distinct augmented sequences ($S'$ and $S''$) from a source video using varying temporal drops and trimmings. This forces the model to develop robustness against variations in action speed and missing data.
- Context-Aware Module: Utilizing an attention-based encoder with both self-attention and cross-attention mechanisms, the model captures the internal temporal flow of individual videos while simultaneously identifying similarities across augmented sequences.
- Alignment-Cluster Module: This module performs implicit clip-level clustering. By employing a clustering predictor and a "stop-gradient" operation, the model is encouraged to discover "prototypes" for different activities. This process naturally groups similar activities in the latent space and separates dissimilar ones, preventing embedding collapse.
Experimental Evaluation
The researchers evaluated MASA across three diverse datasets using both RGB video and 3D skeletal data: PennAction (sports activities), H2O (first-person interactions), and IKEA ASM (complex furniture assembly).
Key Results
MASA achieved state-of-the-art (SOTA) performance across nearly all metrics and modalities. Notably, on the PennAction dataset (RGB), MASA reached 93.63% phase classification accuracy. On the H2O dataset, it demonstrated a significant leap to 83.68% accuracy, compared to the previous best of 68.85% (LA2DS).
Unlike competing methods whose performance often degrades when trained on multiple activities simultaneously, MASA remains stable or improves. This robustness confirms that implicit clustering creates a more organized and discriminative embedding space, effectively turning the presence of multiple activities into a representational advantage.
Conclusion and Future Work
MASA demonstrates that self-supervised alignment can be scaled to multi-activity scenarios through implicit clustering and dual augmentation. The framework's flexibility across modalities makes it highly suitable for AR/VR and privacy-sensitive applications. Future work will focus on improving precision for extremely long, non-monotonic video sequences and exploring end-to-end training from scratch to reduce reliance on pre-trained backbones.
Summary updated