[Paper Review] The Impact of Machine Learning Uncertainty on the Robustness of Counterfactual Explanations
The paper investigates how aleatoric and epistemic uncertainty in ML models affects the robustness of proximity-based counterfactual explanations across synthetic and real tabular datasets, showing explanations can be unstable even with small accuracy drops.
Counterfactual explanations are widely used to interpret machine learning predictions by identifying minimal changes to input features that would alter a model's decision. However, most existing counterfactual methods have not been tested when model and data uncertainty change, resulting in explanations that may be unstable or invalid under real-world variability. In this work, we investigate the robustness of common combinations of machine learning models and counterfactual generation algorithms in the presence of both aleatoric and epistemic uncertainty. Through experiments on synthetic and real-world tabular datasets, we show that counterfactual explanations are highly sensitive to model uncertainty. In particular, we find that even small reductions in model accuracy - caused by increased noise or limited data - can lead to large variations in the generated counterfactuals on average and on individual instances. These findings underscore the need for uncertainty-aware explanation methods in domains such as finance and the social sciences.
Motivation & Objective
- Assess how different sources of ML uncertainty (aleatoric and epistemic) affect the robustness of proximity-based counterfactual explanations (CE).
- Compare multiple ML models and CE algorithms to understand stability of CE under uncertainty in real-world tabular datasets.
- Provide practical guidance for uncertainty-aware explainability in high-stakes domains like finance and social sciences.
Proposed method
- Use synthetic and real-world tabular datasets to study CE robustness under controlled noise.
- Evaluate multiple classifiers (logistic regression, Bayesian logistic regression, random forests, neural networks) and CE methods (DiCE, NICE, MILP-based, RL-based) across datasets.
- Define and compute a weighted mixed-space L1 distance to quantify CE robustness, including normalization for comparability.
- Analyze CE performance across FN, TN, and overall accuracy to capture stakeholder-relevant perspectives.
Experimental results
Research questions
- RQ1How do aleatoric and epistemic uncertainties influence the robustness of proximity-based counterfactual explanations?
- RQ2Do higher predictive accuracy models always yield more robust counterfactual explanations across different CE methods?
- RQ3Which ML-CE method combinations demonstrate the most stable counterfactuals under increasing noise?
- RQ4How do CE robustness patterns differ between synthetic datasets and real-world tabular datasets (German Credit, Adult Income, Give Me Some Credit)?
Key findings
- Counterfactual explanations are highly sensitive to model uncertainty, with small accuracy degradations often causing large CE shifts.
- Higher classifier accuracy does not guarantee more robust CE, challenging the common practice of selecting models solely by predictive performance.
- CE robustness varies across dataset complexity and feature dimensionality, with some ML-CE combinations more stable than others depending on the scenario.
- Different CE methods (DiCE, NICE, MILP, RL) and classifiers (LR, BLR, RF, NN) exhibit varying robustness, and no single combination dominates across all settings.
- The study provides a scalable robustness framework and publicly available code/data to replicate and extend analyses.
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.