Abstract
Zero-shot skeleton-based action recognition aims to classify unseen skeleton-based human actions without prior exposure to such categories during training. This task is extremely challenging due to the difficulty in generalizing from known to unknown actions. Previous studies typically use two-stage training: pre-training skeleton encoders on seen action categories using cross-entropy loss and then aligning pre-extracted skeleton and text features, enabling knowledge transfer to unseen classes through skeleton-text alignment and language models’ generalization. However, their efficacy is hindered by 1) insufficient discrimination for skeleton features, as the fixed skeleton encoder fails to capture necessary alignment information for effective skeleton-text alignment; 2) the neglect of alignment bias between skeleton and unseen text features during testing. To this end, we propose a prototype-guided feature alignment paradigm for zero-shot skeleton-based action recognition, termed PGFA. Specifically, we develop an end-to-end cross-modal contrastive training framework to improve skeleton-text alignment, ensuring sufficient discrimination for skeleton features. Additionally, we introduce a prototype-guided text feature alignment strategy to mitigate the adverse impact of the distribution discrepancy during testing. We provide a theoretical analysis to support our prototype-guided text feature alignment strategy and empirically evaluate our overall PGFA on three well-known datasets. Compared with the top competitor SMIE method, our PGFA achieves absolute accuracy improvements of 22.96%, 12.53%, and 18.54% on the NTU-60, NTU-120, and PKU-MMD datasets, respectively.
Introduction: The Generalization Challenge
Skeleton-based action recognition utilizes 3D joint coordinates to identify human activities, offering a privacy-preserving and robust alternative to standard video analysis. However, the high cost of annotating 3D skeleton data makes it difficult to scale to every possible human action. Zero-Shot Learning (ZSL) addresses this by training models on a set of "seen" actions and requiring them to recognize "unseen" actions using semantic bridges, typically text descriptions.
Traditional approaches often fall into a "frozen encoder trap." As shown in the figure above, these methods typically pre-train a skeleton encoder on seen classes and then freeze it. This two-stage process limits the model's ability to learn the specific nuances required to align skeletal movements with textual concepts. Furthermore, during testing, there is a significant "alignment bias"—a distribution shift where the skeletal features of unseen actions do not perfectly align with the static text embeddings provided by language models, leading to frequent misclassifications.
Methodology: The PGFA Paradigm
To overcome these limitations, we propose PGFA (Prototype-Guided Feature Alignment), which introduces two major architectural innovations: an end-to-end training framework and a dynamic prototype-guided alignment strategy during inference.
End-to-End Cross-Modal Contrastive Training
Unlike previous methods that freeze components, PGFA trains the skeleton encoder and an alignment module simultaneously. We employ a Kullback–Leibler (KL) divergence-based contrastive loss to pull skeleton features and their corresponding text descriptions into a shared semantic space. This ensures that the skeleton features are highly discriminative and specifically optimized for cross-modal alignment from the start.
LLM-Enhanced Descriptions
Simple class names (e.g., "drinking water") are often too sparse for effective alignment. We leverage Large Language Models (LLMs) to generate detailed "Skeleton-focused Descriptions." These descriptions break down actions into specific joint movements (e.g., "the arm lifts a cup toward the mouth while the head tilts back"), providing a richer semantic map that aligns more naturally with skeletal data.
Prototype-Guided Text Feature Alignment
The "secret sauce" of PGFA is its testing strategy. To mitigate alignment bias, the model does not rely solely on static text embeddings. Instead, it follows a four-step rectification process:
- Pseudo-labeling: Assigns initial labels to test samples based on the initial alignment.
- Entropy Filtering: Filters out low-confidence samples to ensure only high-quality data is used for the next step.
- Prototype Calculation: Calculates a "prototype" (a central feature vector) for each unseen class based on the actual skeleton features of the high-confidence test data.
- Re-classification: Re-aligns and classifies the samples using these prototypes, which effectively "rectifies" the distribution shift between the text and skeleton domains.
Experimental Evaluation
We evaluated PGFA on three benchmark datasets: NTU-RGB+D 60, NTU-RGB+D 120, and PKU-MMD. The results demonstrate a significant leap over the previous state-of-the-art method, SMIE:
- NTU-60: Accuracy improved from 70.21% to 93.17% (+22.96%).
- NTU-120: Accuracy improved from 58.85% to 71.38% (+12.53%).
- PKU-MMD: Accuracy improved from 69.26% to 87.80% (+18.54%).
These gains are attributed to the model's ability to produce much tighter, more distinct clusters for unseen actions, as evidenced by t-SNE visualizations in the full paper.
Discussion and Future Work
While PGFA sets a new benchmark for zero-shot skeleton recognition, it currently faces a limitation regarding computational overhead during inference. The prototype strategy requires a "first pass" to generate pseudo-labels before the final classification, making it less suitable for real-time, sample-by-sample processing.
Future research will focus on developing a "prototype bank" that updates dynamically in real-time. This would allow the model to benefit from prototype-guided alignment without requiring access to the entire test set upfront, paving the way for more efficient and responsive zero-shot systems.
Summary updated