Abstract
Prior2Former (P2F) is the first evidential mask transformer framework designed for "assumption-free" open-world panoptic segmentation. By modeling pixel-to-mask assignments using Beta distributions, P2F quantifies uncertainty to detect and segment novel objects it has never seen during training. Unlike existing methods, P2F requires no out-of-distribution (OOD) data or external foundation models, relying solely on its internal calibration to identify unknown instances.
Introduction
Standard panoptic segmentation models operate under a "closed-world" assumption, where they are trained on a fixed set of classes (e.g., "car," "road," "person"). These models often struggle when encountering unseen objects in the real world, such as a moose on a highway or fallen debris. In safety-critical applications like autonomous driving, a model must be able to flag these unknown objects as anomalies rather than misclassifying them as familiar categories.
Existing "open-world" solutions often rely on external data, large foundation models (like CLIP), or specific assumptions about unlabeled "void" areas in training sets. P2F addresses this by proposing an assumption-free approach: a model should be able to identify what it doesn't know based solely on its standard in-domain training data.
Methodology
P2F builds upon the popular Mask2Former (M2F) architecture but replaces standard deterministic mask predictions with an evidential framework.
Key technical contributions include:
- Beta-Prior Head: Instead of predicting simple binary mask values, P2F predicts the $\alpha$ and $\beta$ parameters of a Beta distribution for every pixel-mask assignment. These parameters act as "evidence" for or against a pixel belonging to a specific mask query.
- Evidential Uncertainty: The model calculates uncertainty based on the total evidence ($\alpha + \beta$). Low total evidence signifies high model uncertainty, allowing it to flag pixels that don't fit any known category.
- Symmetric Dice Loss: To train this evidential setup effectively, the authors introduced a new loss function that prevents the model from becoming biased toward the background (negative) class, a common issue in sparse mask prediction.
- Uncertainty Instance Clustering: During inference, P2F uses the uncertainty map to identify "unknown" regions. It then applies DBSCAN clustering on the underlying pixel embeddings to group these pixels into distinct, unlabeled object instances.
Evaluation and Results
The model was evaluated across several challenging benchmarks, including Cityscapes, COCO, and SegmentMeIfYouCan (SMIYC). It was also tested on the complex OoDIS benchmark for anomaly instance segmentation, which requires not just detecting anomalous pixels but separating them into individual objects.
P2F achieves state-of-the-art results among models that do not rely on OOD data:
- Anomaly Detection: On the SMIYC Road Anomaly benchmark, P2F provides the best trade-off between Average Precision (AP) and False Positive Rate (FPR).
- Instance Separation: Unlike previous methods that might group all unknown objects into a single blob, P2F successfully separates overlapping unknown instances (e.g., multiple hydrants or food items in the COCO "unseen" set).
- OoDIS Benchmark: P2F significantly outperformed the previous best assumption-free model (U3HS), jumping from a Mean AP50 of 0.58 to 8.85.
Conclusion
P2F demonstrates that a well-calibrated sense of its own knowledge is sufficient for robust open-world segmentation. By moving from simple logits to evidential distributions, the model can explicitly represent "I don't know" when evidence is low. While a performance gap remains compared to models that use massive external vocabularies, P2F proves that robustness can be achieved without "cheating" with external data. Future work will focus on more automated or adaptive ways to set uncertainty thresholds, potentially making the model even more reliable in diverse real-world environments.
Summary updated