Activation-Deactivation: A General Framework for Robust Post-hoc Explainable AI
Akchunya Chanchal, David A. Kelly, Hana Chockler
TL;DR
This work addresses the fragility of occlusion-based post-hoc explanations, which can produce out-of-distribution inputs and depend on chosen occlusion values. It introduces Activation-Deactivation (AD), a forward-pass paradigm that deactivates model activations corresponding to occluded input regions, and ConvAD, a drop-in CNN module that implements AD without retraining. By grounding AD in depth-2 causal models and restrictions, the approach yields explanations that are robust across contexts while preserving the original model’s decisions on unoccluded inputs. Empirical results across multiple CNN architectures and datasets show that ConvAD explanations outperform traditional masking in robustness (up to 62.5% improvements) and are competitive in size and confidence, supporting practical adoption in real-world explainability workflows.
Abstract
Black-box explainability methods are popular tools for explaining the decisions of image classifiers. A major drawback of these tools is their reliance on mutants obtained by occluding parts of the input, leading to out-of-distribution images. This raises doubts about the quality of the explanations. Moreover, choosing an appropriate occlusion value often requires domain knowledge. In this paper we introduce a novel forward-pass paradigm Activation-Deactivation (AD), which removes the effects of occluded input features from the model's decision-making by switching off the parts of the model that correspond to the occlusions. We introduce ConvAD, a drop-in mechanism that can be easily added to any trained Convolutional Neural Network (CNN), and which implements the AD paradigm. This leads to more robust explanations without any additional training or fine-tuning. We prove that the ConvAD mechanism does not change the decision-making process of the network. We provide experimental evaluation across several datasets and model architectures. We compare the quality of AD-explanations with explanations achieved using a set of masking values, using the proxies of robustness, size, and confidence drop-off. We observe a consistent improvement in robustness of AD explanations (up to 62.5%) compared to explanations obtained with occlusions, demonstrating that ConvAD extracts more robust explanations without the need for domain knowledge.
