[Paper Review] Explainable Image Classification with Evidence Counterfactual
This paper proposes SEDC and SEDC-T, model-agnostic instance-level explanation methods for image classification that generate visual counterfactual explanations by identifying minimal sets of image segments whose removal alters the model's prediction. The approach addresses limitations of feature importance methods like LIME, SHAP, and LRP by producing size-optimal, feature-dependent explanations related to multiple classes, achieving 86% success in finding target counterfactual classes on misclassified images within 15 seconds.
The complexity of state-of-the-art modeling techniques for image classification impedes the ability to explain model predictions in an interpretable way. Existing explanation methods generally create importance rankings in terms of pixels or pixel groups. However, the resulting explanations lack an optimal size, do not consider feature dependence and are only related to one class. Counterfactual explanation methods are considered promising to explain complex model decisions, since they are associated with a high degree of human interpretability. In this paper, SEDC is introduced as a model-agnostic instance-level explanation method for image classification to obtain visual counterfactual explanations. For a given image, SEDC searches a small set of segments that, in case of removal, alters the classification. As image classification tasks are typically multiclass problems, SEDC-T is proposed as an alternative method that allows specifying a target counterfactual class. We compare SEDC(-T) with popular feature importance methods such as LRP, LIME and SHAP, and we describe how the mentioned importance ranking issues are addressed. Moreover, concrete examples and experiments illustrate the potential of our approach (1) to obtain trust and insight, and (2) to obtain input for model improvement by explaining misclassifications.
Motivation & Objective
- To address the limitations of existing feature importance-based explanation methods in image classification, such as suboptimal explanation size, lack of feature dependence consideration, and focus on only one class.
- To develop model-agnostic, instance-level explanation methods that produce human-interpretable, visual counterfactual explanations for complex image classifiers.
- To support trust, insight, and model improvement by revealing why misclassifications occur and what evidence led to incorrect predictions.
- To enable compliance with regulatory requirements such as the 'right to explanation' under GDPR by providing contrastive, actionable explanations.
- To evaluate the effectiveness of counterfactual explanations in real-world misclassification scenarios through empirical experiments.
Proposed method
- SEDC identifies a minimal set of image segments whose removal causes the model to predict a different class, forming a visual counterfactual explanation.
- SEDC-T extends SEDC by allowing users to specify a target class, enabling targeted counterfactual generation for misclassified instances.
- The method uses a search algorithm over segmented image regions to iteratively test which combinations of removed segments lead to a change in prediction.
- Segmentation is performed using an off-the-shelf method (e.g., SLIC), and segment replacement is used to simulate removal effects during search.
- The approach is model-agnostic, requiring no access to model architecture or gradients, and works with any black-box image classifier.
- Explanations are evaluated based on the minimal number of segments removed and the resulting change in prediction confidence.
Experimental results
Research questions
- RQ1Can visual counterfactual explanations generated by SEDC and SEDC-T improve the interpretability of complex image classification models compared to traditional feature importance methods?
- RQ2To what extent does SEDC-T successfully generate counterfactual explanations that change the model’s prediction to a specified target class within a reasonable time?
- RQ3How do SEDC and SEDC-T address the limitations of existing explanation methods, such as suboptimal explanation size and lack of multi-class consideration?
- RQ4In cases of misclassification, can SEDC-T identify the discriminative evidence that led to the wrong prediction and guide model improvement?
- RQ5What factors contribute to the failure of SEDC-T to reach the target class within the time limit, and how do they relate to image content and labeling?
Key findings
- SEDC-T successfully found the correct target class in 86% (1,831 out of 2,121) of misclassified images within 15 seconds of search time.
- In 289 of the 290 cases where the target was not reached, the search still produced perturbations that improved the distance between the target and predicted class scores, indicating progress toward the goal.
- Failure cases were often due to ambiguous labeling—such as mice appearing in scenes with desktop computers or desks—where the correct class was contextually plausible, making it hard to isolate the evidence for the wrong class.
- In some cases, even after removing all segments except those containing the actual object (e.g., a mouse), the model still did not predict the correct class, indicating deeper model biases or architectural limitations.
- The method successfully identified discriminative evidence in misclassifications, such as the presence of a revolver’s cylinder, which can inform data augmentation and model retraining.
- User studies are recommended to further validate the interpretability and explainability of SEDC-T in real-world decision-making contexts.
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.