Balanced Representation Learning for Long-tailed Skeleton-based Action Recognition

Hongda Liu, Yunlong Wang, Min Ren, Junxing Hu, Zhengquan Luo, Guangqi Hou, Zhenan Sun

Abstract

Skeleton-based action recognition models often suffer from a significant performance drop when applied to real-world, imbalanced datasets. This paper presents Balanced Representation Learning (BRL), a framework designed to mitigate the "performance collapse" on rare actions without compromising accuracy on frequent ones. BRL integrates a novel data augmentation strategy, Spatial-Temporal Action Exploration (STAE), with a two-stage Detached Action-Aware Learning (DAA) schedule. Experimental results on major benchmarks like NTU RGB+D and Kinetics-400 demonstrate that BRL consistently outperforms state-of-the-art methods, particularly in the "tail" of the data distribution.

Introduction

While human action recognition has seen significant progress using balanced datasets, real-world data typically follows a long-tailed distribution. In such scenarios, a few "head" classes (e.g., walking) are over-represented, while many "tail" classes (e.g., falling) have very few samples. Current state-of-the-art models are often biased toward majority classes, leading to skewed representation spaces where rare actions are frequently misclassified. Traditional solutions like simple re-weighting often fail to account for the unique spatial-temporal dependencies inherent in skeletal data.

Overview of the BRL framework, including the long-tailed data distribution, full architecture, and key components like STAE and DAA.

Methodology

The BRL framework addresses the long-tail challenge through three primary components:

Spatial-Temporal Action Exploration (STAE)

Instead of simple oversampling, STAE generates diverse synthetic samples for tail classes:

  • Rebalanced Partial Mixup (RPM): This technique recognizes the modular nature of human skeletons by mixing the upper body of one action with the lower body of another. An adaptive label factor ensures the minority class receives higher weight in the resulting synthetic sample.
  • Temporal Reverse Perception (TRP): By varying sampling frequency and temporal order, TRP forces the model to learn robust temporal dynamics for rare actions, preventing overfitting to a limited set of frames.

Detached Action-Aware Learning (DAA)

BRL employs a two-stage training schedule to balance feature learning and class specialization:

  • Stage 1: The model is trained using standard Cross-Entropy loss to learn general, transferable features.
  • Stage 2: The training switches to a specialized Action-Aware Loss. This loss incorporates a weighting factor based on the "effective number" of samples, refining decision boundaries for tail classes that were previously neglected.

Skip-Modal Representation

To capture complex structural context, BRL fuses traditional joint and bone data with a "skip-joint" modality, which connects joints two steps apart in the skeletal graph.

Results

The BRL framework was evaluated on long-tailed versions of NTU RGB+D 60 & 120, NW-UCLA, and Kinetics Skeleton 400.

Comparison of BRL against state-of-the-art models on standard and long-tailed NTU RGB+D 60 benchmarks.

As shown in the results, BRL consistently achieves superior performance. On the long-tailed NTU 60 Cross-Subject benchmark, BRL reached 81.8% accuracy, a 4.5% improvement over the previous best method (FR Head). Notably, for "few-shot" classes with fewer than 20 samples, BRL improved accuracy from a baseline of 60.2% to 67.8%. On the NW-UCLA dataset, BRL showed a massive jump to 89.2% accuracy, outperforming InfoGCN by 17.2%.

Conclusion

Balanced Representation Learning effectively addresses the bias in skeleton-based action recognition models trained on imbalanced data. By disentangling spatial-temporal features and employing a detached training schedule, BRL maintains high performance across the entire class distribution. Future work may explore the integration of self-supervised pre-training to further enhance performance in extreme low-data scenarios.

Summary updated

BibTeX
@inproceedings{liu2023balanced,
  author = {Hongda Liu and Yunlong Wang and Min Ren and Junxing Hu and Zhengquan Luo and Guangqi Hou and Zhenan Sun},
  title = {{Balanced Representation Learning for Long-tailed Skeleton-based Action Recognition}},
  booktitle = {Mach. Intell. Res},
  year = {2023},
}
Figure