Robust Human Motion Forecasting using Transformer-based Model

Esteve Valls Mascaro, Shuo Ma, Hyemin Ahn, Dongheui LeearXiv 2023 · DOI

TL;DR

The 2-Channel Transformer (2CH-TR) is a lightweight, high-speed model designed for real-time 3D human motion forecasting in robotic applications. By decoupling spatial and temporal dependencies, it achieves state-of-the-art accuracy using 80% less input data than previous Transformer models and remains robust even when human joints are severely occluded.

What Problem Does This Paper Address?

For robots to safely and naturally coexist with humans, they must anticipate our movements. While 3D human motion forecasting is a well-studied field in computer vision, most existing models are ill-suited for actual robotics. They tend to be:

  1. Computationally Heavy: Many state-of-the-art models are too slow for real-time inference on robotic hardware.
  2. Data-Hungry: Models like the ST-Transformer often require long observation "prefixes" (e.g., 2 seconds of video) before they can make a prediction.
  3. Fragile: Real-world environments are messy. Sensors get blocked, leading to "occlusions" where parts of the human skeleton are missing. Most models struggle to produce plausible forecasts when input data is noisy or incomplete.

The authors aim to bridge this gap by creating a model that is fast, light, and robust enough for "in the wild" robotic deployment.

Methods

The core innovation is the 2-Channel Transformer (2CH-TR) architecture. Instead of trying to process the entire spatio-temporal block at once, the authors split the task into two independent streams:

  • The Temporal Channel: This channel focuses on how individual joints evolve over time. It uses self-attention to weight which past frames are most relevant for predicting the future.
  • The Spatial Channel: This channel focuses on the relationships between different joints within a single frame (e.g., how the movement of an elbow relates to the shoulder). It learns the underlying "kinematic tree" of the human body without needing it to be hard-coded.
Architecture of 2CH-TR showing the decoupled Spatial and Temporal channels.

Unlike auto-regressive models (like RNNs) that predict one frame at a time and accumulate errors, 2CH-TR uses a one-shot prediction approach. It takes a short 400ms prefix, pads it with the last observed pose, and predicts the entire future sequence (up to 1000ms) in a single forward pass.

Datasets

  • Human3.6M: The primary benchmark, featuring 3.6 million 3D human poses across 15 different actions (walking, eating, etc.).
  • Real-world "In the Wild" Data: The authors tested their model on custom video sequences, using FrankMocap to extract 3D skeletons from standard monocular video to demonstrate practical applicability.

Key Insights and Ideas

  • Decoupling is Efficient: By separating spatial and temporal processing, the model can be much smaller. 2CH-TR is 59% lighter than the popular DCT-GCN model because it handles both short-term and long-term predictions in a single network, rather than requiring separate models for each.
  • Less Prefix, More Speed: Reducing the required observation time from 2000ms to 400ms significantly lowers the "wait time" for a robot to start reacting.
  • Robustness to Occlusion: Because the channels are independent, the model can often "fill in the blanks" when joints are missing. The authors found that even with 80% of joint data occluded in the input, the model could still generate plausible future motions.
  • Global Awareness: Unlike many baselines, 2CH-TR predicts global rotation and translation. This is critical for robots; it’s not enough to know how a human is moving their limbs; the robot needs to know where the human is heading in the room.
Fig. 2. Spatio-temporal graph of joint dependencies for human motion. The blue arrows refer to temporal relationships between the same joint param- eters in different frames. The orange arrows imply the spatial relationship between joints in the same frame.

Key Results

  • Speed: 2CH-TR is roughly 128 times faster than the ST-Transformer and 30% faster than DCT-GCN on a standard GPU (Tesla-K80).
  • Accuracy: On the Human3.6M dataset, it reduced Mean Squared Error (MSE) by 8.89% for short-term and 2.57% for long-term predictions compared to the ST-Transformer, despite using much less input data.
  • Lightweight: The model has only 2.6M parameters, making it suitable for deployment on edge devices common in robotics.
  • Occlusion Performance: In tests with "Time Consistent Occlusions" (where joints disappear for periods), 2CH-TR maintained stable, realistic pose sequences where auto-regressive baselines often collapsed into non-plausible poses.

Limitations and Future Work

  • Dependency on the Last Pose: The model relies heavily on the last observed pose (which it replicates for padding). If the skeleton estimation for that specific frame is highly erroneous, the error propagates through the entire forecast.
  • Linear Interpolation Baseline: For very short-term occlusions, simple linear interpolation remains a strong competitor. The authors note that their model's true strength lies in handling severe, long-term occlusions where interpolation fails.
  • Future Directions: While not explicitly detailed, the focus on real-world demonstration suggests future work could involve direct integration into robot path-planning loops to test active collision avoidance and collaborative task execution.

Summary updated

BibTeX
@misc{mascaro2023robust,
  author = {Esteve Valls Mascaro and Shuo Ma and Hyemin Ahn and Dongheui Lee},
  title = {{Robust Human Motion Forecasting using Transformer-based Model}},
  year = {2023},
  eprint = {2302.08274},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.08274},
}
Figure