Temporal Continual Learning with Prior Compensation for Human Motion Prediction

Jianwei Tang, Jiangxin Sun, Xiaotong Lin, lifang zhang, Wei-Shi Zheng, Jian-Fang Hu

TL;DR

Researchers have developed Temporal Continual Learning (TCL), a multi-stage training framework that treats human motion prediction as a sequence of increasingly difficult tasks. By introducing a learnable Prior Compensation Factor (PCF), the framework prevents models from "forgetting" short-term accuracy while learning to predict the distant, more uncertain future, leading to state-of-the-art results across major benchmarks.

What Problem Does This Paper Address?

Human Motion Prediction (HMP) is the task of taking a few frames of video (or skeletal data) and predicting where a person will be in the next few seconds. It’s a foundational technology for autonomous driving (e.g., predicting if a pedestrian will step into the street) and human-robot interaction.

The core challenge lies in a "temporal tug-of-war." Predicting the "near-future" (the next 100ms) is relatively easy and certain, while the "far-future" (1 second or more) is highly uncertain—a person could turn, stop, or sit down. Most current models try to learn both simultaneously, leading to two major issues:

  1. Dominance of Uncertainty: The high error and uncertainty of long-term predictions can dominate the training process, actually degrading the accuracy of short-term predictions.
  2. Wasted Priors: Models fail to effectively use the "knowledge" of the short-term path as a foundation (or prior) for predicting the long-term path.

Methods

To address this, the authors propose a shift from one-shot training to Temporal Continual Learning (TCL). Instead of predicting the whole sequence at once, the training is broken into multiple stages.

1. Multi-stage Training

The model first learns to predict a very short segment. In the next stage, it is tasked with predicting a longer segment, using the weights from the previous stage as a starting point. This "progressive" approach allows the model to build on what it already knows.

Training strategies comparing standard approaches to the proposed multi-stage Temporal Continual Learning.

2. Prior Compensation Factor (PCF)

A common problem with multi-stage training is "catastrophic forgetting"—as the model focuses on the new, long-term task, it loses its edge on the short-term task. To fix this, the authors introduced the Prior Compensation Factor ($\alpha$).

  • What it is: A learnable variable that estimates how much prior knowledge is being lost during the transition between stages.
  • How it works: The authors mathematically derived a new optimization objective (an upper bound of the log-likelihood) where $\alpha$ acts as a dynamic weight. It forces the model to compensate for lost information, ensuring that the "priors" from earlier stages remain intact.

3. Model Agnostic

TCL isn't a new neural network architecture; it's a training strategy. The authors demonstrated that it can be wrapped around existing "backbone" models like GCNs (Graph Convolutional Networks), RNNs, and Transformers.

Key Insights and Ideas

  • The "Short-then-Long" Advantage: Preliminary experiments showed that pre-training on short sequences before tackling long ones improves long-term accuracy. This suggests that short-term motion is a vital "prior" for the far future.
  • Forgetting is the Enemy: While multi-stage training helps long-term results, it usually destroys short-term performance. The PCF is the "glue" that holds these two temporal scales together.
  • Theoretical Grounding: Rather than just adding a heuristic penalty, the authors used a Bayesian formulation to derive their loss function, ensuring the optimization objective is mathematically sound.

Key Results

The framework was validated on four gold-standard HMP datasets: Human3.6M, CMU-MoCap, 3DPW, and AMASS. The TCL framework consistently improved the performance of every backbone model it was tested on.

Performance improvements across CMU, 3DPW, and AMASS datasets when applying the TCL framework to various backbone models.
  • State-of-the-Art (SOTA): When applied to the PGBIG backbone, TCL achieved a Mean Per Joint Position Error (MPJPE) of 64.97mm on Human3.6M, significantly outperforming the original PGBIG's 66.52mm.
  • Long-Term Gains: On the challenging 3DPW dataset, the improvement was even more pronounced, with an error reduction of nearly 9mm (63.59 vs 72.49) for long-term predictions.
  • Visual Accuracy: Qualitative results show that while standard models often drift into "unnatural" or frozen poses during long-term predictions, TCL-trained models maintain realistic postures (e.g., staying upright or completing a bending motion).

Limitations and Future Work

  • Training Overhead: The primary downside is that multi-stage training takes longer than a single-stage approach. However, the authors note that inference time remains unchanged, meaning the final model is just as fast in a real-world application.
  • Segment Selection: The paper uses specific segment lengths (e.g., 3, 9, and 13 frames). Future work could explore how to automatically determine the optimal number of stages and segment lengths for different types of motion.
  • Broader Application: While focused on human motion, the authors suggest this "temporal continual" logic could be applied to other time-series forecasting tasks, such as weather prediction or financial modeling.

Summary updated

BibTeX
@inproceedings{tang2023temporal,
  author = {Jianwei Tang and Jiangxin Sun and Xiaotong Lin and lifang zhang and Wei-Shi Zheng and Jian-Fang Hu},
  title = {{Temporal Continual Learning with Prior Compensation for Human Motion Prediction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=v0GzRLvVp3},
}
Figure