Latest Findings · ASI Lab

Benchmarking Which Safety Nets Catch Self Driving Cars When the World Gets Unfamiliar

Self driving cars can misbehave when they meet scenes they were never trained on, like fog, heavy rain, snow, or images tampered with by an attacker. This paper builds one unified benchmark that tests nine detection methods side by side on both simulated and real roads, and shows which of them most reliably flag those unfamiliar moments.

Xiangyu Li, Jingyu Zhang, Jacky Keung, Xiaoxue Ma, Yihan Liao
Agentic Software Intelligence Research Lab · Department of Computer Science, City University of Hong Kong
AST · 2026

Self driving cars can misbehave when they meet scenes they were never trained on, like fog, heavy rain, snow, or images tampered with by an attacker. This paper builds one unified benchmark that tests nine detection methods side by side on both simulated and real roads, and shows which of them most reliably flag those unfamiliar moments.

![Grid of camera views from a self driving car showing normal, foggy, rainy, snowy, and adversarially attacked scenes from two driving datasets]
Sample driving scenes from the paper: each row pairs a weather condition and an adversarial attack. The diagram shows normal, fog, rain, and snow conditions alongside FGSM, PGD, SP, and SPSA attacks, across two driving scenes drawn from the Udacity simulated dataset and the Dave real world dataset.

Why it matters

Autonomous driving systems learn to drive from the images they see during training. On the road they can hit something brand new, a sudden snowstorm, a thick bank of fog, or a picture deliberately altered by an attacker, and the car may not know what it is looking at. When that happens the model can produce a steering angle that is far from normal, and a wrong decision in a moving vehicle is a safety risk. This work studies the detectors whose job is to notice that unfamiliar moment and warn the car before it acts, treating that warning system as part of the software that must be tested.

Existing studies each looked at only a narrow slice, for example just reconstruction based detectors, or just weather, and never put all of them on the same footing. This paper unifies the picture: nine detectors from four families are trained and tested under one identical pipeline, so the comparison is genuinely fair. On top of that it does something most prior work skipped, it adversarially attacks the driving images and checks whether the detector still spots them, which simulates a malicious interference rather than just bad weather. The result is a practical map of which approaches hold up and which fall apart, giving engineers a clear basis for choosing a safety net.

Key findings

Distance and density based detectors win the safety race

What it means for practitioners

When choosing an out of distribution safety net for a perception module, favor distance based or density based detectors. They consistently reach the top statistical groups across weather and adversarial conditions and degrade far more gracefully, which is exactly what a real driving system needs.

Speed is not the obstacle. Every tested detector exceeds 30 frames per second on an A100, and the fastest processes over 1,800 frames per second, so one can be slotted in as a perception pre filter or on an edge device without stalling the pipeline.

Beware simple reconstruction based autoencoders for safety critical role. Although they look good on simulated weather, their metrics collapse on real world data and under attacks, which makes them a poor choice when the cost of a missed detection is a crash.

Related reading

Get the paper & cite it

Download full PDF ↓ View at DOI

Official citation: Xiangyu Li, Jingyu Zhang, Jacky Keung, Xiaoxue Ma, Yihan Liao (2026). A Unified Benchmark for Out-of-Distribution Detection for Autonomous Driving Systems.. AST. DOI: 10.1145/3793654.3793758.

autonomous driving OOD detection benchmark road safety machine learning