Certified Human Trajectory Prediction

Mohammadhossein Bahari, Saeed Saadatnejad, Amirhossein Askari-Farsangi, Seyed-Mohsen Moosavi-Dezfooli, Alexandre Alahi

Introduction

Predicting human trajectories is a cornerstone of safe autonomous navigation. While modern deep learning models achieve high accuracy, they are notoriously fragile. A minor perturbation in sensor data—whether from environmental noise or deliberate adversarial attacks—can lead to catastrophic prediction failures. This paper introduces the first framework for certified robustness in trajectory prediction, moving beyond heuristic defenses to provide mathematical guarantees of safety.

Conceptual overview of certified trajectory prediction. The top panel shows how noise leads to divergent predictions, while the bottom panel demonstrates certified bounds (blue boxes) that encapsulate the true path.

Methodology: Randomized Smoothing and Diffusion

The core of the proposed framework is Randomized Smoothing (RS) adapted for regression. Instead of a single point-estimate, the system generates $n$ noisy versions of an observation and aggregates the model's outputs.

The proposed framework utilizes randomized smoothing. Input X is perturbed by noise to create multiple samples, which pass through the prediction model f and are aggregated to produce a robust output Y.

Key innovations include:

  1. Median Smoothing: Unlike mean smoothing, which requires output clamping, median aggregation naturally handles outliers and provides tighter spatial bounds.
  2. Diffusion-based Denoiser: To mitigate the performance drop typically associated with RS, the authors integrate an unconditional diffusion denoiser. This "cleans" the noisy samples before they reach the prediction model, significantly tightening the certified regions.
  3. Multi-modal Certification: The framework can certify individual modes in multi-path predictions, ensuring reliability even when human intent is ambiguous.

Evaluation and Results

The framework was tested on standard benchmarks (ETH, UCY, WildTrack) and real-world perception data from nuScenes.

Key Findings

  • Certified Safety: The model provides a "blue box" (certified bound) around its prediction. If input noise remains within a defined radius, the prediction is mathematically guaranteed to stay within this box.
  • Accuracy vs. Robustness: High-accuracy models like EqMotion are often less robust than simpler models. The framework reveals that the most accurate "clean" model is not always the safest under noise.
  • Diffusion Impact: The diffusion denoiser is a critical component, reducing the Final Bound half-Diameter (FBD) significantly (e.g., from 1.20m to 0.78m at a fixed error rate) without sacrificing predictive accuracy.
  • Real-world Robustness: On nuScenes data, the certified model successfully contained the ground-truth path within its bounds despite tracking errors that caused standard models to fail.

Conclusion

While Randomized Smoothing introduces a computational overhead due to multiple forward passes, it offers a path toward provably safe autonomous systems. By combining diffusion-based denoising with median smoothing, this work provides a robust foundation for human trajectory prediction in safety-critical environments.

Summary updated

BibTeX
@inproceedings{bahari2025certified,
  author = {Mohammadhossein Bahari and Saeed Saadatnejad and Amirhossein Askari-Farsangi and Seyed-Mohsen Moosavi-Dezfooli and Alexandre Alahi},
  title = {{Certified Human Trajectory Prediction}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01148},
}
Figure