What Truly Matters in Trajectory Prediction for Autonomous Driving?

Phong Tran, Haoran Wu, Cunjun Yu, Panpan Cai, Sifa Zheng, David Hsu

TL;DR

Trajectory prediction models for autonomous driving are traditionally evaluated on fixed, offline datasets, but their accuracy on these benchmarks does not correlate with actual driving performance. This paper reveals that this disconnect is primarily caused by the "dynamics gap"—the ignored closed-loop interaction between the autonomous vehicle and surrounding traffic—and demonstrates that computational latency is just as critical as accuracy when deploying models in the real world.

What Problem Does This Paper Address?

In autonomous driving (AD), predicting where nearby vehicles and pedestrians will move next is vital for safe motion planning. Currently, the field relies heavily on Static Evaluation: testing models on fixed datasets (like nuScenes or Argoverse) using distance-based metrics like Average Displacement Error (ADE).

The authors point out a major flaw in this paradigm: a model that scores exceptionally well on a static dataset often performs poorly when deployed inside a real vehicle's control loop. This paper investigates why this disparity exists, focusing on two main factors:

  1. The Dynamics Gap: In the real world, an autonomous vehicle (the ego-agent) acts based on its predictions. Its subsequent actions cause surrounding drivers to react, altering the future state of the environment. Static datasets completely miss this interactive feedback loop because the behaviors of all other vehicles are predetermined and frozen in the data records.
  2. Computational Efficiency: Complex deep learning models take time to compute. In a real-time system, a highly accurate but slow prediction model delays the vehicle's planner, which can severely degrade driving safety and comfort.
Figure 2: Dynamics Gap. (a) In static evaluation, the agent’s motion is determined and unaffected by predictors. (b) In the real-world, different predic- tors result in varied behaviors of the agent, which directly affects the ground truth of prediction.

Methods

To systematically analyze these factors, the authors re-framed trajectory prediction through the lens of a Markov Decision Process (MDP), treating the predictor as part of the vehicle's operational policy. Their evaluation framework consisted of:

  • 10 Prediction Models: A mix of four classic model-based methods (e.g., Constant Velocity, K-Nearest Neighbor) and six modern data-driven neural networks (e.g., HiVT, LaneGCN, Social LSTM).
  • Two Downstream Planners: A simple, fast reactive planner (RVO) and a sophisticated, uncertainty-aware probabilistic planner (DESPOT).
  • Interactive Simulation: Instead of relying purely on static playback, they deployed these combinations inside the SUMMIT simulator (an extension of CARLA designed for dense urban traffic). This allowed them to conduct Dynamic Evaluation, where surrounding traffic actively reacted to the ego-vehicle's choices.

They designed two distinct experimental setups: Fixed Prediction Ability (where the simulator waits for the model to finish computing, isolating the dynamics gap from latency effects) and Fixed Planning Ability (where models are subjected to strict real-time time budgets).

Datasets

The authors introduced a custom Alignment Dataset containing 59,944 scenarios collected directly from the SUMMIT simulator. This dataset allowed them to train and evaluate the prediction models statically, providing a direct baseline to compare against the exact same scenarios run interactively in the closed-loop simulator.

Key Insights and Ideas

  • The Illusion of Offline Benchmarks: Static metrics like offline ADE show virtually zero correlation with actual driving success. Under certain planners, the data even showed a counterintuitive positive correlation—meaning models with worse offline accuracy occasionally resulted in better driving performance.
  • The Dynamics Gap is the Main Culprit: Quantitative analysis revealed that the dynamics gap accounts for 70.3% to 77.0% of the inconsistency between static prediction metrics and actual driving performance.
Figure 1: Prediction accuracy vs driving performance. Contrary to popular belief (left, black curves), our study indicates no strong correlation between common prediction evaluation metrics and driving performance (left, red curves). Eight representative prediction models are selected: Constant Velocity (CV) [30], Constant Acceleration (CA) [30], K-Nearest Neighbor (KNN) [9], Social KNN (S-KNN) [9], HiVT [40], LaneGCN [22], LSTM, and Social LSTM (S-LSTM) [2]. The definition of driving performance metrics can be found in Section 4.4. Details can be found in the supplementary materials.
  • Closed-Loop Evaluation Restores Sanity: When evaluated dynamically in an interactive simulator, the expected relationship returns: lower prediction error (Dynamic ADE) strongly correlates with better driving performance.
  • The Accuracy-Latency Trade-Off: Popular metrics ignore how long a model takes to run. A perfectly accurate model is useless if its latency causes the vehicle to plan its path using stale information.

Key Results

  • Closing the Gap: By switching to dynamic evaluation, the correlation ($R^2$) between prediction error and driving performance jumped significantly, proving that interactive simulation is required to properly benchmark these systems.
Figure 4: The correlation between Dynamic ADE and Driving Performance with fixed prediction ability. (a) In the RVO planner. (b) In the DESPOT planner. Due to the mitigation of the dynamics gap, a strong correlation between Dynamic ADE and driving performance is observed for both planners.
  • Speed Wins in Real-Time: When subjected to a realistic real-time budget of 30Hz, simple physics-based baselines like Constant Velocity (CV) achieved a high driving performance score of 0.753 due to its near-zero latency (0.001s). Meanwhile, highly complex models like LaneGCN and KNN caused massive planning lag due to their slower inference times (0.024s and 0.224s), dropping their driving scores to 0.637 and 0.526, respectively.

Limitations and Future Work

While the paper successfully highlights the flaws of static evaluation, the authors note a few limitations:

  • Planner Selection: The study focused primarily on sampling-based and reactive planners. Incorporating optimization-based or geometric planners could reveal different interaction dynamics.
  • Perception Assumptions: The experiments utilized "oracle" perception data directly from the simulator. In the real world, sensor noise, tracking errors, and severe occlusions would add another layer of complexity to the accuracy-speed trade-off.
  • Next Steps: The authors recommend that the autonomous driving community shift toward interactive, task-driven evaluation protocols that explicitly account for computational runtime alongside raw prediction accuracy.

Summary updated

BibTeX
@inproceedings{tran2023what,
  author = {Phong Tran and Haoran Wu and Cunjun Yu and Panpan Cai and Sifa Zheng and David Hsu},
  title = {{What Truly Matters in Trajectory Prediction for Autonomous Driving?}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=nG35q8pNL9},
}
Figure