Abstract
Standard Explainable AI (XAI) typically provides a single point-estimate explanation for a model's prediction, lacking a measure of confidence. This paper introduces a framework that leverages Bayesian Neural Networks (BNNs) to generate an explanation distribution. By sampling from the posterior weight distribution, the authors distinguish between stable features and opportunistic ones, providing a critical safety layer for high-stakes applications like medical diagnosis.
Introduction: The Confidence Gap in XAI
Deep Neural Networks (DNNs) are often criticized as "black boxes." While XAI tools like attribution maps (heatmaps) have been developed to highlight influential input features, they generally rely on a single set of model weights. This results in a single "best guess" explanation that offers no insight into the model's certainty. In security-critical fields—such as medicine or autonomous driving—knowing why a model made a decision is insufficient; we must also know if the model is certain about that rationale.
Methodology: From Point Estimates to Distributions
The authors propose a method-agnostic framework that treats explanations as random variables. The process involves three key stages:
- Sampling: Multiple models are drawn from the BNN’s posterior weight distribution.
- Attribution: Standard XAI methods (e.g., Integrated Gradients, LRP) are applied to each sample, creating a distribution of attribution maps.
- Aggregation (UAI): To make these distributions interpretable, the authors introduce Union and Intersection (UAI) aggregations:
- Intersection: Highlights the "stable core" of features agreed upon by most model samples (high precision).
- Union: Captures all features deemed relevant by any significant portion of the samples (high sensitivity).
Additionally, Spectral Relevance Analysis (SpRAy) is used to cluster similar explanations, revealing if the BNN employs multiple distinct "strategies" for a single decision.
Experimental Evaluation
The framework was tested across diverse datasets, ranging from synthetic benchmarks to real-world clinical data:
- Custom MNIST (CMNIST): Verified the model's ability to ignore background noise.
- ImageNet: Demonstrated scalability on large-scale architectures using "Bayesianized" VGG16.
- Pathology Dataset: Analyzed over 22,000 histopathological patches of lung cancer (NSCLC) to evaluate clinical decision support.
- Pascal VOC 2007: Investigated the "Clever Hans" effect, where models rely on spurious artifacts like watermarks.
Key Insights and Results
A major finding is that BNNs often harbor multiple "rationales" for the same input. Clustering sampled explanations revealed that a model might focus on different parts of an object across different samples; a simple average would obscure these distinct strategies.
Clinical Utility and Localization
In the pathology domain, the framework provides a dual-view system: a "prioritized review" via Intersection for the most certain cancer indicators, and a "coverage-oriented" view via Union to ensure no potential tumor foci are missed.
Quantitatively, the Union method achieved the highest AUC-ROC in localization tasks, while the Intersection method provided nearly perfect Relevance Mass Accuracy, ensuring that highlighted pixels were almost certainly part of the ground-truth object.
Limitations and Future Directions
While promising, the framework's effectiveness depends on the quality of the posterior approximation (e.g., MC Dropout). Poor approximations can lead to misleading uncertainty estimates. Furthermore, current XAI metrics are optimized for single explanations; new standards are needed for evaluating explanation distributions. Future work will also involve human-subject studies to determine if uncertainty-aware heatmaps tangibly improve clinical decision-making.
Summary updated