TL;DR
SkeletonContext introduces a novel prompt-based learning framework for zero-shot skeleton-based action recognition. By leveraging Large Language Models (LLMs) to reconstruct and inject missing contextual semantics (like objects and environments) directly into skeleton representations, it effectively bridges the gap between abstract joint movements and language descriptions. This approach achieves state-of-the-art performance, particularly on fine-grained, visually similar actions.
What Problem Does This Paper Address?
Skeleton-based action recognition models human movement using only 3D joint coordinates. While highly effective for privacy protection and robust against background clutter, skeleton data inherently lacks appearance details.
In Zero-Shot Skeleton-based Action Recognition (ZSSAR), the goal is to recognize unseen action categories by aligning skeleton features with textual descriptions in a shared space. However, because skeletons lack contextual cues, visually identical movements can mean entirely different things. For instance, the physical motion of "typing on a keyboard" looks almost identical to "writing on paper" when reduced to bare joint coordinates.
Traditional methods try to force a direct alignment between these context-barren skeleton features and rich text descriptions, leading to a severe semantic gap. This paper addresses how to restore and utilize that missing context to tell similar actions apart.
Methods
The authors propose SkeletonContext, which flips the typical prompting paradigm: instead of modifying text embeddings to match vision, it enriches the skeleton encoder with language-driven contextual prompts.
The architecture consists of three core components:
- Context Descriptions from LLMs: The authors use ChatGPT-4 to generate structured, context-aware descriptions for each action category based on a template: In [environment], [body part] uses [object] to perform subaction on [target object].
- Cross-Modal Context Prompt Module: This module forces the network to "hallucinate" the missing context from the skeleton data.
- Differential Joint Encoder (DJE): Models fine-grained motion dynamics by calculating pairwise joint differences, capturing subtle posture cues (like leaning over a desk).
- Progressive Partial Masking (PPM): A curriculum learning strategy. Initially, only a few contextual slots (e.g.,
[MASK]) are hidden. As training progresses, the masking ratio increases until the model must infer the entire context solely from the skeleton. - Semantic Context Grounding (SCG): Uses cross-attention with a pretrained BERT model to predict the masked contextual words.
- Key-Part Decoupling Module (KPD): For actions that don't rely on external objects (e.g., "hand waving"), this module uses language priors to isolate and highlight motion-critical body parts.
Datasets
The framework was evaluated on three widely recognized action recognition benchmarks:
- NTU RGB+D 60: A large-scale dataset containing 56,880 video samples across 60 daily action classes.
- NTU RGB+D 120: An extension of NTU-60, introducing higher variability with 114,480 samples across 120 classes.
- PKU-MMD: A mid-scale dataset containing over 20,000 action instances, highly valuable for complex and interactive behaviors.
Key Insights and Ideas
- Skeletons Contain Implicit Context: A key insight is that human posture inherently implies context. The way a spine curves or a wrist angles contains latent clues about whether a person is interacting with a keyboard or a piece of paper. The Differential Joint Encoder successfully extracts these subtle cues.
- Curriculum Masking is Essential: Directly forcing a network to guess an object from abstract joint coordinates is too difficult and unstable. The Progressive Partial Masking (PPM) mechanism acts as a necessary training bridge, easing the model into full context reconstruction.
- Unified Handling of Actions: By combining context reconstruction with the Key-Part Decoupling module, the framework handles both context-dependent actions (using objects) and context-independent actions (body gestures) seamlessly.
Key Results
SkeletonContext consistently achieves state-of-the-art results across both Zero-Shot Learning (ZSL) and Generalized Zero-Shot Learning (GZSL) settings:
- NTU RGB+D 60: Achieved a ZSL accuracy of 89.6% (outperforming the previous best of 86.9%) and a GZSL Harmonic Mean of 77.1%.
- NTU RGB+D 120: Delivered top-tier performance across challenging splits, hitting 74.2% accuracy on the 110/10 split.
- Ambiguity Robustness: In specialized tests grouping the most easily confused classes (Hard/Medium/Easy levels), SkeletonContext maintained stable performance, showing a +4.9% gain over previous methods in the hardest GZSL categories.
Qualitatively, the model successfully infers highly accurate contextual slots during inference without any visual or text input:
Furthermore, the Key-Part Decoupling module accurately localizes semantically relevant joints based on language priors:
Limitations and Future Work
While SkeletonContext bridges the semantic gap effectively, it relies on structured text templates generated by LLMs, which may not capture every real-world nuance. The authors note that future work will focus on extending this prompt-learning framework to few-shot learning scenarios and expanding its application to complex, real-world video understanding where raw video and skeleton data coexist.
Summary updated