A Generically Contrastive Spatiotemporal Representation Enhancement for 3D Skeleton Action Recognition
Shaojie Zhang, Jianqin Yin, Yonghao Dang
TL;DR
This work tackles ambiguous samples in skeleton-based action recognition by explicitly modeling latent data distributions. It introduces CSRE, a generically plug-and-play framework that decomposes spatiotemporal representations into spatial-specific and temporal-specific features using STFD and applies cross-sequence contrast with dual memory banks via two InfoNCE losses, combined with standard cross-entropy. The total objective is $L = L_{CE} + L_{NCE}^{spa} + L_{NCE}^{tem}$. Empirically, CSRE shows consistent improvements across five representative encoders on five benchmarks, demonstrating strong generalization and potential for robust, fine-grained action recognition.
Abstract
Skeleton-based action recognition is a central task in computer vision and human-robot interaction. However, most previous methods suffer from overlooking the explicit exploitation of the latent data distributions (i.e., the intra-class variations and inter-class relations), thereby leading to confusion about ambiguous samples and sub-optimum solutions of the skeleton encoders. To mitigate this, we propose a Contrastive Spatiotemporal Representation Enhancement (CSRE) framework to obtain more discriminative representations from the sequences, which can be incorporated into various previous skeleton encoders and can be removed when testing. Specifically, we decompose the representation into spatial- and temporal-specific features to explore fine-grained motion patterns along the corresponding dimensions. Furthermore, to explicitly exploit the latent data distributions, we employ the attentive features to contrastive learning, which models the cross-sequence semantic relations by pulling together the features from the positive pairs and pushing away the negative pairs. Extensive experiments show that CSRE with five various skeleton encoders (HCN, 2S-AGCN, CTR-GCN, Hyperformer, and BlockGCN) achieves solid improvements on five benchmarks. The code will be released at https://github.com/zhshj0110/CSRE.
