SafeShift: Safety-Informed Distribution Shifts for Robust Trajectory Prediction in Autonomous Driving
Benjamin Stoler, Ingrid Navarro, Meghdeep Jana, Soonmin Hwang, Jonathan Francis, Jean Oh
TL;DR
SafeShift tackles the lack of safety-critical scenarios in real-world autonomous driving data by introducing a safety-informed distribution-shift framework built on hierarchical scenario scoring and counterfactual probes. It characterizes scenarios with two feature sets (Individual and Social), aggregates them into TrajScore and SceneScore, and augments this with counterfactual future extrapolation to capture hidden risks. The approach demonstrates that safety-informed shifts significantly raise collision rates on standard predictors, and provides a remediation strategy that reduces test-time collisions by about $10\%$ on average, with model-specific gains. Overall, SafeShift enables robust evaluation and targeted improvement of trajectory predictors without resorting to dangerous on-road testing or imperfect simulations, and releases open-source code for reproducibility and further research.
Abstract
As autonomous driving technology matures, safety and robustness of its key components, including trajectory prediction, is vital. Though real-world datasets, such as Waymo Open Motion, provide realistic recorded scenarios for model development, they often lack truly safety-critical situations. Rather than utilizing unrealistic simulation or dangerous real-world testing, we instead propose a framework to characterize such datasets and find hidden safety-relevant scenarios within. Our approach expands the spectrum of safety-relevance, allowing us to study trajectory prediction models under a safety-informed, distribution shift setting. We contribute a generalized scenario characterization method, a novel scoring scheme to find subtly-avoided risky scenarios, and an evaluation of trajectory prediction models in this setting. We further contribute a remediation strategy, achieving a 10% average reduction in prediction collision rates. To facilitate future research, we release our code to the public: github.com/cmubig/SafeShift
