Spatio-Temporal Naive-Bayes Nearest-Neighbor (ST-NBNN) for Skeleton-Based Action Recognition

Junwu Weng, Chaoqun Weng, Junsong Yuan

Abstract

Skeleton-based action recognition has recently been dominated by complex deep learning architectures like RNNs and LSTMs. This paper proposes Spatio-Temporal Naive-Bayes Nearest-Neighbor (ST-NBNN), a non-parametric approach that leverages the lightweight nature of skeleton data. By introducing a bilinear weighting mechanism to identify key joints and temporal stages, ST-NBNN achieves state-of-the-art performance on benchmark datasets while maintaining high interpretability and efficiency.

Introduction

In computer vision, skeleton-based action recognition involves identifying human activities from 3D joint coordinates. While deep learning models currently lead the field, they often function as "black boxes" requiring extensive training and parameters. Given that skeleton data is significantly lower-dimensional than raw video, the authors revisit the Naive-Bayes Nearest-Neighbor (NBNN) algorithm. Traditional NBNN assumes all frames and joints are equally important, which introduces noise. ST-NBNN addresses this by identifying discriminative "key" components of an action.

Conceptual overview of key joints and stages in a skeleton sequence.

Methodology

ST-NBNN decomposes an action into several temporal stages, each characterized by joint positions and velocities. The recognition process follows a structured pipeline:

  1. Nearest Neighbor Search: For a query action, the system identifies the closest matches in the database for each action class across all temporal stages.
  2. Spatio-Temporal Matrix Construction: Distances are organized into a matrix representing the action's spatial (joint) and temporal (stage) structure.
  3. Bilinear Weighting: The core innovation is a bilinear classifier that learns spatial weights ($u_s$) to highlight key joints and temporal weights ($u_t$) to highlight key stages.
The ST-NBNN pipeline, showing stage-wise NN search and the learning of spatio-temporal weights.

This weighting mechanism allows the model to ignore irrelevant joints (e.g., a stationary foot during a wave) and focus on the most discriminative parts of the movement.

Experimental Results

The model was evaluated on three benchmark datasets: MSR-Action3D, UTKinect, and Berkeley MHAD.

  • MSR-Action3D: ST-NBNN achieved 94.8% accuracy, matching the performance of complex ST-LSTM models.
  • UTKinect: The method reached 98.0% accuracy, outperforming several non-linear and graph-based methods despite viewpoint variations.
  • Berkeley MHAD: The system achieved a perfect 100% accuracy, demonstrating its effectiveness with high-quality motion-capture data.

Discussion and Conclusion

ST-NBNN demonstrates that for low-dimensional skeleton data, well-tuned linear/bilinear models can match or exceed the performance of deep learning. The primary advantages of this approach are its efficiency—avoiding the heavy training phases of neural networks—and its inherent interpretability. By examining the learned weights, researchers can visualize exactly which joints and frames contributed to a classification decision. While its scalability to high-dimensional raw video remains to be explored, ST-NBNN provides a robust, transparent alternative for skeleton-based recognition.

Summary updated

BibTeX
@inproceedings{weng2017spatio,
  author = {Junwu Weng and Chaoqun Weng and Junsong Yuan},
  title = {{Spatio-Temporal Naive-Bayes Nearest-Neighbor (ST-NBNN) for Skeleton-Based Action Recognition}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.55},
}
Figure