Quantifying Uncertainty in Motion Prediction with Variational Bayesian Mixture

Juanwu Lu, Can Cui, Yunsheng Ma, Aniket Bera, Ziran Wang

Introduction

Motion prediction serves as the "crystal ball" for autonomous vehicles (AVs), enabling them to anticipate the future trajectories of cyclists, pedestrians, and other vehicles. A significant challenge in this field is the inherent multi-modality of human behavior; for instance, a driver approaching a roundabout may exit immediately or continue circling. To navigate safely, an AV must not only predict these diverse possibilities but also quantify its own uncertainty.

Existing models often struggle to balance predictive accuracy with reliable uncertainty quantification. Goal-based models frequently rely on simplified latent spaces that fail to capture nuanced intent, while direct regression models often ignore uncertainty entirely. Furthermore, when an AV encounters out-of-distribution (OOD) scenarios—situations not represented in its training data—it must be able to flag its own "confusion" to trigger more cautious driving behavior. This paper introduces SeNeVA (Sequential Neural Variational Agent), a generative model designed to address these gaps using a Variational Bayesian Mixture approach.

The SeNeVA Framework

SeNeVA treats the distribution of future trajectories as a Variational Bayesian Mixture, allowing it to explicitly calculate uncertainty across multiple potential futures. The architecture is defined by several key technical components:

  • Bayesian Mixture Model: Instead of a single monolithic network, SeNeVA utilizes $K$ distinct mixture components (processes). Each process represents a specific potential intention or mode of behavior, such as turning left versus continuing straight.
  • Variational Inference: The model employs latent variables to capture complex temporal correlations—how a vehicle's movement at one second influences the next. These variables are optimized using variational inference to approximate the true underlying distribution of behavior.
  • Assignment Network: To ensure the model is viable for real-time onboard deployment, the authors implemented a "proxy" assignment network. This network analyzes current traffic conditions to immediately estimate the likelihood of each of the $K$ modes, bypassing the need for computationally expensive sampling during inference.
  • Backward Sampling: During the inference phase, SeNeVA predicts the final destination first—where uncertainty is typically highest—and then works backward to interpolate the path. This technique ensures that the resulting trajectories are both smooth and physically plausible.

Experimental Setup

The model was rigorously evaluated on two industry-standard benchmarks:

  1. INTERACTION Dataset: This dataset is particularly valuable for its high proportion of OOD data (~35%), featuring unseen maps and traffic conditions that test a model's ability to recognize unfamiliar territory.
  2. Argoverse 2: A massive dataset comprising 250,000 scenarios across six distinct urban environments, providing a robust baseline for general motion prediction accuracy.

Results and Discussion

Predictive Performance

SeNeVA achieved state-of-the-art results, particularly on the INTERACTION test set. Key metrics include:

  • minFDE (Minimum Final Displacement Error): 0.446 meters, representing a 6.8% improvement over previous baselines.
  • minADE (Minimum Average Displacement Error): 0.203 meters.
  • Miss Rate: 5.35%.

Uncertainty and Efficiency

A primary contribution of SeNeVA is its ability to quantify the "I don't know" factor. The researchers found that the model's entropy (a mathematical measure of uncertainty) significantly spikes when encountering OOD data. For example, in highway merging scenarios involving unfamiliar patterns, uncertainty rose by 1.5% compared to familiar data. This allows the system to distinguish between a known multi-modal choice (e.g., a fork in the road) and a completely novel behavior.

Furthermore, SeNeVA offers superior efficiency compared to traditional "ensemble" methods, which require running multiple models simultaneously to estimate uncertainty. SeNeVA is approximately 30x faster than standard ensembles, achieving an inference time of 51ms compared to 1,590ms. With only 1.3 million parameters, the model is lightweight enough for edge hardware deployment.

Conclusion and Future Work

While SeNeVA represents a significant advancement in single-agent motion prediction and OOD detection, several challenges remain. The current model focuses on a single "target" agent at a time, whereas real-world traffic involves complex interactions where agents influence one another (e.g., one car braking causing another to swerve).

Future research will focus on modeling the joint distribution of all agents within a scene simultaneously. Additionally, the current requirement for target-centric input formatting adds a layer of preprocessing that could be streamlined in future iterations. Despite these limitations, SeNeVA provides a robust framework for safer, more self-aware autonomous navigation.

Summary updated

BibTeX
@inproceedings{lu2024quantifying,
  author = {Juanwu Lu and Can Cui and Yunsheng Ma and Aniket Bera and Ziran Wang},
  title = {{Quantifying Uncertainty in Motion Prediction with Variational Bayesian Mixture}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
}
Figure