Uncertainty-aware Panoptic Segmentation

Kshitij Sirohi, Sajad Marvi, Daniel Büscher, Wolfram BurgardarXiv 2022

TL;DR

This paper introduces uncertainty-aware panoptic segmentation, a new task that requires AI models to not only identify "what" and "where" objects are but also "how sure" they are about every pixel. The authors propose EvPSNet, a real-time, sampling-free architecture that uses evidential deep learning to achieve state-of-the-art performance and provides reliable safety signals for autonomous systems.

What Problem Does This Paper Address?

In the world of autonomous driving, "knowing what you don't know" is just as important as accurate perception. Standard panoptic segmentation—which combines semantic segmentation (identifying categories like "road" or "sky") and instance segmentation (distinguishing individual "cars" or "pedestrians")—tells a vehicle what is in its surroundings. However, these models are often overconfident, even when they are wrong.

Current methods for estimating uncertainty, like Monte Carlo Dropout, require multiple passes through a network, making them too slow for real-time use in a moving vehicle. Furthermore, existing metrics for panoptic segmentation only measure quality, ignoring whether the model's confidence is actually calibrated to its accuracy. This paper fills these gaps by defining the task, creating new metrics, and building a fast, reliable model.

Methods

The authors propose the Evidential Panoptic Segmentation Network (EvPSNet). Its core innovation lies in moving away from standard "softmax" outputs toward Evidential Deep Learning.

  • Sampling-Free Uncertainty: Instead of running the model multiple times to see how predictions vary, EvPSNet uses a softplus activation function to treat the network's output as "evidence" for each class. This evidence parameterizes a Dirichlet distribution, allowing the model to calculate per-pixel uncertainty in a single forward pass.
  • Architecture: Based on the EfficientPS backbone, the model features separate uncertainty-aware heads for semantic and instance tasks.
  • Uncertainty-Driven Fusion: A novel panoptic fusion module (illustrated in Figure 3) uses the predicted uncertainties to resolve conflicts. For example, if the semantic head and instance head disagree on a pixel, the model leverages their respective uncertainty scores to make a more informed final decision.
Fig. 2: Overview of our proposed EvPSNet architecture. Our network utilizes deep evidential learning to provide semantic seg- mentation probabilities and uncertainties from the semantic head, as well as bounding boxes (bbox), class (cls), class probability (cls prob), mask, and mask uncertainties (mask unc) from the instance head. These are combined by our panoptic fusion module to provide panoptic segmentation and uncertainties.

Datasets

The model was trained and evaluated on:

  • Cityscapes: The industry-standard dataset for urban scene understanding, featuring 5,000 densely annotated images.
  • Indian Driving Dataset (IDD): Used specifically to test out-of-distribution (OOD) performance. IDD is significantly more challenging due to unstructured environments and unique object classes (like auto-rickshaws) not found in Cityscapes.

To evaluate this new task, the authors introduced two new metrics:

  1. uPQ (uncertainty-aware Panoptic Quality): Penalizes high-quality segmentations if the model is poorly calibrated.
  2. pECE (panoptic Expected Calibration Error): Measures how well the predicted uncertainty matches the actual error rate across both "stuff" and "thing" classes.

Key Insights and Ideas

  • Active Fusion: Uncertainty isn't just a diagnostic tool; it's a functional component. By using uncertainty to guide the fusion of semantic and instance masks, EvPSNet actually improves its overall segmentation accuracy (PQ).
  • Softplus over ReLU: While original evidential learning papers suggested ReLU, this work finds that softplus is superior for segmentation because it preserves small evidence signals that ReLU would otherwise zero out, leading to better calibration.
  • OOD Robustness: The model demonstrates a high correlation between error and uncertainty. When faced with unfamiliar objects in the IDD dataset, EvPSNet correctly flags them with high uncertainty, providing a critical safety buffer for autonomous path planning.
Fig. 1: Semantic, instance and panoptic segmentations with their associated uncertainties as predicted by our EvPSNet for the Cityscapes data.

Key Results

  • State-of-the-Art: EvPSNet achieved a Panoptic Quality (PQ) of 63.7% on Cityscapes, outperforming standard baselines like EfficientPS and PanopticDeepLab.
  • Superior Calibration: On the new uncertainty metrics, EvPSNet outperformed the best baseline (EfficientPS + Temperature Scaling) by 3.8% in uPQ and reduced the calibration error (pECE) by 4.9%.
  • Generalization: When tested on the out-of-distribution Indian Driving Dataset, EvPSNet maintained a significant lead in calibration (5.7% ECE vs. 11.5% for the best baseline), proving it is more reliable in "unseen" environments.

Limitations and Future Work

The authors note that while their segmentation uncertainty is robust, the PQ score for "thing" classes (PQTh) was slightly lower than the base EfficientPS model. They attribute this to the fact that they currently only utilize segmentation uncertainties and do not yet incorporate regression uncertainties for the bounding box coordinates.

Future work will likely focus on integrating these regression uncertainties to create a truly holistic, uncertainty-aware perception system that accounts for both the shape and the precise location of objects.

Summary updated

BibTeX
@misc{sirohi2022uncertainty,
  author = {Kshitij Sirohi and Sajad Marvi and Daniel Büscher and Wolfram Burgard},
  title = {{Uncertainty-aware Panoptic Segmentation}},
  year = {2022},
  eprint = {2206.14554},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.14554},
}
Figure