TL;DR
Current perception systems fail when encountering unexpected objects on the road. This paper introduces Con2MAV, a unified framework that not only detects unknown objects and groups them into distinct new semantic categories over time, but also separates them into individual instances. Alongside the method, the authors release PANIC, a challenging real-world dataset specifically designed to benchmark open-world panoptic segmentation for autonomous driving.
What Problem Does This Paper Address?
Most deep learning models for computer vision operate under a "closed-world" assumption: they assume that every object they see at test time will belong to one of the categories they were trained on. When an autonomous vehicle encounters something rare—like a forklift, a pile of construction debris, or an exotic animal—a closed-world model will either confidently misclassify it or lump it into a generic "unknown" bucket.
To move towards true autonomy, we need systems capable of Open-World Panoptic Segmentation. As broken down in the paper's task taxonomy, this means a model must:
- Identify known classes normally.
- Detect anomalous/unknown regions (Anomaly Segmentation).
- Cluster those unknown regions into distinct, consistent new categories over time (Open-World Semantic Segmentation).
- Separate individual object instances within those new categories (Open-Set Panoptic Segmentation).
Methods
The authors propose Con2MAV, a fully convolutional neural network that extends their prior work (ContMAV) by adding instance-level awareness and eliminating the need for manually tuned thresholds.
Con2MAV uses a single lightweight encoder paired with three specialized decoders:
- Semantic Decoder: Handles standard closed-world segmentation and builds unique, running-average "class descriptors" (prototypes). Crucially, Con2MAV extracts these features at the pre-logit layer rather than the pre-softmax layer, preventing the descriptor space from collapsing when training on datasets with very few known classes.
- Contrastive Decoder: Maps features of known classes onto a unit hypersphere while forcing unknown features toward zero using a combination of contrastive and objectosphere losses.
- Instance Decoder: Predicts class-agnostic 2D offset vectors pointing toward object centroids. To ensure sharp boundaries and clean clusters, it incorporates physics-inspired divergence and curl losses to model the offset field like a fluid flow sinking into a drain.
At inference time, a simple $1\sigma$ bound automatically separates knowns from unknowns. Unknown pixels are clustered into instances using HDBSCAN and assigned to newly discovered semantic categories.
Datasets
The paper evaluates Con2MAV across several diverse datasets:
- SegmentMeIfYouCan (SMIYC): For anomaly segmentation.
- COCO: Modified into open-world splits (5%, 10%, and 20% of classes withheld during training).
- BDDAnomaly & SUIM: For open-world semantic segmentation (SUIM provides a challenging underwater environment with only 4 known classes).
- PANIC (Panoptic ANomalies In Context): A brand-new dataset introduced in this paper. Collected over a year in Bonn, Germany, it features 800 real-world driving images containing 58 unknown categories (e.g., electric scooters, forklifts) and over 4,000 individual object instances annotated at pixel level.
Key Insights and Ideas
- The Pre-Logit Advantage: Previous methods built class prototypes from pre-softmax features. However, if a dataset only has 4 known classes, the prototype vector space is restricted to just 4 dimensions—rendering it incapable of effectively distinguishing dozens of new unknown classes. Moving to the higher-dimensional pre-logit layer completely resolves this bottleneck.
- Implicit Thresholding: By structuring the contrastive and semantic feature spaces tightly around geometric targets (the unit sphere and multivariate normal distributions), the model can use a standard statistical $1\sigma$ bound to isolate anomalies, removing the need for fragile, dataset-specific manual tuning.
- Fluid Dynamics for Instances: Standard coordinate offset losses often produce noisy predictions near object edges. Treating the offset vectors as a vector field and penalizing outward flow (divergence) and rotational errors (curl) forces the network to predict highly accurate, convergent paths to object centers.
Key Results
Con2MAV achieves state-of-the-art results across all four open-world tasks without degrading performance on standard closed-world categories:
- Few-Class Generalization: On the SUIM underwater dataset (trained on only 4 classes), Con2MAV outperformed its predecessor, ContMAV, by 19% mIoU overall, and by up to 28% on highly anomalous classes like "wrecks & ruins."
- Open-Set Panoptic Segmentation: On COCO, Con2MAV consistently outperformed competitive baselines like Mask2Anomaly across all withheld class splits (5%, 10%, 20%), maintaining stable panoptic quality ($PQ_{unk}$) even as the problem grew more difficult.
- PANIC Benchmark: Con2MAV established the first strong baseline on the hidden test set of the PANIC dataset, achieving a Panoptic Quality ($PQ$) of 25.1% for unknown categories, proving the dataset's viability as a rigorous benchmark.
Limitations and Future Work
Despite its strong performance, the authors note a few key limitations:
- Reliance on "Known Unknowns": The contrastive decoder relies on unlabeled/void regions in the training data (like the unclassified background pixels in Cityscapes) to learn what "unknown" looks like. The method might struggle on perfectly, fully annotated datasets where no background pixels are left unlabelled.
- Real-Time Bottlenecks: The post-processing pipeline relies on HDBSCAN clustering for instance separation, which introduces computational overhead. Future work could explore end-to-end transformer architectures to predict instance masks directly without post-processing.
Summary updated