Hierarchical Graph-Convolutional Variational AutoEncoding for Generative Modelling of Human Motion

Anthony Bourached, Robert Gray, Xiaodong Guan, Ryan-Rhys Griffiths, Ashwani Jha, Parashkev Nachev

TL;DR

The authors introduce HG-VAE, a hierarchical generative model that treats human motion as a time-varying graph of joints. By combining deep graph convolutions with a multi-layered stochastic architecture, the model can generate realistic actions, detect anomalies, and "fill in the blanks" for corrupted data with significantly higher accuracy than traditional methods.

What Problem Does This Paper Address?

Human motion is inherently complex, hierarchical, and constrained by anatomy. Most existing AI models for motion are specialists: they either predict future trajectories or classify current actions, but they rarely do both well. Furthermore, these models are often "brittle"—they struggle when faced with real-world data degradation, such as a camera view being partially blocked (occlusions) or a person performing a movement in a way the model hasn't seen before (distributional shift).

The authors argue that we need a holistic generative model. Instead of just learning to map input A to output B, the model should learn the underlying "grammar" of human movement. If a model truly understands how humans move, it should be able to handle missing data naturally and generate new, coherent sequences from scratch.

Methods

The researchers propose the Hierarchical Graph-convolutional Variational Autoencoder (HG-VAE). Its architecture relies on three pillars:

  1. Graph Convolutions (GCNs): Since the human skeleton is naturally a graph (joints connected by bones), GCNs are used to capture spatial relationships. The model uses learnable weighted adjacency matrices to understand which joints influence others during specific movements.
  2. Hierarchical Abstraction: The model features four stochastic layers ($z_0$ to $z_3$). The bottom layer ($z_3$) handles local, high-resolution joint activity. As you move up to $z_0$, the graph is "contracted" until it becomes a single node representing a global, abstract summary of the entire action.
  3. Temporal Frequency Encoding: Instead of processing raw coordinates over time, the model uses the Discrete Cosine Transform (DCT) to convert motion into the frequency domain. This allows the network to learn the "rhythm" of motion more efficiently.

A standout feature is how the model handles missing data. Rather than using simple averages, it performs gradient ascent on the model’s posterior. Essentially, it takes a corrupted input and iteratively tweaks the missing values until they best fit the model's learned understanding of "plausible human motion."

Datasets

The model was trained and evaluated on two major benchmarks:

  • H3.6M: A standard dataset containing 3.6 million 3D human poses across 15 different action categories (walking, eating, etc.).
  • AMASS: The Archive of Motion Capture as Surface Shapes. This is currently the largest collection of open-source human motion data, aggregating multiple existing datasets into a unified format.

Key Insights and Ideas

  • Stochastic Depth > Model Capacity: One of the most interesting findings is that increasing the number of stochastic layers (stochastic depth) improves the model's performance (likelihood and reconstruction) even when the total number of parameters remains the same. The hierarchy itself is doing the heavy lifting.
  • Global Latent Space as a Classifier: The top-level latent variable ($z_0$), which represents the most abstract version of the motion, naturally clusters into distinct action types. UMAP projections show clear separation between actions like "walking" and "sitting," suggesting the model learns action categories without being explicitly told to classify them.
  • Acute Anomaly Detection: The model is incredibly sensitive to data corruption. It can detect out-of-distribution data (like occlusions) even when only 0.5% of the features are missing, far outperforming standard VAE baselines.

Key Results

  • Imputation Accuracy: HG-VAE achieved a 77% ± 1% decrease in Mean Squared Error (MSE) compared to naive mean imputation when recovering missing data.
  • Downstream Benefits: When the "cleaned" data from HG-VAE was fed into other discriminative models (like trajectory predictors), those models performed significantly better than they did with raw, corrupted data.
  • Generative Quality: By conditioning the top-level $z_0$ variable with a one-hot vector, the model can generate qualitatively distinct and anatomically coherent actions (e.g., a smooth transition of a person sitting down).

Limitations and Future Work

The primary limitation acknowledged by the authors is computational cost. The method for fixing missing data (gradient ascent on the posterior) requires multiple forward and backward passes through the network. While highly effective, this is currently too slow for real-time applications like live motion capture or robotics.

Future work may involve optimizing this imputation process for speed or applying the HG-VAE framework to other graph-based domains beyond human motion, such as molecular modeling or social network analysis.

Summary updated

BibTeX
@misc{bourached2021hierarchical,
  author = {Anthony Bourached and Robert Gray and Xiaodong Guan and Ryan-Rhys Griffiths and Ashwani Jha and Parashkev Nachev},
  title = {{Hierarchical Graph-Convolutional Variational AutoEncoding for Generative Modelling of Human Motion}},
  year = {2021},
  eprint = {2111.12602},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.12602},
}
Figure