[Paper Review] Deep Deterministic Uncertainty for Semantic Segmentation
This paper extends Deep Deterministic Uncertainty (DDU) to semantic segmentation, enabling efficient epistemic and aleatoric uncertainty estimation in a single forward pass. By leveraging class-wise feature space densities independent of pixel location, DDU achieves state-of-the-art uncertainty calibration on Pascal VOC 2012 with inference speed comparable to a standard model, outperforming MC Dropout and Deep Ensembles in both accuracy and runtime.
We extend Deep Deterministic Uncertainty (DDU), a method for uncertainty estimation using feature space densities, to semantic segmentation. DDU enables quantifying and disentangling epistemic and aleatoric uncertainty in a single forward pass through the model. We study the similarity of feature representations of pixels at different locations for the same class and conclude that it is feasible to apply DDU location independently, which leads to a significant reduction in memory consumption compared to pixel dependent DDU. Using the DeepLab-v3+ architecture on Pascal VOC 2012, we show that DDU improves upon MC Dropout and Deep Ensembles while being significantly faster to compute.
Motivation & Objective
- To enable reliable uncertainty quantification in semantic segmentation for safety-critical applications like autonomous driving and medical imaging.
- To address the high computational cost of traditional uncertainty methods such as MC Dropout and Deep Ensembles in dense prediction tasks.
- To extend DDU—originally for classification—to semantic segmentation while preserving efficiency and accuracy.
- To demonstrate that pixel-independent feature space density estimation is feasible and effective for uncertainty estimation in semantic segmentation.
- To validate DDU’s performance against strong baselines in terms of uncertainty calibration, accuracy, and inference speed.
Proposed method
- Computes class-wise feature space means and covariance matrices using a single forward pass over training data, assuming feature representations are invariant across spatial locations.
- Applies Gaussian Discriminant Analysis (GDA) to model the marginal feature density p(z) = Σ_c p(z|c)p(c), where p(z|c) is class-conditional and p(c) is class prior.
- Uses the computed feature density as a proxy for epistemic uncertainty, with lower density indicating higher uncertainty.
- Estimates aleatoric uncertainty via the entropy of the softmax output distribution, capturing observation noise and ambiguity.
- Employs a fully convolutional architecture (DeepLab-v3+) with bi-Lipschitz inductive bias to prevent feature collapse and ensure stable density estimation.
- Enables uncertainty estimation in a single forward pass, avoiding the need for multiple stochastic forward passes or ensemble inference.
Experimental results
Research questions
- RQ1Can DDU be effectively extended to semantic segmentation, where dense pixel-wise predictions are required?
- RQ2Is it feasible to compute feature space densities for semantic segmentation using class-wise, pixel-independent statistics rather than per-pixel statistics?
- RQ3Does DDU provide better uncertainty calibration than MC Dropout and Deep Ensembles in semantic segmentation tasks?
- RQ4Can DDU maintain high accuracy while achieving significantly faster inference than baseline methods requiring multiple forward passes?
- RQ5How well does DDU disentangle epistemic and aleatoric uncertainty in real-world segmentation scenarios?
Key findings
- DDU achieves state-of-the-art performance on uncertainty calibration metrics—p(accurate—certain), p(uncertain—inaccurate), and PAVPU—across all uncertainty thresholds on the Pascal VOC 2012 validation set.
- The runtime of a single DDU forward pass is approximately 263 milliseconds, significantly faster than MC Dropout (1.57 seconds) and comparable to a standard inference pass.
- Despite the speed advantage, DDU maintains a validation mIoU of 83.6%, comparable to other models, indicating no trade-off in accuracy.
- Visualizations show that DDU’s feature density captures epistemic uncertainty on previously unseen or ambiguous regions, while softmax entropy captures aleatoric uncertainty on object edges.
- The method successfully disentangles epistemic and aleatoric uncertainty, with epistemic uncertainty increasing on large, inaccurately predicted regions not captured by entropy-based methods.
- Empirical analysis confirms that feature space means for the same class are consistently closer than for different classes across different image locations, validating the pixel-independent assumption.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.