Out-of-Distribution Semantic Occupancy Prediction
Yuheng Zhang, Mengfei Duan, Kunyu Peng, Yuhang Wang, Ruiping Liu, Fei Teng, Kai Luo, Zhiyong Li, Kailun Yang
TL;DR
The work addresses the vulnerability of 3D semantic occupancy models to Out-of-Distribution (OoD) objects in urban driving by introducing Realistic Anomaly Augmentation to create OoD datasets and proposing OccOoD, a unified framework that fuses voxel and BEV representations through Cross-Space Semantic Refinement. It combines entropy- and cosine-based anomaly scoring with a geometry prior to detect OoD regions while maintaining competitive occupancy predictions. The approach achieves state-of-the-art OoD detection on both synthetic and real-world OoD datasets and demonstrates practical feasibility with real-time applicability. Public datasets and source code are provided to support robust OoD evaluation and safe deployment in autonomous driving systems.
Abstract
3D semantic occupancy prediction is crucial for autonomous driving, providing a dense, semantically rich environmental representation. However, existing methods focus on in-distribution scenes, making them susceptible to Out-of-Distribution (OoD) objects and long-tail distributions, which increases the risk of undetected anomalies and misinterpretations, posing safety hazards. To address these challenges, we introduce Out-of-Distribution Semantic Occupancy Prediction, targeting OoD detection in 3D voxel space. To fill dataset gaps, we propose a Realistic Anomaly Augmentation that injects synthetic anomalies while preserving realistic spatial and occlusion patterns, enabling the creation of two datasets: VAA-KITTI and VAA-KITTI-360. Then, a novel framework that integrates OoD detection into 3D semantic occupancy prediction, OccOoD, is proposed, which uses Cross-Space Semantic Refinement (CSSR) to refine semantic predictions from complementary voxel and BEV representations, improving OoD detection. Experimental results demonstrate that OccOoD achieves state-of-the-art OoD detection with an AuROC of 65.50% and an AuPRCr of 31.83 within a 1.2m region, while maintaining competitive semantic occupancy prediction performance and generalization in real-world urban driving scenes. The established datasets and source code will be made publicly available at https://github.com/7uHeng/OccOoD.
