Skip to main content
QUICK REVIEW

[Paper Review] Traj-MAE: Masked Autoencoders for Trajectory Prediction

Hao Chen, Jiaze Wang|arXiv (Cornell University)|Mar 12, 2023
Autonomous Vehicle Technology and SafetyEngineering3 citations
TL;DR

Traj-MAE proposes a masked autoencoder framework for trajectory prediction using masked modeling on both temporal and social (agent-level) sequences. By pre-training on masked trajectories and HD maps via continual learning, it achieves state-of-the-art performance, reducing minADE by 18% and minFDE by 9% on Argoverse compared to its baseline, with significant improvements in motion forecasting accuracy and collision avoidance.

ABSTRACT

Trajectory prediction has been a crucial task in building a reliable autonomous driving system by anticipating possible dangers. One key issue is to generate consistent trajectory predictions without colliding. To overcome the challenge, we propose an efficient masked autoencoder for trajectory prediction (Traj-MAE) that better represents the complicated behaviors of agents in the driving environment. Specifically, our Traj-MAE employs diverse masking strategies to pre-train the trajectory encoder and map encoder, allowing for the capture of social and temporal information among agents while leveraging the effect of environment from multiple granularities. To address the catastrophic forgetting problem that arises when pre-training the network with multiple masking strategies, we introduce a continual pre-training framework, which can help Traj-MAE learn valuable and diverse information from various strategies efficiently. Our experimental results in both multi-agent and single-agent settings demonstrate that Traj-MAE achieves competitive results with state-of-the-art methods and significantly outperforms our baseline model.

Motivation & Objective

  • To improve trajectory prediction by leveraging masked autoencoding for both motion sequences and HD map representations.
  • To investigate the effectiveness of continual pre-training with multiple masking strategies (temporal, social, point, patch, block) on trajectory forecasting.
  • To analyze the contribution of pre-training modules for trajectories and maps separately and jointly.
  • To reduce prediction errors and collision rates in multi-agent motion forecasting scenarios.
  • To demonstrate the superiority of Traj-MAE over existing models like Autobot-Ego on standard benchmarks.

Proposed method

  • Traj-MAE is built on the Autobots architecture, an encoder-decoder model that processes sequences of sets with K attributes, M agents, and t time steps.
  • The model applies row-wise feed-forward networks (rFFN) to project K-dimensional vectors into a dK-dimensional latent space, followed by positional encoding along the time axis.
  • The encoder uses L layers of multi-head attention blocks (MAB) with time and agent-axis encodings to model temporal and social dependencies.
  • The decoder reconstructs future trajectories by concatenating encoded map features with learnable seed parameters, then applying L layers of MABD along time and one MAB along agents.
  • Masked autoencoding is applied during pre-training using three strategies: social masking (S), temporal masking (T), and combined masking (ST), with continual pre-training across stages.
  • For map reconstruction, three additional masking strategies are used: point masking (Po), patch masking (Pa), and block masking (B), applied in a continual pre-training regime.

Experimental results

Research questions

  • RQ1Can masked autoencoding on both trajectories and HD maps improve motion forecasting performance?
  • RQ2Does continual pre-training with multiple masking strategies lead to better generalization than multi-task or continual learning baselines?
  • RQ3How effective are separate pre-training modules for trajectory and map representations in reducing prediction errors?
  • RQ4What is the impact of pre-training on map and trajectory encoders on collision avoidance and joint prediction accuracy?
  • RQ5Can masked modeling improve performance on both ego-centric and multi-agent trajectory prediction tasks?

Key findings

  • Traj-MAE achieves a minADE of 0.60 on the Argoverse validation set, representing an 18% relative reduction compared to the Autobot-Ego baseline (0.73).
  • The model reduces minFDE from 1.10 to 1.00, a 9% improvement, and lowers the miss rate (MR) from 0.12 to 0.09, a 25% reduction.
  • Continual pre-training with masked strategies (S, T, ST or Po, Pa, B) outperforms both continual learning and multi-task learning, with the best results achieved in the continual pre-training setting.
  • Pre-training the trajectory encoder significantly improves minADE, and further gains are achieved when the map encoder is also pre-trained, demonstrating the effectiveness of both modules.
  • The ablation study confirms that map encoder pre-training alone has minimal benefit, but when combined with trajectory pre-training, it leads to substantial performance gains.
  • The model achieves a Consistent MinJointMR of 0.092 and EgoCollisionRate of 0.092, indicating strong generalization and reduced collision frequency in multi-agent scenarios.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.