PoseGPT: Quantization-Based 3D Human Motion Generation and Forecasting

Thomas Lucas, Fabien Baradel, Philippe Weinzaepfel, Grégory Rogez

Introduction

Generating realistic 3D human motion is a complex challenge characterized by high-dimensional data and inherent multi-modality. Traditional approaches often struggle to balance the requirements of motion forecasting—predicting future frames from a past sequence—and motion generation—creating sequences from scratch based on action labels. PoseGPT introduces a unified framework that treats 3D human motion as a sequence of discrete tokens, effectively applying the principles of large language models (LLMs) to the domain of human kinematics.

The Challenge of Continuous Motion

A primary obstacle in 3D motion synthesis is the "regression to the mean." When models attempt to predict continuous 3D coordinates, they often encounter scenarios where multiple valid future movements are possible. In an effort to minimize error across these possibilities, traditional models frequently output a blurry, unrealistic average of all potential paths. Furthermore, existing architectures are typically specialized for either forecasting or generation, lacking the flexibility to perform both tasks within a single system.

Methodology: A Two-Stage Generative Approach

PoseGPT addresses these challenges through a two-stage pipeline consisting of a discrete representation layer and a generative transformer.

1. The Causal VQ-VAE

The first stage involves a Vector Quantized-Variational Autoencoder (VQ-VAE) designed to compress complex 3D human meshes—represented by SMPL or SMPL-X parameters—into a sequence of discrete latent indices.

A key innovation in this stage is the use of causal attention within the encoder. Unlike standard encoders that look at the entire sequence, the causal encoder ensures that the token for any given frame depends only on current and previous frames. This design is critical for the model's unified nature; it allows the system to encode a past observation of arbitrary length and seamlessly transition into generating the subsequent sequence. To manage the complexity of human motion without an oversized codebook, the authors employ Product Quantization (PQ), which splits the latent space into sub-spaces that are quantized independently.

2. The GPT-style Transformer

Once the motion is discretized into a "vocabulary" of tokens, a GPT-like transformer is trained to predict the next token in the sequence. This model is conditioned on specific inputs, such as action labels and target durations. Because the transformer predicts discrete indices rather than continuous values, it is forced to select a specific, valid pose from its learned codebook, thereby bypassing the "average pose" problem.

Experimental Evaluation

The researchers evaluated PoseGPT across three benchmarks of varying complexity:

  • HumanAct12: A standard dataset featuring 12 action classes.
  • BABEL: A large-scale, high-quality dataset derived from AMASS, containing over 60 action categories.
  • GRAB: A dataset focused on human-object interactions, utilized to demonstrate the model's compatibility with the SMPL-X model (including hands and facial expressions).

Key Insights and Results

PoseGPT demonstrates that discretization is a powerful tool for motion synthesis. By treating motion as a "sentence" of poses, the model achieves several advantages:

  • Unified Forecasting and Generation: The causal encoder allows the model to treat a past clip as a prefix, continuing the motion sequence naturally.
  • State-of-the-Art Performance: On the HumanAct12 dataset, PoseGPT improved the Frechet Inception Distance (FID) from 0.12 to 0.08. On the more challenging BABEL dataset, the improvement was even more pronounced, with FID dropping from 9.5 to 2.7.
  • Temporal Coherence: By operating on compressed tokens, the transformer focuses on high-level temporal patterns rather than low-level noise, resulting in stable, long-term motion that does not collapse into static poses over time.

Limitations and Future Directions

While PoseGPT represents a significant advancement, it remains dependent on parametric body models like SMPL. Future research may explore its application to raw point clouds or alternative skeletal structures. Additionally, while the model excels at generating body poses, the explicit modeling of global trajectories—how a person traverses a 3D environment—remains a complex area for refinement. Finally, moving beyond categorical action labels toward natural language conditioning could provide even more granular control over the generated motion.

Summary updated

BibTeX
@inproceedings{lucas2022posegpt,
  author = {Thomas Lucas and Fabien Baradel and Philippe Weinzaepfel and Grégory Rogez},
  title = {{PoseGPT: Quantization-Based 3D Human Motion Generation and Forecasting}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-20068-7\_24},
}
Figure