SimMC: Simple Masked Contrastive Learning of Skeleton Representations for Unsupervised Person Re-Identification

Haocong Rao, Chunyan Miao · DOI

Introduction

Person re-identification (re-ID) is a critical task in computer vision, involving the matching of individuals across non-overlapping camera views or different time intervals. While traditional methods rely heavily on RGB data, skeleton-based re-ID has emerged as a robust alternative. 3D joint positions are inherently invariant to lighting fluctuations, clothing changes, and viewpoint variations. However, the field faces two primary challenges: a heavy reliance on large-scale manually annotated datasets and the use of overly complex, hand-crafted feature extraction models that lack generalizability.

To address these issues, we present SimMC (Simple Masked Contrastive learning), a lightweight, unsupervised framework designed to learn discriminative person representations from raw, unlabeled 3D skeleton sequences.

Methodology

The core of SimMC is a streamlined Siamese network architecture utilizing a simple Multi-Layer Perceptron (MLP) encoder. The framework's effectiveness stems from two novel contrastive learning objectives that operate on masked versions of the input data.

The SimMC framework architecture, illustrating the dual contrastive learning branches: Masked Intra-sequence Contrastive (MIC) and Masked Prototype Contrastive (MPC).

Masked Prototype Contrastive (MPC) Learning

SimMC employs random masking to generate multiple subsequences from a single raw skeleton sequence. These features are then clustered using the DBSCAN algorithm to identify "skeleton prototypes"—representative feature vectors that capture specific walking styles or body structures. The MPC loss encourages the model to pull a subsequence feature closer to its assigned prototype while pushing it away from others, effectively creating pseudo-labels for unsupervised training.

Masked Intra-sequence Contrastive (MIC) Learning

Recognizing that human motion is continuous, the MIC branch ensures that different masked views of the same sequence remain consistent. By applying a Siamese architecture with a stop-gradient operation, the model learns to extract stable, identity-defining features regardless of which specific frames are masked.

Experimental Results

The framework was evaluated across five major benchmarks: IAS-Lab, KS20, BIWI, KGBD, and the large-scale CASIA-B gait dataset.

Performance and Efficiency

SimMC achieved state-of-the-art results for unsupervised methods, improving top-1 accuracy by margins ranging from 7.4% to 52.0%. Remarkably, SimMC often outperformed supervised models despite having no access to identity labels during training. Furthermore, the model is exceptionally efficient; with only 0.15M parameters, it is significantly smaller than competing architectures like PoseGait (8.93M parameters), making it ideal for real-time edge deployment.

t-SNE visualization of learned representations. SimMC (c) demonstrates significantly clearer feature separation compared to existing methods like AGE (a) and SM-SGE (b).

Robustness and Generalizability

On the CASIA-B dataset, where skeletons are estimated from RGB video, SimMC outperformed traditional appearance-based methods, proving its resilience to noise. Additionally, SimMC acts as a "universal booster"; when used to fine-tune existing pre-trained models like SM-SGE, it provided performance gains of up to 28.2% mAP.

Conclusion

SimMC demonstrates that a simple architecture, when combined with effective masked contrastive learning strategies, can surpass complex supervised and unsupervised models in skeleton-based person re-identification. By leveraging prototypes as pseudo-labels and enforcing intra-sequence consistency, SimMC offers a highly efficient and robust solution for real-world surveillance and identification tasks. Future work will focus on refining hyperparameter selection and extending this approach to broader human action recognition scenarios.

Summary updated

BibTeX
@inproceedings{rao2022simmc,
  author = {Haocong Rao and Chunyan Miao},
  title = {{SimMC: Simple Masked Contrastive Learning of Skeleton Representations for Unsupervised Person Re-Identification}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/180},
}
Figure