Improving Human Motion Prediction Through Continual Learning

Mohammad Samin Yasar, Tariq IqbalarXiv 2021

Abstract

Human motion prediction is an essential component for enabling closer human-robot collaboration. The task of accurately predicting human motion is non-trivial. It is compounded by the variability of human motion, both at a skeletal level due to the varying size of humans and at a motion level due to individual movement's idiosyncrasies. These variables make it challenging for learning algorithms to obtain a general representation that is robust to the diverse spatio-temporal patterns of human motion. In this work, we propose a modular sequence learning approach that allows end-to-end training while also having the flexibility of being fine-tuned. Our approach relies on the diversity of training samples to first learn a robust representation, which can then be fine-tuned in a continual learning setup to predict the motion of new subjects. We evaluated the proposed approach by comparing its performance against state-of-the-art baselines. The results suggest that our approach outperforms other methods over all the evaluated temporal horizons, using a small amount of data for fine-tuning. The improved performance of our approach opens up the possibility of using continual learning for personalized and reliable motion prediction.

Introduction

For robots to work safely and fluidly alongside humans—whether in a factory or a home—they need to anticipate human motion. However, human movement is notoriously difficult to model. It varies based on skeletal size (height/limb length) and individual "idiosyncrasies" (the unique way a specific person walks or reaches). Most current AI models try to learn a single "average" version of human motion. While these models generalize well, they often fail to capture the subtle, personalized patterns of a specific partner. Conversely, training a model from scratch for every new person is computationally expensive and requires too much data. This research addresses the "generalization vs. personalization" trade-off by proposing a modular framework rooted in continual learning.

Methodology

The proposed approach utilizes a modular encoder-decoder architecture designed for two-phase learning, inspired by the human brain's ability to generalize across experiences while retaining specific episodic memories.

  1. Phase 1: Generalized Representation Learning: The model is trained on a large, diverse dataset to learn the "language" of human motion. The encoder uses Gated Recurrent Units (GRUs) to process position, velocity, and acceleration data, fused via a multi-head self-attention mechanism.
  2. Phase 2: Curriculum Learning for Personalization: When a new subject is introduced, the researchers use "discriminative fine-tuning." They freeze the encoder (preserving general knowledge) and only update the decoder’s parameters using a small amount of data from the specific individual.
The proposed modular architecture uses an encoder (E) and decoder (D) to map observed frames to predicted frames via latent representations.

Key technical features include Adversarial Regularization, which ensures the latent space remains stable and follows a known distribution, and a Structured Prediction Layer (SPL). The SPL ensures the decoder predicts joints hierarchically based on a skeletal tree, preventing the model from generating physically impossible bone lengths or disjointed skeletons.

Experimental Setup

The study utilized the UTD-MHAD (University of Texas at Dallas Multimodal Human Action Dataset) to evaluate the model. This dataset includes 27 action classes (gestures, exercises, and daily activities) performed by 8 different subjects. The model was trained and tested using 3D skeleton data consisting of 20 joints per frame.

Results and Discussion

The model was evaluated on its ability to predict 15 frames into the future based on 15 observed frames. The results demonstrate that the "Curriculum Learning" (C.L.) approach consistently outperformed both the "Zero-Velocity" baseline and the standard non-continual version of the same model.

Comparison of predicted motion sequences against ground truth, highlighting the accuracy gains from the continual learning (C.L.) approach.

Quantitative improvements were most pronounced in mid-to-long-term horizons (10–15 frames). For instance, for Subject 6, the Mean Squared Error (MSE) dropped from 71.68 (without C.L.) to 46.41 (with C.L.) at the 15-frame mark. The researchers found that adversarial training acts as a powerful regularizer, preventing the model's internal logic from "breaking" when encountering new, personalized data. By only fine-tuning the decoder, the model treats the encoder as a universal translator of motion and the decoder as the component that understands an individual's specific "accent" or style.

Conclusion

While the current approach significantly improves prediction accuracy, limitations remain. Freezing the encoder prevents catastrophic forgetting but may limit adaptation to extreme skeletal differences. Future work will explore "unfreezing" parts of the encoder and moving toward zero-shot scenarios where the model can adapt even more quickly to activities never seen during initial training. Ultimately, the goal is to deploy these models in real-world human-robot collaborative tasks.

Summary updated

BibTeX
@misc{yasar2021improving,
  author = {Mohammad Samin Yasar and Tariq Iqbal},
  title = {{Improving Human Motion Prediction Through Continual Learning}},
  year = {2021},
  eprint = {2107.00544},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.00544},
}
Figure