Abstract
To build a cross-modal latent space between 3D human motion and language, acquiring large-scale and high-quality human motion data is crucial. However, unlike the abundance of image data, the scarcity of motion data has limited the performance of existing motion-language models. To counter this, we introduce "motion patches", a new representation of motion sequences, and propose using Vision Transformers (ViT) as motion encoders via transfer learning, aiming to extract useful knowledge from the image domain and apply it to the motion domain. These motion patches, created by dividing and sorting skeleton joints based on body parts in motion sequences, are robust to varying skeleton structures, and can be regarded as color image patches in ViT. We find that transfer learning with pre-trained weights of ViT obtained through training with 2D image data can boost the performance of motion analysis, presenting a promising direction for addressing the issue of limited motion data. Our extensive experiments show that the proposed motion patches, used jointly with ViT, achieve state-of-the-art performance in the benchmarks of text-to-motion retrieval, and other novel challenging tasks, such as cross-skeleton recognition, zero-shot motion classification, and human interaction recognition.
Introduction
In the field of AI, data availability often dictates model performance. While billions of captioned images are available to train models like CLIP, high-quality 3D human motion data is significantly scarcer. Beyond data volume, technical challenges such as skeleton inconsistency—where different datasets utilize varying numbers of joints—hinder the development of unified models. Most existing architectures are hard-coded to specific skeleton structures, preventing cross-dataset knowledge transfer.
Methodology: Motion Patches and ViT
The core innovation of this work is the Motion Patch representation, which transforms 3D motion sequences into a format compatible with standard Vision Transformers (ViT). This approach allows the model to leverage pre-trained weights from the image domain (e.g., ImageNet), effectively "image-ifying" motion data.
Motion Patch Construction
The creation of motion patches involves three primary steps:
- Body Part Partitioning: The human skeleton is divided into five semantic groups: torso, left arm, right arm, left leg, and right leg.
- Normalization via Interpolation: To resolve skeleton inconsistency, linear interpolation is used to sample exactly $N$ points for each body part, creating a unified format regardless of the original joint count.
- Coordinate-to-Color Mapping: The $(x, y, z)$ coordinates of the joints are treated as $(R, G, B)$ color values. By stacking these points across $N$ consecutive frames, the system generates an $N \times N$ "patch" for each body part.
Contrastive Learning Framework
These patches are processed by a standard ViT-B/16 encoder. Following the CLIP framework, the motion encoder is trained alongside a text encoder (DistilBERT) using contrastive learning. This ensures that the latent embeddings of a specific motion (e.g., "a person jumping") are aligned with the corresponding text description.
Key Insights and Results
Transfer Learning from 2D to 3D
A significant finding is that models pre-trained on ImageNet provide a massive performance boost for motion recognition. The ViT treats motion patches as spatial-temporal "spectrograms," identifying patterns that models trained from scratch often miss. This transfer learning effectively mitigates the "data desert" problem in 3D motion research.
State-of-the-Art Performance
The proposed method consistently outperforms previous state-of-the-art (SOTA) models like TMR and MotionCLIP across multiple benchmarks:
- Text-to-Motion Retrieval: On the HumanML3D dataset, the model achieved a Recall@1 of 10.80%, surpassing TMR's 8.92%.
- Zero-Shot Classification: When evaluated on the BABEL dataset without specific training on its labels, the model reached 41.33% Top-1 accuracy.
- Cross-Skeleton Robustness: Due to the body-part-based interpolation, a model trained on HumanML3D can be directly applied to the KIT-ML dataset (which uses a different skeleton) without retraining, demonstrating exceptional flexibility.
Conclusion
By representing 3D motion as standardized "Motion Patches," this research bridges the gap between the data-rich image domain and the data-scarce motion domain. Utilizing pre-trained Vision Transformers not only improves retrieval accuracy but also provides a robust solution to the long-standing problem of skeleton inconsistency in human motion analysis.
Summary updated