Multi-Transmotion: Pre-trained Model for Human Motion Prediction

Yang Gao, Po-Chien Luan, Alexandre Alahi

TL;DR

While large pre-trained foundation models dominate natural language processing and computer vision, human motion prediction has remained fragmented due to incompatible datasets and diverse modalities. Multi-Transmotion introduces the first unified data framework merging seven distinct motion datasets alongside a flexible, pre-trained transformer architecture. By leveraging novel temporal encoding and dynamic masking strategies, it achieves state-of-the-art performance across both trajectory forecasting and 3D human pose prediction.

What Problem Does This Paper Address?

Predicting where humans will move and how their bodies will articulate is critical for autonomous driving and social robotics. However, developing a general "foundation" model for human motion has faced three core bottlenecks:

  1. Data Fragmentation: Existing datasets vary widely in coordinate systems, skeletal joint configurations, recording frequencies (e.g., 2.5 fps vs. 50 fps), and observation/prediction time horizons.
  2. Multimodal Disconnect: Human motion encompasses diverse visual cues—2D/3D bounding boxes, full-body 3D keypoints, and spatial trajectories—which previous models usually tackled in isolation rather than synergistically.
  3. Sensor Noise & Incompleteness: Real-world deployments constantly face occluded joints or missing frames, causing brittle models to fail.

Methods

Multi-Transmotion bridges these gaps with a standardized data pipeline and a two-stage transformer model:

  • Unified Data Standardization: Sequences are standardized to 2 seconds of history and 4 seconds of future prediction at 5 fps, mapping varying skeletal topologies into a consistent 39-joint ID configuration.
  • Dual-Transformer Architecture:
  • The first transformer (6 layers, 4 heads) models cross-modality features for each pedestrian, mapping coordinates into a shared embedding space using modality-specific linear projection layers.
  • The second transformer (4 layers, 4 heads) models fine-grained social interactions among all pedestrians in the scene.
  • Frame-Rate Flexibility (Up-Sampling & Sampling Mask): Valid input frames are padded to a 50 fps maximum rate. A chunked sampling mask deliberately drops token chunks during pre-training, teaching the model to adapt seamlessly to lower frame rates (e.g., 2.5 fps or 25 fps) without structural changes.
  • Bi-Directional Temporal Encoding: Instead of numbering time sequentially from the first observation frame ($0 \to T$), the encoder anchors time at the boundary between past and future ($0$ at the last observed step, indexing backward for history and forward for future). This allows arbitrary past and future horizons during inference.
  • Dynamic Spatial-Temporal Masking: The model randomly drops a dynamic fraction of pose keypoints ($0 < r_s < 1$) and temporal frames ($r_t = 0.1$), forcing it to infer complete body motion from sparse signals.

Datasets

The authors harmonized seven major datasets, creating a benchmark of over 2.3 million trajectory samples and 1.3 million 3D pose samples:

  • Training & Evaluation: NBA SportVU (real-world sports tracking), Trajnet++ (crowd trajectory), JRDB-Pose (indoor/outdoor social robotics), JTA (synthetic urban pedestrians), Human3.6M (indoor MoCap), AMASS (large-scale motion capture archive), and 3DPW (in-the-wild video with IMUs).
  • Robotics Simulation: CrowdNav simulator trajectories were used to validate the predictor in a closed-loop robot navigation task.

Key Insights and Ideas

  • Anchoring time at the present: Counting time steps outward from the present moment ($T_{obs}$) removes horizon-length rigidness, letting one pre-trained model handle different past/future ratios out of the box.
  • 3D pose directly sharpens trajectory prediction: Body rotation and orientation at the final observed frame provide crucial anticipatory cues about impending turns, lowering trajectory displacement errors.
  • Masking breeds severe-noise resilience: Masked pre-training dramatically shields the network against degraded inputs. When subjected to severe Gaussian noise on input keypoints, the masked model degraded by only 11.0%, whereas an unmasked baseline degraded by 46.7%.
  • Pre-training beats dataset-specific training: Even when fine-tuned on modest data slices (few-shot on 1k samples), the pre-trained weights significantly outperform models trained from scratch.

Key Results

  • Trajectory Prediction (NBA): Achieved 0.75m MinADE₂₀ and 0.97m MinFDE₂₀, outperforming diffusion and transformer baselines (e.g., Leapfrog at 0.81/1.10m and Social-Transmotion at 0.78/1.01m).
  • Trajectory Prediction with Pose (JTA): Incorporating 3D pose dropped error from 0.97m ADE / 1.97m FDE (trajectory only) to 0.91m ADE / 1.89m FDE (trajectory + 3D pose).
  • Pose Prediction (AMASS & 3DPW): Competitive or superior to specialized pose-forecasting models across 160 ms to 1000 ms horizons (e.g., 19.3 mm MPJPE at 160 ms on AMASS).
  • Robot Navigation: Integrating Multi-Transmotion into a social force navigation planner reduced the robot's collision rate by 80% (1.93% down to 0.39%) in crowded navigation scenarios.

Limitations and Future Work

  • Visual Context Missing: The framework relies purely on coordinate geometry (keypoints, bounding boxes, trajectories) and does not ingest raw RGB context, map geometry, or semantic scene constraints.
  • Higher-Level Intentions: Explicit human goals, social roles, and intent modeling are not yet integrated into the representation space.

Summary updated

BibTeX
@inproceedings{gao2024multi,
  author = {Yang Gao and Po-Chien Luan and Alexandre Alahi},
  title = {{Multi-Transmotion: Pre-trained Model for Human Motion Prediction}},
  booktitle = {Conference on Robot Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=X3OfR3axX4},
}

Loading related content...

Figure