Anticipating many futures: Online human motion prediction and synthesis for human-robot collaboration

Judith Bütepage, Hedvig Kjellström, Danica KragicarXiv 2017

Abstract

To safely and fluidly collaborate with humans, robots need to anticipate movements before they happen. This paper introduces a deep generative model—a Conditional Variational Autoencoder (CVAE)—that predicts multiple possible future human motions from skeletal data in real-time. By modeling the inherent uncertainty of human movement, the system can accurately guess a person's reaching target within just 300 milliseconds of motion onset, without requiring target-specific training data.

Introduction

In human-robot interaction (HRI), a robot's ability to seamlessly collaborate hinges on anticipation. If a robot waits until a human finishes a movement to react, the interaction becomes clunky and potentially unsafe. While previous research used supervised classifiers for specific reaching trajectories, these models often fail to generalize to new targets or capture the stochastic nature of human motion. Human movement is inherently noisy; there isn't just one guaranteed future, but many possible ones. This work proposes a general, unsupervised model of human motion that predicts future trajectories and infers intentions on the fly, explicitly accounting for this uncertainty.

Skeletal tracking and predicted future motion trajectories (yellow trails) representing the "many futures" modeled by the CVAE.

Methods

The core of the approach is a Conditional Variational Autoencoder (CVAE). Instead of a single deterministic prediction, the CVAE models a probability distribution over future poses given a window of past frames (approx. 1.6 seconds).

Architecture

To maintain real-time performance, the authors avoid recurrent neural networks (RNNs) in favor of a feedforward architecture. This includes an encoder, a "transitioner" to capture dynamics in hidden variables, and a decoder. Recognizing the physical structure of the human body, the system employs hierarchical modeling, training four separate models for the root joint, torso, left arm, and right arm.

Zero-Shot Target Inference

The model enables zero-shot target inference by using the CVAE's predictive distribution to calculate the likelihood that a predicted future hand position will land on a given target. This allows the robot to infer goals it was never explicitly trained to recognize.

Experimental Setup

Data was collected using a Kinect sensor tracking 9 upper-body joints at 30 FPS.

  • Training: 90 minutes of everyday upper-body movements.
  • Prediction Evaluation: 20 minutes of held-out random movements.
  • Target Classification: 10 reaches to 4 different targets.
  • Latent Space Evaluation: Reaching movements categorized as "legible" (exaggerated intent) and "predictable" (efficient).

Key Results

The model successfully predicts human motion up to 1660 ms into the future. While error increases after ~560 ms due to inherent unpredictability, the model accurately represents the variance of these long-term predictions.

Target Classification Performance

The CVAE achieved an impressive 89.17% accuracy after seeing only the first 20% of a trajectory (approx. 200-300 ms). As shown in the performance comparison, it significantly outperforms baseline methods like linear extrapolation and current hand position monitoring. By 60% of the trajectory, accuracy reaches 99.89%.

Classification rate over time: The CVAE (red) achieves high accuracy much faster than linear extrapolation (green) or current hand position (blue).

Understanding Legibility

The CVAE's latent space naturally clusters "legible" versus "predictable" movements without explicit training. "Legible" motions are classified with near 100% accuracy much earlier in the trajectory, confirming that the model captures deep kinematic cues used by humans to communicate intent.

Conclusion and Future Work

This research demonstrates that embracing uncertainty through generative modeling allows for rapid and accurate intention recognition. While long-term prediction remains challenging due to the stochastic nature of human behavior, the CVAE provides a robust framework for real-time anticipation. Future work will integrate this system into physical human-robot collaboration tasks to evaluate how predictive capabilities improve robot planning and behavior in interactive environments.

Summary updated

BibTeX
@misc{butepage2017anticipating,
  author = {Judith Bütepage and Hedvig Kjellström and Danica Kragic},
  title = {{Anticipating many futures: Online human motion prediction and synthesis for human-robot collaboration}},
  year = {2017},
  eprint = {1702.08212},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1702.08212},
}
Figure