TL;DR
While deep learning models can tell us how uncertain they are with a single scalar score, they rarely reveal where that uncertainty originates. This paper introduces the Uncertainty Activation Map (UAM) framework, which combines Evidential Deep Learning and FullGrad to generate spatial heatmaps of model uncertainty. Crucially, it is the first approach to visually distinguish between uncertainty caused by a total lack of evidence (vacuity) versus a conflict between competing hypotheses (dissonance).
What Problem Does This Paper Address?
In safety-critical deployments like autonomous driving or medical imaging, knowing when a model is uncertain is vital. However, current uncertainty quantification (UQ) methods only provide a single, holistic scalar value (e.g., "I am 60% uncertain"). They fail to provide spatial context.
Conversely, standard Explainable AI (XAI) tools like Grad-CAM highlight which image regions drive a prediction, but they don't explicitly show what drives uncertainty. Furthermore, they treat uncertainty as a monolith. They cannot tell you if the model is confused because it has never seen the object before (missing evidence) or because the object shares features with multiple known classes (conflicting evidence).
Methods
The authors bridge the gap between UQ and XAI by introducing the Uncertainty Activation Map (UAM) framework. UAM integrates two core components:
- Evidential Deep Learning (EDL) & Subjective Logic (SL): Instead of standard softmax probabilities, EDL places a Dirichlet distribution over class probabilities. This allows the framework to explicitly break down uncertainty into two distinct types:
- Vacuity: A lack of evidence (the model doesn't find any familiar features).
- Dissonance: Conflicting evidence (the model finds strong features that simultaneously support multiple different classes).
- Full-Gradient Class Activation Mapping (FullGrad): Unlike Grad-CAM, which only looks at the last convolutional layer, FullGrad aggregates gradients from all layers and includes bias parameters. This provides a "theoretically complete" decomposition of the network's output, making it ideal for capturing holistic properties like uncertainty across all classes.
By computing belief-weighted attributions across the image, UAM generates two distinct spatial heatmaps: the Vacuity Activation Map and the Dissonance Activation Map.
Datasets
The framework was evaluated across five diverse datasets representing varying levels of visual complexity:
- MNIST: Grayscale handwritten digits (used for baseline out-of-distribution rotation tests).
- SVHN: Street View House Numbers (introducing natural scene backgrounds and lighting variations).
- CIFAR-10: 60,000 natural images across 10 classes with high intra-class variation.
- Imagenette: A high-resolution 10-class subset of ImageNet.
- Alzheimer’s Disease (AD) Dataset: 6,400 grayscale brain MRI scans across 4 dementia severity classes, introducing real-world clinical ambiguity.
Key Insights and Ideas
- Uncertainty is Not Monolithic: Separating vacuity from dissonance provides actionable insights. High vacuity means the model needs more diverse training data (OOD detection), while high dissonance means the model needs finer-grained features to distinguish between ambiguous, overlapping classes.
- The Power of FullGrad's Completeness: For out-of-distribution (OOD) inputs, class-specific gradients become highly unreliable. FullGrad's ability to account for the entire network's information flow ensures that uncertainty maps remain stable even when the model encounters completely unfamiliar inputs.
- Spatial Decoupling of Evidence: In multi-object scenes (e.g., an image containing both the Statue of Liberty and a parachutist), the model doesn't just get confused globally. UAM shows that the model independently processes distinct regions, mapping the parachute features to a "parachute" class and the vertical statue features to a "church spire" class, localizing the dissonance precisely where the semantic overlap occurs.
Key Results
The authors validated their maps using Pixel Perturbation Tests, systematically removing pixels ranked by uncertainty/belief scores using Most Relevant First (MoRF) and Least Relevant First (LeRF) degradation strategies. Performance was measured via the Area Over the Perturbation Curve (AOPC). UAM was compared against Integrated Gradients (IG) and SHAP proxies:
- Belief Attribution: FullGrad consistently outperformed IG and SHAP, achieving the highest separation ($\Delta$AOPC of +0.79 on MNIST and +0.53 on Imagenette), proving it accurately identifies prediction-driving regions.
- Vacuity Mapping: On simpler datasets, SHAP and IG showed slightly better separation because FullGrad’s internal activation-weighting tends to suppress weak neural responses (which naturally correlate with high vacuity). However, all methods successfully verified that removing low-vacuity (confident) regions first caused a massive spike in total model uncertainty.
- Dissonance Mapping: Dissonance maps successfully localized semantic confusion. For instance, on CIFAR-10 dog/cat ambiguities, the dissonance was tightly localized to facial and upper-body regions where distinguishing features overlap.
Limitations and Future Work
- Global-to-Local Attribution Constraint: Currently, the framework calculates pixel-level uncertainty based on the global belief distribution of the entire image. It cannot inherently capture independent regional evidence patterns (e.g., evaluating a dog's face completely isolated from its body).
- Future Segmentation Integration: The authors suggest combining UAM with image segmentation techniques (like superpixels). By running inference on isolated, masked segments independently, the model could generate truer local uncertainty maps, though this will introduce a significant computational overhead (requiring multiple forward passes instead of UAM's current single-pass efficiency).
Summary updated