[Paper Review] Generating Interpretable Counterfactual Explanations By Implicit Minimisation of Epistemic and Aleatoric Uncertainties
This paper proposes a white-box method for generating interpretable counterfactual explanations (CEs) by implicitly minimizing epistemic and aleatoric uncertainty in a classifier, without requiring an auxiliary generative model. The approach improves CE realism and unambiguity, achieving state-of-the-art IM1 scores on MNIST and tabular datasets while maintaining competitive perturbation minimality.
Counterfactual explanations (CEs) are a practical tool for demonstrating why machine learning classifiers make particular decisions. For CEs to be useful, it is important that they are easy for users to interpret. Existing methods for generating interpretable CEs rely on auxiliary generative models, which may not be suitable for complex datasets, and incur engineering overhead. We introduce a simple and fast method for generating interpretable CEs in a white-box setting without an auxiliary model, by using the predictive uncertainty of the classifier. Our experiments show that our proposed algorithm generates more interpretable CEs, according to IM1 scores, than existing methods. Additionally, our approach allows us to estimate the uncertainty of a CE, which may be important in safety-critical applications, such as those in the medical domain.
Motivation & Objective
- To address the challenge of generating counterfactual explanations that are both realistic and unambiguous, avoiding reliance on complex auxiliary generative models.
- To define and operationalize interpretability in CEs through the lens of epistemic (lack of knowledge) and aleatoric (inherent data noise) uncertainty.
- To develop a method that leverages uncertainty estimates from a classifier—already available in models like Monte Carlo dropout—for generating high-quality CEs with minimal engineering overhead.
- To empirically validate that uncertainty-based minimization improves CE interpretability compared to existing approaches, especially in terms of realism and clarity.
Proposed method
- The method uses a classifier with Monte Carlo dropout to estimate both epistemic and aleatoric uncertainty, treating low uncertainty as a proxy for realism and unambiguity.
- It formulates a loss function that implicitly minimizes both types of uncertainty during counterfactual generation, favoring inputs that are likely under the data distribution and clearly classified.
- The algorithm performs iterative, pixel-wise perturbations to the input, guided by uncertainty gradients, to find a minimal change that flips the prediction while reducing uncertainty.
- It does not require a separate generative model, instead relying on the predictive uncertainty of the base classifier, reducing complexity and training overhead.
- The method is applied in a white-box setting where gradients and uncertainty estimates are directly accessible from the model.
- The approach is evaluated using IM1 scores for interpretability and L1 distance for minimality, with ablation studies on ensemble size and adversarial training.
Experimental results
Research questions
- RQ1Can epistemic uncertainty be used as a proxy for realism in counterfactual explanations?
- RQ2Can aleatoric uncertainty help reduce ambiguity in counterfactuals by identifying borderline or uncertain predictions?
- RQ3Does implicit minimization of both uncertainty types lead to more interpretable CEs than existing methods without auxiliary models?
- RQ4How does the proposed method compare in terms of realism and minimality to adversarial attack-based and generative model-based baselines?
Key findings
- On the MNIST dataset, the proposed method achieved an IM1 score of 0.98, significantly outperforming JSMA (1.11) and VLK (1.12), demonstrating superior realism.
- On the Breast Cancer Diagnosis dataset, the method achieved an IM1 score of 0.89, compared to 2.81 for VLK and 1.06 for JSMA, showing strong performance on tabular data.
- On the Boston Housing dataset, the method achieved an IM1 score of 0.85, outperforming VLK (2.55) and JSMA (1.50), confirming consistent gains in interpretability.
- Despite generating larger L1 perturbations than JSMA (e.g., 38.3 vs. 14.4 on MNIST), the method produced more realistic and interpretable CEs, validating the trade-off between minimality and interpretability.
- The ablation study showed that interpretability (IM1) improves with ensemble size up to 10 models, after which gains saturate, indicating diminishing returns.
- Adversarial training improved IM1 scores but led to less sparse explanations, suggesting a trade-off between robustness and sparsity in the perturbations.
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.