[Paper Review] A simple defense against adversarial attacks on heatmap explanations
This paper proposes AGG-Mean, a simple defense that aggregates multiple explanation methods (e.g., Guided Backpropagation, LRP, Saliency Maps) via averaging to defend against adversarial attacks on heatmap explanations. Even when attackers have full knowledge of model weights and explanation methods, AGG-Mean maintains robustness by leveraging the diversity and averaging-induced smoothness of multiple methods, significantly outperforming individual methods in preserving original explanations under attack.
With machine learning models being used for more sensitive applications, we rely on interpretability methods to prove that no discriminating attributes were used for classification. A potential concern is the so-called "fair-washing" - manipulating a model such that the features used in reality are hidden and more innocuous features are shown to be important instead. In our work we present an effective defence against such adversarial attacks on neural networks. By a simple aggregation of multiple explanation methods, the network becomes robust against manipulation. This holds even when the attacker has exact knowledge of the model weights and the explanation methods used.
Motivation & Objective
- To address the growing risk of 'fairwashing'—where attackers manipulate explanations to hide discriminatory features in ML models.
- To defend against adversarial attacks on explanation methods, which can alter heatmaps without changing the input visibly.
- To develop a lightweight, non-invasive defense that does not require modifying the model architecture or weights.
- To evaluate whether aggregating diverse explanation methods improves robustness against adversarial manipulation.
Proposed method
- The defense aggregates multiple explanation methods (e.g., Guided Backpropagation, LRP, Saliency Maps) using a simple mean operation across their heatmaps.
- The method is applied at inference time, requiring no retraining or modification of the underlying neural network.
- The aggregation leverages the diversity of explanation methods to induce smoothing, reducing sensitivity to adversarial perturbations.
- The approach is evaluated under strong attacker assumptions: full knowledge of model weights, explanation methods, and control over input perturbations.
- The defense is tested across multiple architectures and datasets, including ImageNet, to ensure generalization.
- The method is compared against individual explanation methods and other aggregation strategies, with metrics including PCC, topK union, and MSE.
Experimental results
Research questions
- RQ1Can aggregating multiple explanation methods improve robustness against adversarial attacks on heatmap explanations?
- RQ2Does the robustness of the aggregate explanation hold when the attacker has full knowledge of the model weights and explanation methods?
- RQ3How does the transferability of adversarial attacks vary between different explanation methods, and does aggregation reduce this transferability?
- RQ4Is the robustness of the aggregate explanation due to averaging-induced smoothness, and how does it compare to methods like SmoothGrad?
- RQ5Does replacing a single explanation method with an ensemble provide stronger defense than using a different single method?
Key findings
- AGG-Mean significantly outperforms all individual explanation methods in robustness, with a top-10% union score of 0.24 compared to the next best method (LRP) at 0.49.
- The PCC (Pearson correlation coefficient) for AGG-Mean is 0.54, substantially lower than LRP (0.81) and GB (0.77), indicating better preservation of original explanation structure under attack.
- MSE (Mean Squared Error) for AGG-Mean is -0.89 (*10e-9), significantly lower than GB (-3.25) and LRP (-1.45), showing that AGG-Mean's adversarial explanation is closer to the original in distribution.
- The attack transferability is low: adversarial examples crafted to fool one method (e.g., Guided Backpropagation) fail to transfer effectively to other methods (e.g., LRP), as shown by points deviating from the identity line in Fig. 2.
- Even when the attacker knows the exact explanation method used and controls the input, AGG-Mean maintains high fidelity to the original explanation, as visualized in Fig. 4 and Fig. 5.
- The defense is computationally efficient and does not require model retraining or architectural changes, making it practical for real-world deployment.
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.