Towards Counterfactual and Contrastive Explainability and Transparency of DCNN Image Classifiers
Syed Ali Tariq, Tehseen Zia, Mubeen Ghafoor
TL;DR
This paper tackles the challenge of explainability for DCNN image classifiers by proposing a model-intrusive framework that exposes the internal reasoning of networks through counterfactual and contrastive explanations. It introduces two predictive models that identify minimum correct (MC) and minimum incorrect (MI) filters from the top convolutional layer, enabling visualizable concepts and misclassification analysis via receptive-field mappings. The approach yields interpretable explanations by muting or augmenting specific filters and demonstrates its utility on the CUB dataset with a VGG-16 backbone, including qualitative visualizations, a user study, and quantitative analyses showing meaningful breakdowns of class-specific features and trade-offs between sparsity and accuracy. The work advances transparency and trust in DCNNs for high-stakes applications and suggests future improvements in evaluation metrics and broader applicability to debugging and teaching tasks.
Abstract
Explainability of deep convolutional neural networks (DCNNs) is an important research topic that tries to uncover the reasons behind a DCNN model's decisions and improve their understanding and reliability in high-risk environments. In this regard, we propose a novel method for generating interpretable counterfactual and contrastive explanations for DCNN models. The proposed method is model intrusive that probes the internal workings of a DCNN instead of altering the input image to generate explanations. Given an input image, we provide contrastive explanations by identifying the most important filters in the DCNN representing features and concepts that separate the model's decision between classifying the image to the original inferred class or some other specified alter class. On the other hand, we provide counterfactual explanations by specifying the minimal changes necessary in such filters so that a contrastive output is obtained. Using these identified filters and concepts, our method can provide contrastive and counterfactual reasons behind a model's decisions and makes the model more transparent. One of the interesting applications of this method is misclassification analysis, where we compare the identified concepts from a particular input image and compare them with class-specific concepts to establish the validity of the model's decisions. The proposed method is compared with state-of-the-art and evaluated on the Caltech-UCSD Birds (CUB) 2011 dataset to show the usefulness of the explanations provided.
