Abstract
Autonomous driving systems rely heavily on semantic segmentation to perceive their environment. However, these models typically operate under a "closed-world" assumption, failing when encountering objects outside their training set. We present "SegmentMeIfYouCan," a novel benchmark featuring two high-quality real-world datasets—RoadAnomaly21 and RoadObstacle21—and a component-wise evaluation metric (sIoU). Our evaluation reveals that current state-of-the-art models struggle significantly with small, unexpected obstacles, highlighting a critical safety gap in existing perception systems.
Introduction: The Closed-World Challenge
Most semantic segmentation networks are trained on fixed classes like cars, pedestrians, and sidewalks. When these models encounter an "anomaly"—such as a fallen tree or a stray animal—they often fail with high confidence, incorrectly assigning the object to a known category. This behavior is dangerous for safety-critical applications like automated driving. Existing benchmarks often rely on synthetic data, which fails to capture the complexity of real-world lighting and environmental interactions.
The SegmentMeIfYouCan Benchmark
To address these limitations, we propose a rigorous evaluation framework that shifts focus from pixel-wise to component-wise metrics. Standard metrics like AuPRC count every pixel equally, which can mask failures on small but hazardous objects. We introduce sIoU (adjusted Intersection over Union), which treats each individual object as a single component. This ensures that missing a small obstacle is penalized as heavily as missing a large one, providing a more safety-relevant performance measure.
Real-World Datasets
The benchmark introduces two primary datasets designed to test different aspects of anomaly detection:
- RoadAnomaly21: Contains 100 images with "strict" anomalies—objects from categories entirely absent from standard training sets (e.g., Cityscapes).
- RoadObstacle21: Includes 327 images focused on the "drivable area." It targets any object that shouldn't be on the road, regardless of whether its category is known, such as a tree stump or a small toy.
Key Insights and Results
Our evaluation of baseline methods—ranging from simple uncertainty estimators to complex generative models—yielded several key findings:
- The Small Object Gap: Even top-performing models show a massive performance drop as object size decreases. For the smallest obstacles in RoadObstacle21, the rate of missed objects remains alarmingly high.
- Metric Discrepancy: Models can achieve high pixel-wise scores while failing to detect nearly all small obstacles. The component-wise sIoU metric provides a necessary "wake-up call" for safety-critical perception.
- Synthetic vs. Real: Models that excel on synthetic benchmarks often fail on RoadAnomaly21 due to the complex shadows and environmental interactions present in real-world imagery.
- Leading Methods: Currently, the Maximized Entropy method leads the leaderboard. It works by training models to be intentionally uncertain when presented with out-of-distribution proxy data. Generative models like SynBoost show promise at the component level but currently lack the speed required for real-time deployment.
Conclusion
While SegmentMeIfYouCan provides a more realistic evaluation of anomaly segmentation, challenges remain. Current datasets are relatively small, and the benchmark is currently limited to camera-based vision. Future work will expand the dataset to include extreme weather and night scenes, moving toward perception systems that can reliably signal "I don't know" when encountering the unexpected.
Summary updated