Learning from Temporal Spatial Cubism for Cross-Dataset Skeleton-based Action Recognition

Yansong Tang, Xingyu Liu, Xumin Yu, Danyang Zhang, Jiwen Lu, Jie Zhou

Abstract

Rapid progress and superior performance have been achieved for skeleton-based action recognition recently. In this article, we investigate this problem under a cross-dataset setting, which is a new, pragmatic, and challenging task in real-world scenarios. Following the unsupervised domain adaptation (UDA) paradigm, the action labels are only available on a source dataset, but unavailable on a target dataset in the training stage. Different from the conventional adversarial learning-based approaches for UDA, we utilize a self-supervision scheme to reduce the domain shift between two skeleton-based action datasets. Our inspiration is drawn from Cubism, an art genre from the early 20th century, which breaks and reassembles the objects to convey a greater context. By segmenting and permuting temporal segments or human body parts, we design two self-supervised learning classification tasks to explore the temporal and spatial dependency of a skeleton-based action and improve the generalization ability of the model. We conduct experiments on six datasets for skeleton-based action recognition, including three large-scale datasets (NTU RGB+D, PKU-MMD, and Kinetics) where new cross-dataset settings and benchmarks are established. Extensive results demonstrate that our method outperforms state-of-the-art approaches.

Introduction: The Challenge of Cross-Dataset Generalization

Skeleton-based action recognition—identifying human actions based on joint movements—has seen significant performance gains. However, these models often struggle to generalize when deployed in environments different from their training data. In real-world scenarios, a model trained on a labeled source domain (e.g., a controlled lab environment) must often be deployed in an unlabeled target domain (e.g., a new room with different camera angles).

The cross-dataset challenge: adapting from a labeled source domain to an unlabeled target domain.

This challenge is known as Unsupervised Domain Adaptation (UDA). While common in image processing, UDA is under-explored for skeleton data. Traditional UDA methods often rely on feature-level adversarial learning, which can inadvertently distort the unique structural and temporal properties of human skeletons. Furthermore, the field has lacked large-scale benchmarks to evaluate cross-dataset performance effectively.

Methodology: Temporal Spatial Cubism

To bridge the domain gap, this research introduces a self-supervised framework called Temporal Spatial Cubism. Inspired by the Cubist art movement, which deconstructs objects to reassemble them from multiple viewpoints, this method manipulates skeleton data in time and space to force the model to learn robust, domain-invariant features.

The complete Temporal Spatial Cubism framework, featuring self-supervised auxiliary tasks for domain adaptation.

The framework utilizes two primary auxiliary "pretext" tasks:

  1. Temporal Cubism (Tem-Cub): A skeleton sequence is divided into $N$ uniform temporal segments. These segments are shuffled, and the network is tasked with predicting their original chronological order. This forces the model to understand the temporal flow of actions.
  2. Spatial Cubism (Spa-Cub): The human skeleton is partitioned into five parts (trunk and four limbs). By swapping the coordinates of symmetrical parts (e.g., left and right arms), the model creates an uncoordinated pose. The network must then identify which parts were swapped, encouraging a deeper understanding of spatial structural dependencies.

Training and Inference

The model employs a multi-task learning strategy. It learns the primary action recognition task using labeled source data while simultaneously performing the Cubism auxiliary tasks on both source and unlabeled target data. During inference, predictions from the temporal and spatial networks are fused (TS-Cub) to generate the final action classification.

Experimental Benchmarks

To address the lack of large-scale benchmarks, the authors established new cross-dataset settings using overlapping classes from major datasets:

  • PKU-MMD (P) ↔ NTU RGB+D (N): 51 shared action categories.
  • NTU RGB+D (N) ↔ Kinetics (K): 12 shared categories, with Kinetics poses extracted via OpenPose to match the skeleton format.
  • Small-scale benchmarks: NTU → SBU and ORGBD → MSRDA3D for comparison with prior work.

Key Results and Insights

  • Superior Accuracy: The combined TS-Cub model consistently outperformed state-of-the-art UDA models. For the PKU-MMD to NTU RGB+D (Cross-View) task, TS-Cub achieved 59.2% accuracy, significantly higher than the 54.9% baseline.
  • Wild-to-Lab Transfer: In the challenging transition from Kinetics (unstructured YouTube videos) to NTU (lab environment), the model reached 29.6% accuracy, compared to a 22.5% baseline.
  • Efficiency: The method is highly optimized for real-time use, with the TS-Cub fusion model requiring only 0.211 ms per video during inference.
  • Structural Preservation: Operating directly on raw skeleton data (shuffling and swapping) proved more effective than feature-level alignment, as it preserves the intrinsic geometry of the human body.

Limitations and Future Directions

While effective, the model currently lacks semantic context regarding object interactions. Actions like "eating" or "putting an object in a pocket" are difficult to distinguish using skeleton data alone because the objects themselves are invisible to the network. Future work aims to incorporate RGB video modalities alongside skeleton data to capture both structural movement and environmental context.

Summary updated

BibTeX
@article{tang2022learning,
  author = {Yansong Tang and Xingyu Liu and Xumin Yu and Danyang Zhang and Jiwen Lu and Jie Zhou},
  title = {{Learning from Temporal Spatial Cubism for Cross-Dataset Skeleton-based Action Recognition}},
  journal = {ACM Trans. Multim. Comput. Commun. Appl.},
  year = {2022},
  url = {https://openreview.net/forum?id=nbd6UMN5Z3},
}
Figure