Skeleton Motion Words for Unsupervised Skeleton-Based Temporal Action Segmentation

Uzay Gökay, Federico Spurio, Dominik R. Bach, Juergen Gall

TL;DR

This paper introduces Skeleton Motion Quantization (SMQ), a novel unsupervised method for segmenting human actions in skeleton data. SMQ learns "motion words" from sequences of joint movements, outperforming existing unsupervised methods by effectively capturing temporal dynamics and disentangling joint information.

What Problem Does This Paper Address?

Accurately identifying and segmenting human actions within continuous motion sequences is crucial for applications like human-computer interaction, sports analysis, and surveillance. While supervised methods achieve high performance, they require extensive, time-consuming, and expensive manual annotation of action boundaries. Existing unsupervised methods for temporal action segmentation have primarily focused on RGB video data and often struggle with the unique characteristics of skeleton sequences, such as their inherent structure and privacy-preserving nature. Furthermore, many unsupervised approaches are designed for short, single-action sequences, limiting their applicability to real-world scenarios where multiple actions occur within a single, untrimmed sequence. This paper aims to bridge this gap by developing an unsupervised method specifically tailored for skeleton-based temporal action segmentation that can discover and segment multiple actions within long sequences.

Methods

The proposed method, Skeleton Motion Quantization (SMQ), consists of three main components: an encoder, a quantization module, and a decoder.

  • Encoder: SMQ employs a temporal convolutional network (TCN) based encoder. A key innovation here is processing each joint's temporal sequence independently. This "joint-based disentanglement" in the embedding space is crucial, as it prevents the representation from being dominated by a few joints and ensures that the unique temporal dynamics of each joint are preserved.
  • Quantization Module: The encoded latent representations are then divided into non-overlapping temporal "patches." These patches are quantized using a learned codebook of "skeleton motion words." Each motion word represents a prototypical short-term skeleton motion pattern. A patch is assigned to its nearest motion word in the codebook, and this assignment directly generates the action segmentation for each frame.
  • Decoder: A decoder, mirroring the encoder's architecture, reconstructs the original skeleton sequences from the quantized motion words. This reconstruction serves as a training objective, ensuring that the learned motion words retain sufficient information.

The training process involves a combined loss function:

  • Reconstruction Loss: This loss encourages the decoder to accurately reconstruct the input sequence from the quantized motion words. The paper proposes an "inter-joint distance MSE loss," which is invariant to translation and rotation, making it more robust than standard MSE.
  • Commitment Loss: This loss pushes the latent embeddings to be close to their assigned motion words, ensuring that the learned motion words are discriminative and that the quantization is effective.

Datasets

The authors evaluated SMQ on three publicly available skeleton-based action datasets:

  • HuGaDB: Focuses on lower limb activities.
  • LARa: Features warehouse-related actions.
  • BABEL: A large-scale dataset with diverse 3D human motion sequences.

They also report results on the PKU-MMD v2 dataset in the supplementary material.

Key Insights and Ideas

  • Joint-based Disentanglement is Key: Treating each joint's temporal data independently in the embedding space significantly improves performance. This allows the model to capture the nuanced movements of individual body parts, leading to more accurate action segmentation.
  • Patching for Temporal Coherence: Quantizing motion over temporal patches, rather than individual frames, is crucial. This approach captures local temporal structure and prevents over-segmentation, leading to more semantically meaningful and temporally consistent action segments.
  • "Motion Words" as Discrete Action Primitives: The learned codebook of skeleton motion words acts as a set of discrete building blocks for human actions. This allows the model to discover recurring motion patterns across different sequences and subjects.
  • Unsupervised Learning for Complex Scenarios: SMQ demonstrates that it's possible to achieve competitive results in unsupervised temporal action segmentation on complex, multi-action sequences without any manual annotations, a significant step towards real-world applicability.

Key Results

SMQ consistently outperforms existing state-of-the-art unsupervised temporal action segmentation methods on the HuGaDB, LARa, and BABEL datasets across various metrics (MoF, Edit Score, F1@50). For instance, on HuGaDB, SMQ achieves a MoF of 42.0 and Edit Score of 36.1, surpassing the previous best by a notable margin. The paper also shows that SMQ outperforms self-supervised representation learning approaches when adapted for this task, highlighting the benefit of end-to-end learning for segmentation. Qualitatively, SMQ produces more coherent segments compared to methods like CTE and TOT, which tend to over-segment and require post-processing. While ASOT produces longer segments, SMQ strikes a better balance, identifying re-occurring actions without excessive fragmentation or overly large segments.

Limitations and Future Work

The authors acknowledge that identifying precise action transitions remains a challenge, as transitions are constrained to patch boundaries. Future work could explore hierarchical versions of SMQ to capture actions at different temporal scales and investigate methods to improve the detection of action boundaries.

Summary updated

BibTeX
@inproceedings{gokay2025skeleton,
  author = {Uzay Gökay and Federico Spurio and Dominik R. Bach and Juergen Gall},
  title = {{Skeleton Motion Words for Unsupervised Skeleton-Based Temporal Action Segmentation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure