Abstract
Dealing with atypical traffic scenarios remains a challenging task in autonomous driving. However, most anomaly detection approaches cannot be trained on raw sensor data but require exposure to outlier data and powerful semantic segmentation models trained in a supervised fashion. This limits the representation of normality to labeled data, which does not scale well. In this work, we revisit unsupervised anomaly detection and present UMAD, leveraging generative world models and unsupervised image segmentation. Our method outperforms state-of-the-art unsupervised anomaly detection.
Introduction
In the world of autonomous driving, the "long tail" of rare events—such as a kangaroo on a highway, a spilled crate of oranges, or a person on a unicycle—is a significant safety challenge. Most current AI systems are trained to recognize a specific list of objects, but they often struggle when encountering something they have never seen before.
UMAD (Unsupervised Mask-Level Anomaly Detection) addresses the "supervision bottleneck" inherent in traditional systems. Instead of requiring human-labeled outlier data, UMAD learns what "normal" looks like directly from raw sensor data. This unsupervised approach allows the system to scale with unlabeled data, identifying unexpected objects and behaviors by measuring how much they deviate from the model's internal prediction of reality.
Methodology
The UMAD pipeline consists of three main stages designed to move from raw sensor input to refined anomaly masks.
1. The World Model (MUVO)
UMAD utilizes a multimodal world model called MUVO. This model is trained to understand the environment by reconstructing current sensor data and predicting future frames based on the vehicle's actions. If the model encounters an object it cannot reconstruct accurately, it serves as a primary signal for an anomaly.
2. Multi-Metric Difference Mapping
To identify discrepancies, UMAD calculates several types of differences between the real camera feed and the model's reconstruction:
- Visual Differences: This includes standard pixel errors (Absolute and Squared), structural similarity (SSIM), and Perceptual Difference. The latter uses deep features from a VGG network to identify if the high-level content of the image looks wrong, which is more effective than simple pixel-wise math.
- Temporal Difference: This compares the model's predictions of the past against current observations to find temporal inconsistencies.
3. Unsupervised Mask Refinement
Pixel-level anomaly maps are often noisy. UMAD addresses this using U2Seg, an unsupervised segmentation model that groups pixels into "masks" (objects) without prior knowledge of what those objects are. By averaging anomaly scores within these masks, the system can confidently localize specific anomalous objects.
Experimental Results
The researchers evaluated UMAD using the AnoVox benchmark, which includes multimodal data (lidar, camera) and ego-vehicle actions within the CARLA simulator.
Key findings from the evaluation include:
- FPR95 Reduction: UMAD achieved a 36.90% reduction in the False Positive Rate (at 95% True Positive Rate) compared to previous state-of-the-art methods.
- Improved Precision: In the unsupervised setup using U2Seg masks, UMAD reached an Average Precision (AP) of 18.88%, nearly tripling the performance of the MNAD baseline (6.37%).
- The Power of Perceptual Loss: Perceptual Difference was found to be significantly more effective than pixel-wise metrics, as it ignores minor lighting changes and focuses on actual "wrongness" in the scene.
Limitations and Future Work
Despite its performance, UMAD faces challenges such as reconstruction artifacts (hallucinations) from the world model, which can be mistaken for anomalies. Future work will focus on improving mask quality by training segmentation models specifically on driving data and validating the architecture against the unpredictable sensor noise of real-world roads to bridge the sim-to-real gap. Additionally, optimizing these generative models for real-time use on vehicle hardware remains a priority.
Summary updated