Contrastive Self-Supervised Learning for Skeleton Representations

Nico Lingg, Miguel Sarabia, Luca Zappella, Barry-John Theobald

Abstract

Human skeleton point clouds are commonly used to automatically classify and predict the behaviour of others. In this paper, we use a contrastive self-supervised learning method, SimCLR, to learn representations that capture the semantics of skeleton point clouds. This work focuses on systematically evaluating the effects that different algorithmic decisions (including augmentations, dataset partitioning and backbone architecture) have on the learned skeleton representations. To pre-train the representations, we normalise six existing datasets to obtain more than 40 million skeleton frames. We evaluate the quality of the learned representations with three downstream tasks: skeleton reconstruction, motion prediction, and activity classification. Our results demonstrate the importance of 1) combining spatial and temporal augmentations, 2) including additional datasets for encoder training, and 3) and using a graph neural network as an encoder.

Introduction

Human skeleton data, represented as 3D point clouds of joints, provides a robust modality for behavior understanding, gait analysis, and gesture recognition. However, skeleton data is often plagued by sensor noise, joint occlusions, and varying framerates. While supervised learning has shown success, it is constrained by the high cost of labeled data. Self-supervised learning (SSL) offers a promising alternative by leveraging unlabeled data. This research investigates the optimal configuration of an SSL pipeline for skeletons, specifically focusing on the impact of data augmentations and architectural choices on learning meaningful physical and semantic representations.

Methodology

The authors adapt the SimCLR contrastive learning framework to the skeleton domain. The process involves generating two augmented views of a single skeleton sequence and training an encoder to maximize the similarity between their representations while minimizing similarity with other sequences.

Architecture and Pre-processing

A Spatio-Temporal Graph Convolutional Network (ST-GCN) serves as the encoder backbone, treating the human body as a graph where joints are nodes and bones are edges. This architecture provides a strong inductive bias for modeling human kinetics compared to standard Multi-Layer Perceptrons (MLPs). To handle data from diverse sources, the authors developed a normalization pipeline that maps skeletons to a standard 15-joint format, normalized to a 2-meter height and oriented toward the camera.

The SimCLR framework (a) used for pre-training and the evaluation setup (b) for downstream tasks.

Data Augmentation and Scale

The model is pre-trained on a massive aggregate of six datasets, totaling over 40,084,689 frames, including NTU RGB+D 60 & 120, Trinity Speech-Gesture, Talking with Hands, DanceDB, and HDM05. The augmentation stack includes spatial transformations (joint dropout, jitter, axis mirroring, random scaling, and frame dropout) and temporal transformations (sequence speed-up and slow-down).

Results and Ablation Studies

The learned representations were evaluated on three downstream tasks: activity classification, skeleton reconstruction, and motion prediction.

Comprehensive ablation study results showing the impact of various training configurations on performance across different tasks and datasets.

Key Findings

  • Augmentation Synergy: Spatial and temporal augmentations are mutually dependent. As shown in the ablation results, removing spatial augmentations (leaving only temporal) leads to a significant 22.8% drop in activity classification accuracy on NTU-60.
  • Inductive Bias: The ST-GCN backbone significantly outperforms MLP alternatives, confirming that the network structure should reflect the physical structure of the human body.
  • Data Diversity: Pre-training on the full 40-million-frame corpus consistently outperformed training on single datasets, indicating that the model learns generalized human motion dynamics rather than dataset-specific quirks.
  • Task Performance: The model achieved 45.8% linear probe accuracy on NTU-60 (jumping to 64.7% with fine-tuning). For generative tasks, the frozen encoder achieved a Mean Absolute Error (MAE) of 23.4mm for motion prediction on the HDM05 dataset.

Conclusion

This work demonstrates that contrastive self-supervised learning can effectively capture complex human motion semantics from large-scale unlabeled skeleton data. The findings highlight the necessity of diverse data augmentations and graph-based architectures. Future research may explore longer temporal windows beyond the current 50-frame limit and incorporate multi-modal data, such as audio, to further refine gesture and activity representations.

Summary updated

BibTeX
@misc{lingg2022contrastive,
  author = {Nico Lingg and Miguel Sarabia and Luca Zappella and Barry-John Theobald},
  title = {{Contrastive Self-Supervised Learning for Skeleton Representations}},
  year = {2022},
  eprint = {2211.05304},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.05304},
}
Figure