CUQDS: Conformal Uncertainty Quantification Under Distribution Shift for Trajectory Prediction

Huiqun Huang, Sihong He, Fei Miao

Abstract

Trajectory prediction models that can infer both future trajectories and their associated uncertainties of the target vehicles is crucial for safe and robust navigation and path planning of autonomous vehicles. However, the majority of existing trajectory prediction models have neither considered reducing the uncertainty as one objective during the training stage nor provided reliable uncertainty quantification during inference stage, especially under potential distribution shift. Therefore, in this paper, we propose the Conformal Uncertainty Quantification under Distribution Shift framework, CUQDS, to quantify the uncertainty of the predicted trajectories of existing trajectory prediction models under potential data distribution shift, while improving the prediction accuracy of the models and reducing the estimated uncertainty during the training stage. Specifically, CUQDS includes 1) a learning-based Gaussian process regression module that models the output distribution of the base model and reduces the estimated uncertainty by an additional loss term, and 2) a statistical-based Conformal P control module to calibrate the estimated uncertainty from the Gaussian process regression module in an online setting under potential distribution shift between training and testing data.

Introduction

Predicting where a vehicle will be in the next several seconds is a fundamental challenge for autonomous driving systems. While many modern models provide a "best guess" for a vehicle's path, they often suffer from overconfidence, especially when encountering environments that differ from their training data—a phenomenon known as distribution shift. For instance, a model trained in sunny Miami might provide dangerously narrow confidence intervals when navigating a snowy Pittsburgh street.

Standard Conformal Prediction (CP) techniques offer a way to generate statistically guaranteed uncertainty intervals. However, CP typically assumes that training and testing data are "exchangeable." In the dynamic world of autonomous driving, this assumption is frequently violated. The CUQDS framework addresses this gap by providing reliable, adaptive uncertainty quantification that remains robust even as the environment evolves.

Methodology: The CUQDS Framework

The CUQDS framework is designed as a model-agnostic "plug-in" that can be applied to various existing trajectory prediction architectures. It consists of two primary components:

  1. Learning-based Gaussian Process Regression (GPR) Module: This module replaces the standard output head of a base model to estimate the output distribution. To handle the computational complexity of GPR, the authors employ Eigenvector Inducing Variables via PCA. Crucially, a novel loss function is introduced that encourages the model to minimize both prediction error and estimated uncertainty during training.
  2. Statistical-based Conformal P Control Module: This module calibrates the uncertainty intervals during inference. By treating the calibration of the statistical quantile as a control problem (using a Proportional controller), the system can dynamically widen or narrow its uncertainty intervals in real-time based on observed error rates.
The CUQDS framework architecture, integrating a GPR module and a Conformal P control module for calibrated trajectory prediction.

Experimental Evaluation

The framework was evaluated using the Argoverse 1 motion forecasting dataset, testing its performance across five state-of-the-art base models: HiVT, LaneGCN, LBA, LBF, and Trajectron++.

The results demonstrate that CUQDS consistently outperforms base models and alternative uncertainty quantification methods like SPCI. On average, CUQDS improved prediction accuracy (measured by minADE and minFDE) by approximately 7.07% and reduced Negative Log-Likelihood (NLL)—a measure of how "spread out" and uncertain the model is—by 25.41%.

Performance comparison of CUQDS against base models and SPCI across multiple metrics, showing consistent improvements in accuracy and uncertainty reduction.

In ablation studies, the Conformal P control module proved essential for maintaining reliability under distribution shift. For example, on the LaneGCN model, standard CP achieved a coverage rate of only 0.402, whereas the CUQDS P-control module achieved 0.746, significantly closer to the target reliability.

Conclusion

CUQDS provides a robust solution for quantifying uncertainty in trajectory prediction, particularly in the face of real-world distribution shifts. By integrating learning-based GPR with statistical control theory, it offers a framework that is both more accurate and more reliable than existing methods. Future work will explore extending this quantification to individual time steps and scaling the framework to even more diverse neural architectures.

Summary updated

BibTeX
@inproceedings{huang2025cuqds,
  author = {Huiqun Huang and Sihong He and Fei Miao},
  title = {{CUQDS: Conformal Uncertainty Quantification Under Distribution Shift for Trajectory Prediction}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  url = {https://openreview.net/forum?id=V0dvhqUKKO},
}
Figure