One-Shot Action Recognition via Multi-Scale Spatial-Temporal Skeleton Matching

Siyuan Yang, Jun Liu, Shijian Lu, Meng Hwa Er, Alex C. Kot

TL;DR

This paper introduces a novel framework for one-shot skeleton action recognition that moves beyond simple feature vector comparisons. By representing human skeletons at multiple spatial and temporal scales and using Optimal Matching (via Earth Mover’s Distance), the model can accurately recognize new actions from just a single example, even when performed at different speeds or with different ranges of motion.

What Problem Does This Paper Address?

Recognizing human actions from skeleton data (3D coordinates of joints) is robust to lighting and background changes, but training these models usually requires thousands of labeled examples. One-shot recognition—learning a new action like "waving" or "throwing" from just one video—is incredibly difficult because of "intra-class variation."

Two people might perform the same action very differently: one might wave their whole arm (limb-level) while another just moves their wrist (joint-level), or one might move much faster than the other. Most existing methods squash an entire action sequence into a single "global" feature vector, which loses the fine-grained spatial structure and temporal order needed to resolve these differences.

Methods

The authors propose a multi-scale spatial-temporal matching technique. Their approach consists of three main pillars:

  1. Multi-Scale Representation: Instead of looking at just joints, the model processes the skeleton at three spatial scales (joints, body parts, and limbs) and three temporal scales (original speed, 2x slower, and 4x slower). This is achieved using an Adaptive Graph Convolutional Network (AGCN) with hierarchical pooling.
  2. Optimal Matching via EMD: Rather than calculating a simple distance between two feature vectors, the authors treat the features as distributions. They use Earth Mover’s Distance (EMD) to find the "optimal matching flow"—essentially finding the minimum "cost" to transform the features of a query video into the features of a support (template) video. This allows the model to align relevant joints even if they appear at slightly different times or positions.
  3. Cross-Scale Matching: To handle variations in how people move, the model performs "cross-scale" matching. It compares a joint-level movement in one video to a limb-level movement in another, and matches fast movements to slow ones. This ensures that a "hand wave" is recognized regardless of whether it's a small flick or a grand gesture.

Datasets

The researchers evaluated their method on three massive, standard benchmarks for skeleton-based action recognition:

  • NTU RGB+D: 56,880 sequences across 60 classes.
  • NTU RGB+D 120: The largest of its kind, with 114,480 sequences and 120 classes.
  • PKU-MMD: A large-scale benchmark for continuous 3D skeleton action understanding.

The authors followed standard "one-shot" protocols where the model is trained on a set of "seen" classes and then tested on entirely "unseen" classes using only one reference sample.

Key Insights and Ideas

  • Structure Over Global Statistics: The "aha moment" here is that actions are structured distributions of information, not just points in a high-dimensional space. By preserving the spatial-temporal "flow," the model retains the "how" of the movement.
  • Handling Magnitude and Pace: The introduction of cross-scale matching is a direct response to human variability. By allowing the model to match a "part-level" feature to a "limb-level" feature, it becomes invariant to the physical magnitude of the action.
  • EMD as a Differentiable Metric: By using a differentiable version of EMD, the authors can train the entire embedding network end-to-end to specifically produce features that are "easy to match" for the EMD solver.

Key Results

The proposed method, dubbed M&C-scale, significantly outperformed existing state-of-the-art (SOTA) methods across all datasets:

  • NTU RGB+D 120: Under the standard one-shot protocol, the model achieved 68.7% accuracy, outperforming the previous best (JEANIE at 57.0%) by a massive 11.7% margin.
  • Consistency: The model showed superior performance regardless of the number of training classes provided (from 20 to 100), proving its robustness.
  • Ablation Success: Removing the cross-scale matching components led to a noticeable drop in performance, confirming that matching across different speeds and magnitudes is a critical component of the system's success.

Limitations and Future Work

The authors note that their current implementation is specifically tailored to the Kinect V2 skeleton format (25 joints). While highly effective, the spatial pooling strategies would need to be redesigned for different skeleton formats (e.g., MediaPipe or OpenPose).

For future work, the authors suggest:

  • Broadening the scope to include various other skeleton formats.
  • Exploring recognition across different data formats (e.g., matching a skeleton to a video).
  • Integrating Large Language Models (LLMs) to leverage their vast prior knowledge of human actions to further improve one-shot generalization.

Summary updated

BibTeX
@article{yang2024one,
  author = {Siyuan Yang and Jun Liu and Shijian Lu and Meng Hwa Er and Alex C. Kot},
  title = {{One-Shot Action Recognition via Multi-Scale Spatial-Temporal Skeleton Matching}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2024},
  doi = {10.1109/tpami.2024.3363831},
}
Figure