Efficient Motion Prediction: A Lightweight & Accurate Trajectory Prediction Model With Fast Training and Inference Speed

Alexander Prutsch, Horst Bischof, Horst Possegger

TL;DR

The paper introduces EMP (Efficient Motion Prediction), a lightweight, transformer-based trajectory prediction model designed to overcome the massive computational bottlenecks of current state-of-the-art methods. By prioritizing architectural simplicity and eliminating resource-heavy pre-training, EMP achieves highly competitive accuracy on the challenging Argoverse 2 benchmark while training in just a few hours on a single GPU and delivering ultra-low inference latency.

What Problem Does This Paper Address?

For autonomous vehicles (AVs) and mobile robots to navigate safely, they must accurately predict the future trajectories of surrounding traffic agents (vehicles, pedestrians, cyclists). While modern transformer-based models achieve excellent prediction accuracy, they come with a steep computational cost. Many state-of-the-art models require massive GPU clusters (e.g., 8x or 16x V100s) and days of training, or rely on time-consuming self-supervised pre-training schemes.

This resource intensity creates two major bottlenecks:

  1. Lack of Adaptability: Practitioners cannot easily retrain or fine-tune these models on custom, use-case-specific datasets without massive infrastructure investments.
  2. Deployment Challenges: High inference latency makes it difficult or impossible to deploy these models on embedded hardware with limited compute, such as small delivery robots or factory AGVs.

The authors tackle this gap by asking: Can we design a motion prediction model that is fast to train, fast to run, and still highly accurate?

Methods

The authors introduce the Efficient Motion Prediction (EMP) model, which strips away complex inductive biases and avoids pre-training entirely.

Overview of the EMP architecture, showing the parallel processing pipelines for agent histories and road maps.

The pipeline consists of three main stages:

  • Agent & Lane Encoding: Agent states (2D position, velocity, etc.) are processed using standard multi-head self-attention transformer blocks along the temporal dimension, followed by max-pooling to create compact agent tokens. Lane segments are encoded using a lightweight, PointNet-like structure.
  • Scene Encoding: Agent and lane tokens are concatenated, injected with spatial positional embeddings (capturing position and orientation), and passed through a series of standard transformer self-attention blocks to model agent-map interactions.
  • Decoding: The authors experiment with two distinct decoder architectures to balance the speed/accuracy trade-off:
  • EMP-M (MLP-based): A highly lightweight approach that broadcasts the focal agent token, adds learnable mode embeddings, and uses simple Multi-Layer Perceptrons (MLPs) to directly output multi-modal trajectories and confidence scores.
  • EMP-D (DETR-like): A slightly more sophisticated transformer-based decoder that uses learnable query embeddings and cross-attention mechanisms targeting only the focal agent and lane tokens, intentionally skipping computationally heavy cross-attention across all other agents.
The two proposed decoder variants: the ultra-lightweight MLP decoder (EMP-M) and the streamlined cross-attention decoder (EMP-D).

Datasets

The model was trained and evaluated on two widely recognized industry benchmarks:

  • Argoverse 2 (AV2): The primary evaluation dataset, consisting of 250,000 complex, 11-second driving scenarios across six American cities, focusing on long-term prediction (6-second futures).
  • Argoverse 1 (AV1): Used for preliminary validation, containing shorter (5-second) and simpler driving sequences.

Key Insights and Ideas

  • Temporal Attention + Max Pooling Wins: Applying self-attention strictly along the temporal dimension for individual agents before pooling provides a massive speedup compared to architectures that attempt complex spatial-temporal mixing early on.
  • Pre-training is Optional for Efficiency: While methods like Forecast-MAE rely on 60+ hours of masked autoencoder pre-training to achieve high accuracy, EMP proves that smart architectural choices can match or exceed that performance training entirely from scratch.
  • Streamlined Cross-Attention: In the DETR-like decoder variant (EMP-D), omitting cross-attention between the motion queries and non-focal agents—and skipping mode self-attention—sacrifices only a marginal fraction of accuracy while drastically cutting down inference latency.

Key Results

The trade-offs evaluated in the paper highlight EMP's efficiency:

Fig. 1. Resource and accuracy trade-off of our model compared to Forecast- MAE [8] and MacFormer [18]. Top: Required training time on a single NVIDIA V100 GPU vs. the minFDE6 on the Argoverse 2 validation set. Bottom: Inference latency for predicting 32 scenarios on a single NVIDIA RTX 2080 TI vs. the brier-minFDE6 on the AV2 test set.
  • Training Speed: On a single NVIDIA V100 GPU, EMP-D trains in just 12.7 hours and EMP-M in 11.6 hours. This cuts the training time of closely related models (like Forecast-MAE) nearly in half.
  • Inference Latency: For a batch prediction of 32 scenarios on an RTX 4090, EMP-M takes just 11 ms and EMP-D takes 13 ms. This makes them roughly twice as fast as Forecast-MAE and more than 20 times faster than heavy models like QCNet (318 ms).
  • Accuracy: Despite its small footprint, EMP-D achieves a competitive brier-minFDE6 score of 1.98 on the AV2 test set, matching the accuracy of the far more complex MTR model and outperforming Forecast-MAE.
Visual example of EMP-D successfully predicting multi-modal future trajectories (orange stars) at a complex intersection.

Limitations and Future Work

While EMP successfully optimizes for resource-constrained environments, it does not claim the absolute top spot on the leaderboard. Heavyweight models (such as SEPT or QCNet) still achieve superior absolute accuracy metrics, albeit at the cost of massive training infrastructure and slower runtime speeds.

Additionally, the authors note that their preprocessing and hyperparameters were heavily tailored toward the complex AV2 dataset; consequently, their results on the simpler AV1 dataset are preliminary and could be further optimized in future work.

Summary updated

BibTeX
@inproceedings{prutsch2024efficient,
  author = {Alexander Prutsch and Horst Bischof and Horst Possegger},
  title = {{Efficient Motion Prediction: A Lightweight \& Accurate Trajectory Prediction Model With Fast Training and Inference Speed}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2024},
  doi = {10.1109/iros58592.2024.10802425},
}
Figure