Long Term Motion Prediction Using Keyposes

Sena Kiciroglu, Wei Wang, Mathieu Salzmann, Pascal Fua

TL;DR

Predicting human motion frame-by-frame over long horizons usually results in models "freezing" or drifting toward a blurry average pose. This paper shifts the paradigm by predicting a sparse sequence of keyposes and their durations as a classification task, enabling realistic, diverse motion forecasts for up to 5 seconds—five times longer than the current state-of-the-art.

What Problem Does This Paper Address?

Human motion prediction is vital for autonomous cars and robots to anticipate and react to people. However, existing methods (mostly based on Recurrent Neural Networks or Graph Convolutional Networks) struggle with "long-term" prediction.

In this field, "long-term" usually means just one second. Beyond that, most models suffer from two issues:

  1. Mean Pose Convergence: Because they use regression to minimize error, they eventually play it safe by predicting a static, "average" pose.
  2. Error Accumulation: Small errors in frame-by-frame prediction snowball, leading to physically impossible or jittery movements.

The authors argue that we don't need to predict every single frame. Just as a storyboard artist only draws the most important frames of an animation, a model only needs to predict the "keyposes" to capture the essence of a movement.

Methods

The authors propose a multi-stage pipeline that treats motion as a series of discrete events rather than a continuous signal:

  1. Keypose Extraction: They use a recursive algorithm to find the minimum set of poses needed to reconstruct a full motion sequence via linear interpolation. Poses are added where the interpolation error is highest until the reconstruction is "good enough."
  2. Clustering: To avoid the "mean pose" trap of regression, they cluster thousands of extracted training keyposes into $K$ discrete categories (e.g., 1,000 clusters for the Human3.6M dataset).
  3. The KP-GRU Network: A Gated Recurrent Unit (GRU) network is trained to predict two things: the label (cluster ID) of the next keypose and its duration (how many frames until it occurs).
  4. Probabilistic Sampling: Because the model outputs a probability distribution over labels, it can generate multiple plausible futures (e.g., a person standing might walk away or sit down) by sampling different clusters at inference time.
  5. Refinement: After interpolating between the predicted keypose cluster centers, a small Graph Convolutional Network (GCN) smooths the motion and adds fine details.
Figure 3. Keypose-to-keypose network structure.(a) Overall ar- chitecture. At each time step i, a keypose GRU (KP-GRU) unit predicts the keypose labels and durations of the next step i + 1. The time of the last observation is denoted by i = 0. Before this time-step, the network is given ground-truth keyposes as condi- tioning signal. The label distribution Li for past keyposes is found using the keypose value Vi. After time-step i = 0, the network is given its own predictions as input rather than the ground truth. The label distribution Li, in this case, is found using the predicted label li. The orange T blocks represent the transformation to com- pute the distributions. (b) Inner structure of the KP-GRU unit, which consists of a three layer GRU network followed by a fully connected layer.

Datasets

The model was evaluated on two gold-standard benchmarks:

  • Human3.6M: 15 different actions (walking, eating, etc.) performed by 7 subjects.
  • CMU-Mocap: A smaller dataset where the authors focused on 6 complex action classes like basketball and directing traffic.

Key Insights and Ideas

  • Classification > Regression: By predicting a cluster label, the model is forced to pick a real pose from the training set. It can't "cheat" by outputting a blurry average of multiple poses.
  • Variable Time Steps: Standard models predict at fixed intervals (e.g., every 40ms). This model predicts at "event" intervals. If a person is holding a pose, the model predicts a long duration; if they are moving fast, it predicts a short one.
  • The MOAC Metric: The authors introduced the Motion-Only Action Classifier (MOAC). Standard metrics like MPJPE (mean error) can be "gamed" by a model that predicts a static pose. MOAC ignores the static pose and asks: "Is the movement recognizable as the correct action?" This is a much tougher and more meaningful test for long-term realism.
Figure 2. Distribution of keyposes in a sequence from the Hu- man3.6M dataset. The plots depict the x, y, and z coordinates of the right foot of Subject 1 during the purchases action. We show the locations of the keyposes as green stars, and the transi- tion poses as orange dots. The downsampling effect is prominent. The keyposes are distributed more densely where the motion is the most varied, and these keyposes have shorter duration. Note that these plots only correspond to one joint, whereas the optimization takes into account the average error of all the joints.

Key Results

  • Long-Term Realism: While SOTA methods like TIM-GCN or HisRep often degenerate into static poses after 1-2 seconds, the keypose method generates dynamic, recognizable actions for the full 5-second window.
  • Quantitative Superiority: On the MOAC metric, the proposed method significantly outperformed baselines. For example, on Human3.6M, it achieved a top-1 accuracy of 32% compared to the next best at 21%.
  • Diversity: By sampling the predicted distributions, the model produces a wide variety of plausible future paths, which is critical for safety-critical applications like autonomous driving.
  • Efficiency: The model is remarkably fast to train—taking only ~2.2 hours compared to 11–30 hours for competing SOTA methods.
Figure 4. Qualitative evaluation of our results on the Human3.6M (Figures a, b, c) and CMU-Mocap (Figure d) datasets. We present the results of: TIM-GCN (green), HisRep10 (dark blue), HisRep125 (light blue), Mix&Match (violet), DLow (pink), Ours (red). For the multiple prediction methods, we display the prediction that has the lowest average MPJPE error with respect to the ground truth. The top black row depicts the ground truth, and the first 5 poses are the conditioning ones. The numbers at the top indicate the future timestamp in seconds. We highlight the segments and body parts that undergo significant motion in green, and the areas that are static for long stretches in red. Our approach yields more dynamic poses for discussion, walking dog and directing traffic, which are acyclic motions. For cyclic motions such as walking, the other methods are also able to produce dynamic poses.

Limitations and Future Work

The primary failure mode is incorrect label prediction. If the model misclassifies a keypose, the character might suddenly switch from "sitting" to "phoning" because those poses share similar leg positions.

Additionally, using fixed cluster centers means the model can't perfectly represent every unique nuance of a specific person's movement. The authors suggest that future work could involve end-to-end learning of the clustering process to make the keypose representations even more flexible.

Summary updated

BibTeX
@misc{kiciroglu2020long,
  author = {Sena Kiciroglu and Wei Wang and Mathieu Salzmann and Pascal Fua},
  title = {{Long Term Motion Prediction Using Keyposes}},
  year = {2020},
  eprint = {2012.04731},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.04731},
}
Figure