How Does Traffic Environment Quantitatively Affect the Autonomous Driving Prediction?

Wenbo Shao, Yanchao Xu, Jun Li, Chen Lv, Weida Wang, Hong Wang · DOI

Abstract: An accurate trajectory prediction is crucial for safe and efficient autonomous driving in complex traffic environments. In recent years, artificial intelligence has shown strong capabilities in improving prediction accuracy. However, its characteristics of inexplicability and uncertainty make it challenging to determine the traffic environmental effect on prediction explicitly, posing significant challenges to safety-critical decision-making. To address these challenges, this study proposes a trajectory prediction framework with the epistemic uncertainty estimation ability that outputs high uncertainty when confronting unforeseeable or unknown scenarios. The proposed framework is used to analyze the environmental effect on the prediction algorithm performance. In the analysis, the traffic environment is considered in terms of scenario features and shifts, respectively, where features are divided into kinematic features of a target agent, features of its surrounding traffic participants, and other features. In addition, feature correlation and importance analyses are performed to study the above features' influence on the prediction error and epistemic uncertainty. Further, a cross-dataset case study is conducted using multiple intersection datasets to investigate the impact of unavoidable distributional shifts in the real world on trajectory prediction. The results indicate that the deep ensemble-based method has advantages in improving prediction robustness and estimating epistemic uncertainty. The consistent conclusions are obtained by the feature correlation and importance analyses, including the conclusion that kinematic features of the target agent have relatively strong effects on the prediction error and epistemic uncertainty. Furthermore, the prediction failure caused by distributional shifts and the potential of the deep ensemble-based method are analyzed.

Introduction

Trajectory prediction—forecasting where a car or pedestrian will be in the next few seconds—is a cornerstone of autonomous driving. While AI has made these predictions more accurate, these models are often "black boxes." They might work perfectly in a specific training environment but fail dangerously when encountering novel scenarios, such as a crowded intersection in a different country.

This research addresses two major gaps in the field: the lack of "self-awareness" in models (uncertainty estimation) and the lack of quantitative understanding regarding which environmental features actually cause prediction failures.

The Proposed Framework

The authors developed a trajectory prediction framework based on GRIP++ (an interaction-aware graph-based model) enhanced with epistemic uncertainty estimation. Epistemic uncertainty represents the model’s own "self-awareness" of its limitations.

Overview of the trajectory prediction and uncertainty estimation framework.

To estimate this uncertainty, the study implemented two primary techniques:

  • Deep Ensembles: Training multiple identical model architectures with different initializations. The disagreement between these models serves as a measure of uncertainty.
  • MC Dropout: Keeping dropout layers active during testing to sample multiple possible outcomes.

The framework uses Predictive Entropy to flag when a model is out of its depth, providing a vital signal for safety-critical decision-making modules.

Quantifying Environmental Impact

A core contribution of this work is the systematic categorization and analysis of traffic environmental features. The researchers used Spearman rank correlation and Random Forest regression to rank the importance of various factors on prediction error and uncertainty.

Classification of environmental features including agent type, behavior, and traffic rule compliance.

Features were categorized into three main groups:

  1. Kinematic features: Velocity and acceleration of the target agent.
  2. Interaction features: The density and number of surrounding traffic participants.
  3. Abstract features: Agent type (car, bus, pedestrian), behavior patterns (e.g., U-turns, left turns), and compliance with traffic rules (e.g., red-light running).

Key Insights and Results

The Dominance of Kinematics

Surprisingly, the study found that the kinematic features of the target agent (especially acceleration and velocity) have a much stronger correlation with prediction error and uncertainty than the behavior of surrounding traffic. In Random Forest trials, Average Acceleration of the Future Trajectory (AAFT) was the top predictor for error, while Current Velocity (CV) was the strongest indicator of model uncertainty.

The Fragility of Locality and Distributional Shifts

Models are highly sensitive to "local flavor." By testing across diverse datasets like SinD (China) and INTERACTION (US and Bulgaria), the researchers observed significant performance degradation due to distributional shifts. A model trained on a Chinese intersection saw its error rate jump by up to 265% when tested on intersections in the US or Bulgaria.

Performance of Deep Ensembles

The Deep Ensemble approach consistently outperformed single models and MC Dropout. For the SinD dataset, it reduced the Average Displacement Error (ADE) from approximately 0.40m to 0.389m while providing more reliable uncertainty estimates that spiked appropriately during distributional shifts.

Conclusion

This study provides a quantitative bridge between environmental features and AI prediction performance. By demonstrating that a vehicle's own kinematics are the primary drivers of prediction error and that Deep Ensembles offer superior robustness, the research offers a roadmap for building more reliable autonomous systems. Future work will focus on integrating these uncertainty scores directly into vehicle planning and distinguishing between model uncertainty and the inherent randomness of human behavior.

Summary updated

BibTeX
@article{shao2023how,
  author = {Wenbo Shao and Yanchao Xu and Jun Li and Chen Lv and Weida Wang and Hong Wang},
  title = {{How Does Traffic Environment Quantitatively Affect the Autonomous Driving Prediction?}},
  journal = {IEEE Trans. ITS},
  year = {2023},
  doi = {10.1109/tits.2023.3278695},
}
Figure