Abstract
Generating animations from natural language sentences finds its applications in a number of domains such as movie script visualization, virtual human animation, and robot motion planning. These sentences can describe different kinds of actions, speeds, and directions, and possibly a target destination. The core modeling challenge in this language-to-pose application is how to map linguistic concepts to motion animations. In this paper, we address this multimodal problem by introducing a neural architecture called Joint Language to Pose (JL2P), which learns a joint embedding of language and pose. This joint embedding space is learned end-to-end using a curriculum learning approach which emphasizes shorter and easier sequences first before moving to longer and harder ones. We evaluate our proposed model on a publicly available corpus of 3D pose data and human-annotated sentences. Both objective metrics and human judgment evaluation confirm that our proposed approach is able to generate more accurate animations that are deemed visually more representative by humans than other data-driven approaches.
Introduction
Animating virtual characters or planning robot motions traditionally requires low-level control parameters, such as specific joint angles or exact spatial trajectories. Controlling these motions with high-level natural language (e.g., "A person walks in a circle" or "A person runs very fast forward") is highly desirable for movie script visualization, gaming, and robotics. However, this is a difficult cross-modal translation problem. Text and 3D pose data are fundamentally different. The model must learn to map verbs to specific actions, adverbs to speed/acceleration, and nouns/adjectives to directions, and then stitch these concepts into a continuous, physically plausible 3D animation without artifacts like "sliding feet."
Methods
The authors propose the Joint Language-to-Pose (JL2P) model, which maps both text and 3D poses into a shared latent embedding space. Instead of mapping language into a pre-existing pose space, JL2P uses a sentence encoder (LSTMs + Word2Vec) and a pose encoder (GRUs) to jointly learn a shared space. The model is optimized using both a cross-modal translation loss (text-to-pose) and a uni-modal autoencoder loss (pose-to-pose).
Key technical components include:
- Curriculum Learning: Generating long sequences of 3D poses from scratch is notoriously unstable. The authors use a curriculum approach: the model is first trained to predict just 2 time-steps of motion. Once the validation loss plateaus, the prediction length is doubled. This continues until the model can generate the full sequence.
- Smooth L1 Loss: Previous state-of-the-art models used L2 loss, which heavily penalizes outliers. Because human motion data is highly diverse and contains natural outliers, JL2P uses Smooth L1 loss (similar to Huber loss), which provides more stable gradients and prevents the model from overfitting to strange edge-case motions.
Experimental Setup
The model is trained and evaluated on the KIT Motion-Language Dataset. This dataset contains 3,911 human motion recordings re-targeted to a 50 Degree-of-Freedom (DoF) kinematic skeleton, paired with 6,278 human-annotated English descriptions averaging 8 words per sentence. The authors utilized an 80/20 train/test split for evaluation. The motions range from basic locomotion (walking, running) to gesticulation (waving) and performing actions (playing a violin).
Results and Discussion
JL2P achieved significant improvements in quantitative accuracy, with at least a 9% improvement in Average Positional Error (APE) across all joints compared to the closest baseline. Notably, it achieved a 15% improvement in predicting the Root joint, which is critical for preventing "foot sliding" artifacts.
Qualitatively, the model successfully demonstrates the ability to alter animations based on specific words. For example, adding the word "fast" to a prompt resulted in the generated skeleton covering the same distance in less time. In human judgment studies, JL2P was preferred over the baseline model 75% of the time.
Ablation studies revealed that curriculum learning is crucial; dropping this phase caused the most significant degradation in performance. Learning "micro-motions" first acts as a necessary stepping stone for generating complex trajectories.
Conclusion
While JL2P shows strong performance, challenges remain in long-term generation due to error accumulation in the Root joint position. The Average Positional Error for the Root joint tends to increase significantly after approximately 500 milliseconds, making very long-term, continuous generation difficult without drift. Additionally, experiments with more complex language models like BERT did not yield significant improvements, suggesting that current bottlenecks may lie in pose-decoding capacity or dataset simplicity. Future work aims to extend this model to visualize entire movie scripts, which would require maintaining co-references and context across multiple sentences.
Summary updated