Spatial Hierarchy and Temporal Attention Guided Cross Masking for Self-supervised Skeleton-based Action Recognition

Xinpeng Yin, Wenming Cao
9/26/2024
cs.CV

Official code: YinxPeng/HA-CM-main (3 stars, last commit 2025-01-07).

Abstract

In self-supervised skeleton-based action recognition, the mask reconstruction paradigm is gaining interest in enhancing model refinement and robustness through effective masking. However, previous works primarily relied on a single masking criterion, resulting in the model overfitting specific features and overlooking other effective information. In this paper, we introduce a hierarchy and attention guided cross-masking framework (HA-CM) that applies masking to skeleton sequences from both spatial and temporal perspectives. Specifically, in spatial graphs, we utilize hyperbolic space to maintain joint distinctions and effectively preserve the hierarchical structure of high-dimensional skeletons, employing joint hierarchy as the masking criterion. In temporal flows, we substitute traditional distance metrics with the global attention of joints for masking, addressing the convergence of distances in high-dimensional space and the lack of a global perspective. Additionally, we incorporate cross-contrast loss based on the cross-masking framework into the loss function to enhance the model's learning of instance-level features. HA-CM shows efficiency and universality on three public large-scale datasets, NTU-60, NTU-120, and PKU-MMD. The source code of our HA-CM is available at https://github.com/YinxPeng/HA-CM-main.

View on arXivView PDF

Code Implementations(1)

HA-CM Project

30Shell, PythonSep 24, 20241 years ago

Similar Papers

Cite this paper

@article{yin2024spatial,
  title  = {Spatial Hierarchy and Temporal Attention Guided Cross Masking for Self-supervised Skeleton-based Action Recognition},
  author = {Xinpeng Yin and Wenming Cao},
  year   = {2024},
  eprint = {2409.17951},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.17951v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.17951.svg)](https://codeofpaper.com/paper/2409.17951)

Discussion