Abstract
Explainable AI (XAI) faces significant challenges due to high variance and inconsistency among different attribution methods, leading to high epistemic uncertainty. Furthermore, these methods are often vulnerable to adversarial attacks that can manipulate explanations without altering model predictions. This paper proposes ensembling multiple XAI methods to create robust, aggregated heatmaps. We introduce two strategies, AGG-Mean and AGG-Var, and demonstrate through extensive evaluation on ImageNet, MNIST, and FashionMNIST that these aggregated explanations are more accurate, more aligned with human intuition, and significantly more resistant to adversarial fairwashing than individual state-of-the-art methods.
Introduction
The proliferation of deep learning has necessitated the development of XAI techniques to interpret model decisions. However, the field currently lacks a "gold standard," with methods like Saliency Maps (SM), Grad-CAM (GC), and Integrated Gradients (IG) often providing conflicting interpretations. This inconsistency creates uncertainty for end-users and leaves explanations open to adversarial manipulation. This work explores whether the "ensemble effect"—the observation that combining multiple models improves performance—can be successfully applied to stabilize and improve neural network explanations.
Methodology: Aggregation Frameworks
We propose two primary methods for aggregating individual attribution heatmaps to synthesize a consensus explanation:
- AGG-Mean: A straightforward approach that calculates the simple average of normalized heatmaps from multiple XAI methods. Each method's output is normalized so the total relevance sums to one before averaging.
- AGG-Var: An "effect size" map that incorporates local variance. It divides the mean aggregate by its local standard deviation (plus a smoothing constant $\epsilon$). This approach prioritizes pixels where methods agree on importance while suppressing regions of high disagreement.
Evaluation is performed using the Iterative Removal of Objects/Features (IROF) metric. This metric uses the SLIC algorithm to segment images into superpixels, which are then removed in order of their attributed importance. The rate of decay in model confidence serves as a proxy for explanation accuracy.
Key Results and Insights
Our experiments across various architectures (VGG, ResNet, Inception) and datasets reveal several critical findings:
Superior Accuracy and Stability
Aggregated methods consistently outperform individual techniques in identifying relevant features. For instance, on ResNet101, AGG-Var achieved an accuracy score of 81.2, compared to 77.8 for the best single method. Quantitative analysis on MNIST and FashionMNIST further confirms that aggregated methods maintain higher stability and correlation (PCC) as features are removed.
Theoretical Foundation
The authors provide a theoretical proof demonstrating that the error of an aggregate explanation is bounded by the average error of its constituent methods. The reduction in error is directly proportional to the variance (disagreement) between the individual methods, formally justifying the ensembling approach as a means to reduce epistemic uncertainty.
Robustness to Manipulation
A key discovery is the limited transferability of adversarial attacks between XAI methods. An attack designed to "wipe" a Guided Backprop explanation often fails to affect Layer-wise Relevance Propagation (LRP). By ensembling diverse methods, the resulting aggregate explanation remains largely intact even when individual components are successfully attacked, providing a potent defense against "fairwashing."
Alignment with Human Intuition
Comparisons with human-annotated benchmarks show that the consensus of multiple XAI methods (specifically an ensemble of SmoothGrad and Grad-CAM) aligns more closely with human visual importance than any individual algorithmic explanation.
Conclusion
Aggregating explainability methods effectively mitigates the inherent noise and vulnerability of individual XAI techniques. While computationally more intensive due to the need for multiple passes, the resulting "consensus" explanations provide a more reliable, robust, and human-aligned window into the decision-making processes of complex neural networks. Future work will investigate optimal weightings for these ensembles to further enhance interpretability.
Summary updated