Pixel-Wise Anomaly Detection in Complex Driving Scenes

Giancarlo Di Biase, Hermann Blum, Roland Siegwart, César Cadena

Abstract

This paper introduces a robust framework for pixel-wise anomaly detection in autonomous driving by combining two previously competing approaches: uncertainty estimation and image re-synthesis. By treating the framework as a modular "wrapper" around existing segmentation networks, the authors achieve state-of-the-art performance on the Fishyscapes benchmark without compromising the accuracy of the original driving model.

Introduction

Standard semantic segmentation networks are designed to categorize pixels into a fixed set of classes. However, when encountering out-of-distribution (OOD) objects—such as animals, debris, or fallen boxes—these models often fail by misclassifying the object, over-segmenting it, or blending it into the background. For autonomous vehicles, these failures pose significant safety risks.

Current solutions typically rely on either uncertainty estimation (how unsure the model is) or image re-synthesis (recreating the scene from labels and looking for differences). However, both have blind spots. This work proposes a fusion of these methods to create a more reliable safety net for identifying unknown objects in complex driving scenes.

Methodology

The proposed pipeline, nicknamed SynBoost, acts as a modular wrapper around any pre-trained segmentation network. The process involves several key stages:

  1. Segmentation & Uncertainty: The input image is processed by a standard network to produce a semantic map and two uncertainty measures: Softmax Entropy and Softmax Distance.
  2. Image Re-synthesis: A conditional GAN (cGAN) generates a realistic version of the original scene based on the predicted semantic map.
  3. Perceptual Difference: A VGG-based feature extractor compares the original input with the synthesized image to identify structural and textural discrepancies.
  4. Dissimilarity Module: An encoder-fusion-decoder architecture correlates high-uncertainty areas with visual discrepancies to predict final anomaly maps.
Overview of the proposed anomaly detection pipeline, integrating segmentation, uncertainty estimation, and image re-synthesis.

To train the system without real-world anomalies, the authors synthesized "fake" anomalies by replacing random objects in training images and utilized the "void" class from standard datasets as a proxy for anomalous data.

Experimental Results

The framework was evaluated on the Fishyscapes benchmark, which includes real-world obstacles (FS Lost & Found), blended objects (FS Static), and internet-crawled overlays (FS Web).

SynBoost significantly outperformed previous "No Retrain" methods. On the Lost & Found dataset, it achieved an Average Precision (AP) of 43.22%, a substantial improvement over the previous state-of-the-art (~5.7%). Furthermore, it reduced the False Positive Rate (FPR95) by nearly 50% on the Lost & Found and Web datasets compared to previous re-synthesis methods.

Quantitative comparison of the proposed method (Ours) against state-of-the-art anomaly detection techniques on the Fishyscapes benchmark.

Discussion and Conclusion

The core innovation lies in the complementary nature of uncertainty and re-synthesis. Uncertainty maps identify objects the network is "confused" about, while re-synthesis catches objects the network is "too confident" about but misclassifies. As a "wrapper," SynBoost maintains the original model's performance (mIOU) while adding a safety layer.

While the framework demonstrates superior performance, future work will address the computational overhead introduced by the GAN and dissimilarity modules. As generative models continue to evolve, the re-synthesis component of this framework is expected to become even more robust and efficient for real-time applications.

Summary updated

BibTeX
@inproceedings{biase2021pixel,
  author = {Giancarlo Di Biase and Hermann Blum and Roland Siegwart and César Cadena},
  title = {{Pixel-Wise Anomaly Detection in Complex Driving Scenes}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.01664},
}
Figure