Uncertainty-Aware Likelihood Ratio Estimation for Pixel-Wise Out-of-Distribution Detection

Marc Hölle, Walter Kellermann, Vasileios BelagiannisarXiv 2025 · DOI

Introduction

Semantic segmentation is a cornerstone of autonomous driving, enabling vehicles to categorize their surroundings into classes like "road," "car," and "pedestrian." However, these models are typically trained on a closed set of categories. When faced with "Out-of-Distribution" (OoD) objects—such as a fallen crate or an animal on the highway—standard models often fail catastrophically by confidently misclassifying these hazards as known, safe categories.

While techniques like Outlier Exposure (OE) attempt to mitigate this by training on synthetic "fake" unknowns, they often suffer from two issues: tail-class confusion (misidentifying rare known objects as OoD) and synthetic bias (failing to generalize beyond the specific "fake" outliers seen during training). This paper proposes Uncertainty-aware Likelihood Ratio Estimation (ULRE) to address these challenges by explicitly modeling epistemic uncertainty.

Methodology: Uncertainty-Aware Likelihood Ratio Estimation

The core of the ULRE framework is the use of Evidential Deep Learning (EDL) to distinguish between different types of uncertainty. Standard neural networks output a single probability, which can be overconfident even when the input is completely novel. In contrast, ULRE predicts the parameters of a Dirichlet distribution, allowing the model to quantify vacuity—a measure of the lack of evidence.

Uncertainty decomposition using Evidential Deep Learning (EDL). Vacuity (red) peaks at the decision boundary where evidence is lacking, unlike standard entropy (dashed red).

By calculating the likelihood ratio between "known" and "unknown" features while accounting for vacuity, the model can differentiate between ambiguous data (e.g., a blurry boundary between road and sidewalk) and truly novel data (e.g., an object never seen before). The system utilizes a frozen DINOv2 backbone as a feature extractor, ensuring that the primary segmentation task remains unaffected while providing rich semantic information to a lightweight, three-layer 1x1 convolution estimator.

Experimental Results

The authors evaluated ULRE across five major benchmarks, including Segment-Me-If-You-Can (SMIYC), Road Anomaly, and Fishyscapes. The method achieved a state-of-the-art average False Positive Rate (FPR) of 2.5% at a 95% True Positive Rate. This low FPR is critical for safety-critical applications like self-driving, where frequent false alarms (phantom braking) can be as dangerous as missed detections.

Qualitative results of the ULRE framework across various benchmarks, demonstrating robust detection of diverse out-of-distribution objects like animals, boats, and trailers.

Furthermore, the model maintained a high Average Precision (AP) of 90.91%. Notably, it showed significant robustness on the LaF NoKnown dataset, which contains real-world obstacles that differ significantly from the synthetic COCO objects used during training. This suggests that the uncertainty-aware approach successfully mitigates the bias inherent in using proxy outliers.

Discussion and Insights

A key finding of the research is the importance of the feature layer. Ablation studies revealed that mid-to-late layers of the DINOv2 ViT (specifically layer 21) offer the optimal balance of high-level semantic understanding and spatial resolution for detecting small obstacles.

Despite its strengths, the model occasionally exhibits "under-segmentation," where parts of an unknown object are missed if they share strong visual features with known classes (e.g., missing the wheels of an unknown trailer because "wheels" are a known feature of cars). Future work may involve moving toward a more general statistical hypothesis testing framework to further refine the detection of complex distributional shifts.

Conclusion

ULRE represents a significant step forward in making autonomous systems safer. By integrating Evidential Deep Learning with likelihood ratio estimation, the framework provides a principled way to handle the "unknown unknowns" of the real world, reducing dangerous misclassifications and unnecessary false positives in complex driving environments.

Summary updated

BibTeX
@misc{holle2025uncertainty,
  author = {Marc Hölle and Walter Kellermann and Vasileios Belagiannis},
  title = {{Uncertainty-Aware Likelihood Ratio Estimation for Pixel-Wise Out-of-Distribution Detection}},
  year = {2025},
  eprint = {2508.00587},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.00587},
}
Figure