Learning Semantic Latent Directions for Accurate and Controllable Human Motion Prediction

Guowei Xu, Jiale Tao, Wen Li, Lixin Duan

TL;DR

Predicting how a human will move next is challenging because there are many plausible futures from a single starting pose. This paper introduces Semantic Latent Directions (SLD), a framework that structures the latent space of generative models into orthogonal directions representing distinct motion semantics. This simple but effective information bottleneck achieves state-of-the-art accuracy in stochastic human motion prediction while enabling fine-grained, semantically controllable motion generation.

What Problem Does This Paper Address?

Stochastic Human Motion Prediction (SHMP) is the task of forecasting multiple realistic future pose sequences from a brief observed past sequence. It is a foundational capability for autonomous driving, human-robot interaction, and animation.

Because human movement is inherently multimodal (e.g., a person standing up might next sit down, walk away, or raise their hands), researchers typically use generative models like VAEs, GANs, or diffusion models. However, standard approaches map these motions to an unconstrained latent distribution, such as a standard Gaussian prior.

The authors argue that this lack of structure creates a major gap: the models struggle to learn meaningful representations, frequently leading to "mode collapse" (generating the same few motions) or producing physically impossible, jerky, and incoherent joint movements.

Methods

The core innovation is Semantic Latent Directions (SLD). Instead of sampling from a standard Gaussian distribution, the authors construct a latent space spanned by a set of learnable, orthogonal basis vectors (latent directions), denoted as $D = [d_1, ..., d_M]$.

Any hypothesized future motion $z$ is represented as a linear combination of these directions: $$z = \sum_{m=1}^{M} w_m \cdot d_m$$ where $w_m$ represents the coefficients (weights) for each direction. To ensure these directions remain distinct and don't redundant, the authors enforce strict orthogonality by applying Singular Value Decomposition (SVD) to the matrix $D$ during training.

Fig. 1: Traditional methods for stochastic human motion prediction typically involve learning a generative latent distribution without appropriate constraints and guidance. This often results in challenges in acquiring meaningful human motion representations, leading to inaccurate predictions characterized by abnormal poses and incoherent se- quences compared to past motion patterns. In contrast, our proposed Semantic Latent Directions (SLD) framework leverages semantic latent directions to steer motion pre- diction, enabling the generation of future motions with high precision, realism, and coherence with past motion sequences. Moreover, SLD facilitates semantically con- trollable human motion prediction by adjusting the weights of the semantic latent directions, as illustrated in the bottom part.

The Pipeline

  1. Frequency Domain Mapping: Past motion sequences are transformed into the frequency domain using the Discrete Cosine Transform (DCT) to ensure smooth trajectories.
  2. Query to Latent Projection (QLP): To generate diverse futures, the model uses a set of learnable motion queries. An encoder combines past motion features with these queries, and a specialized QLP network maps them to the latent coefficients $w$.
  3. Decoding: The resulting semantic code is combined with past motion features and passed to a spatial-temporal graph convolutional network (STGCN) decoder, which outputs the predicted future poses via an Inverse DCT (IDCT).
Fig. 2: Overview of the framework: The past human motion is transformed to the frequency domain via DCT [35, 36]. The encoding feature of the past motion, along with the motion query, are merged and mapped into a series of latent coefficients w = [w1, ..., wM] through the Query to Latent Projection (QLP) module. Semantic codes are derived by integrating the semantic latent directions with the forecasted coefficients. Subsequently, the features of the past human motion and semantic codes are combined to predict future motion.

Datasets

The model was trained and evaluated on two standard motion capture benchmarks:

  • Human3.6M: A massive dataset containing 3.6 million frames of 11 subjects performing 15 distinct everyday actions (e.g., walking, sitting, eating). Poses are represented by 17-joint 3D coordinates.
  • HumanEva-I: A smaller dataset featuring fewer subjects and actions, utilizing a 15-joint 3D pose structure.

Key Insights and Ideas

  • Latent Space as Semantic Prototypes: The learned orthogonal directions act like basic motion building blocks. For instance, the model can represent a complex motion like "sitting" by blending the learned directions for "standing" and "squatting."
  • The Power of the Bottleneck: Restricting the latent space to finite, orthogonal prototypes acts as a robust information bottleneck. It prevents the network from generating chaotic, out-of-distribution latent vectors, which drastically reduces abnormal or physically impossible pose predictions.
  • Unsupervised Controllability: Remarkably, without explicit semantic labels during training, individual directions naturally align with interpretable physical actions (e.g., changing the amplitude of an arm swing or transitioning from standing to crouching). Users can control the generated motion simply by tweaking the coefficients ($w$) during inference.

Key Results

The authors evaluated their method using standard metrics for diversity (Average Pairwise Distance - APD) and accuracy (Average Displacement Error - ADE, and Final Displacement Error - FDE).

  • Superior Accuracy: On both datasets, SLD significantly outperformed previous state-of-the-art methods (including HumanMAC and STARS) across all accuracy metrics. For example, on Human3.6M, SLD achieved an ADE of 0.348 and an FDE of 0.436, outperforming the competitive STARS baseline (ADE: 0.358, FDE: 0.445).
  • Better Realism-Diversity Balance: While some baseline models scored higher purely on diversity (APD), qualitative visualizations revealed that their "diverse" samples often consisted of distorted, unrealistic body poses. SLD maintained a high level of diversity while ensuring every generated sequence remained natural and coherent with the past motion.

Limitations and Future Work

Currently, the SLD framework operates in a vacuum—it only considers the history of the human skeleton itself. The authors acknowledge that real-world human motion is heavily dictated by environmental geometry and interactions (e.g., avoiding an obstacle or sitting on a specific chair).

A promising avenue for future work is extending semantic latent directions to dynamic, interactive contexts where human-environment relationships help guide the latent space.

Summary updated

BibTeX
@inproceedings{xu2024learning,
  author = {Guowei Xu and Jiale Tao and Wen Li and Lixin Duan},
  title = {{Learning Semantic Latent Directions for Accurate and Controllable Human Motion Prediction}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72664-4\_4},
}
Figure