Consistent Counterfactuals for Deep Models
Not on the map. Why?
Abstract (arXiv)
Counterfactual examples are one of the most commonly-cited methods for explaining the predictions of machine learning models in key areas such as finance and medical diagnosis. Counterfactuals are often discussed under the assumption that the model on which they will be used is static, but in deployment models may be periodically retrained or fine-tuned. This paper studies the consistency of model prediction on counterfactual examples in deep networks under small changes to initial training conditions, such as weight initialization and leave-one-out variations in data, as often occurs during model deployment. We demonstrate experimentally that counterfactual examples for deep models are often inconsistent across such small changes, and that increasing the cost of the counterfactual, a stability-enhancing mitigation suggested by prior work in the context of simpler models, is not a reliable heuristic in deep networks. Rather, our analysis shows that a model's local Lipschitz continuity around the counterfactual is key to its consistency across related models. To this end, we propose Stable Neighbor Search as a way to generate more consistent counterfactual explanations, and illustrate the effectiveness of this approach on several benchmark datasets.
Key facts. Cited by 37 papers in the map (data through 14 Oct 2026). Builds on 42 of its 69 references that are in the map. First posted on arXiv 6 Oct 2021.
Builds on
42 of 69 references.
References · 42
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2013Intriguing properties of neural networkscited by 5,155
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,371
- 2017A Survey on Deep Learning in Medical Image Analysiscited by 1,186
- 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,089
- 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 953
- 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 614
- 2018Improving Transferability of Adversarial Examples with Input Diversitycited by 599
- 2020Underspecification Presents Challenges for Credibility in Modern Machine Learningcited by 496
- 2017Interpretation of Neural Networks is Fragilecited by 444
30 more
- 2018Actionable Recourse in Linear Classificationcited by 328
- 2018Explanations based on the Missing: Towards Contrastive Explanations with Pertinent Negativescited by 262
- 2019FACE: Feasible and Actionable Counterfactual Explanationscited by 233
- 2019Interpretable Counterfactual Explanations Guided by Prototypescited by 223
- 2019Explanations can be manipulated and geometry is to blamecited by 216
- 2018Adversarial Robustness Toolbox v1.0.0cited by 215
- 2018Local Rule-Based Explanations of Black Box Decision Systemscited by 166
- 2019Predictive Multiplicity in Classificationcited by 166
- 2019Deep ReLU Networks Have Surprisingly Few Activation Patternscited by 161
- 2020Multi-Objective Counterfactual Explanationscited by 157
- 2017EAD: Elastic-Net Attacks to Deep Neural Networks via Adversarial Examplescited by 155
- 2019Learning Model-Agnostic Counterfactual Explanations for Tabular Datacited by 146
- 2019Preserving Causal Constraints in Counterfactual Explanations for Machine Learning Classifierscited by 144
- 2020Algorithmic recourse under imperfect causal knowledge: a probabilistic approachcited by 140
- 2019Towards Realistic Individual Recourse and Actionable Explanations in Black-Box Decision Making Systemscited by 131
- 2019The Hidden Assumptions Behind Counterfactual Explanations and Principal Reasonscited by 115
- 2019Fooling Neural Network Interpretations via Adversarial Model Manipulationcited by 112
- 2020Good Counterfactuals and Where to Find Them: A Case-Based Technique for Generating Counterfactuals for Explainable AI (XAI)cited by 79
- 2020On Counterfactual Explanations under Predictive Multiplicitycited by 74
- 2018Provable Robustness of ReLU networks via Maximization of Linear Regionscited by 51
- 2018Interpretable Credit Application Predictions With Counterfactual Explanationscited by 43
- 2020Smoothed Geometry for Robust Attributioncited by 38
- 2021Leave-one-out Unfairnesscited by 36
- 2018Influence-Directed Explanations for Deep Convolutional Networkscited by 31
- 2019Issues with post-hoc counterfactual explanations: a discussioncited by 30
- 2019E.T.-RNN: Applying Deep Learning to Credit Loan Applicationscited by 26
- 2019Provable Certificates for Adversarial Examples: Fitting a Ball in the Union of Polytopescited by 25
- 2020Semantics and explanation: why counterfactual explanations produce adversarial examples in deep neural networkscited by 24
- 2016Generalized Inverse Classificationcited by 22
- 2020Fast Geometric Projections for Local Robustness Certificationcited by 21
Built on by
Citing papers per year: 2021: 2; 2022: 6; 2023: 7; 2024: 12; 2025: 8; 2026: 2.
37 papers.
Sort:
By area:
- 2021On the Adversarial Robustness of Causal Algorithmic Recoursecited by 56
- 2022Robust Counterfactual Explanations for Tree-Based Ensemblescited by 49
- 2023Robust Counterfactual Explanations for Neural Networks With Probabilistic Guaranteescited by 45
- 2022Probabilistically Robust Recourse: Navigating the Trade-offs between Costs and Robustness in Algorithmic Recoursecited by 40
- 2021A Survey on the Robustness of Feature Importance and Counterfactual Explanationscited by 39
- 2024Robust Counterfactual Explanations in Machine Learning: A Surveycited by 29
- 2022Attribution-based Explanations that Provide Recourse Cannot be Robustcited by 20
- 2022On the Trade-Off between Actionable Explanations and the Right to be Forgottencited by 20
- 2023Provably Robust and Plausible Counterfactual Explanations for Neural Networks via Robust Optimisationcited by 20
- 2023Finding Regions of Counterfactual Explanations via Robust Optimizationcited by 19
- 2023Recourse under Model Multiplicity via Argumentative Ensembling (Technical Report)cited by 15
- 2024Model Reconstruction Using Counterfactual Explanations: A Perspective From Polytope Theorycited by 14
25 more
- 2023Generating robust counterfactual explanationscited by 13
- 2023Distributionally Robust Recourse Actioncited by 12
- 2022RoCourseNet: Distributionally Robust Training of a Prediction Aware Recourse Modelcited by 11
- 2025Be Intentional About Fairness!: Fairness, Size, and Multiplicity in the Rashomon Setcited by 10
- 2025Performative Validity of Recourse Explanationscited by 8
- 2024Interval Abstractions for Robust Counterfactual Explanationscited by 7
- 2022Boundary-Aware Uncertainty for Feature Attribution Explainerscited by 6
- 2023Flexible and Robust Counterfactual Explanations with Minimal Satisfiable Perturbationscited by 6
- 2024Quantifying Prediction Consistency Under Fine-Tuning Multiplicity in Tabular LLMscited by 6
- 2024Rigorous Probabilistic Guarantees for Robust Counterfactual Explanationscited by 6
- 2024Procedural Adherence and Interpretability Through Neuro-Symbolic Generative Agentscited by 5
- 2024The Gaussian Discriminant Variational Autoencoder (GdVAE): A Self-Explainable Model with Counterfactual Explanationscited by 5
- 2025Counterfactual Explanations for Model Ensembles Using Entropic Risk Measurescited by 5
- 2025From Search To Sampling: Generative Models For Robust Algorithmic Recoursecited by 5
- 2024Trust Regions for Explanations via Black-Box Probabilistic Certificationcited by 4
- 2024Learning-Augmented Robust Algorithmic Recoursecited by 4
- 2025Optimal Robust Recourse with Lp-Bounded Model Changecited by 3
- 2024Verified Training for Counterfactual Explanation Robustness under Data Shiftcited by 2
- 2024Generally-Occurring Model Change for Robust Counterfactual Explanationscited by 2
- 2024Rethinking Distance Metrics for Counterfactual Explainabilitycited by 1
- 2025Argumentative Ensembling for Robust Recourse under Model Multiplicitycited by 1
- 2025On Arbitrary Predictions from Equally Valid Modelscited by 1
- 2025Causality and "In-the-Wild" Video-Based Person Re-ID: A Surveycited by 0
- 2026The Impact of Machine Learning Uncertainty on the Robustness of Counterfactual Explanationscited by 0
- 2026RecourseBench: A Modular Framework for Reproducible Algorithmic Recourse Evaluationcited by 0
- 2026RecourseBench: A Modular Framework for Reproducible Algorithmic Recourse Evaluation15 Jun 2026
- 2026The Impact of Machine Learning Uncertainty on the Robustness of Counterfactual Explanations20 Jan 2026
- 2025Optimal Robust Recourse with Lp-Bounded Model Change25 Sep 2025
- 2025On Arbitrary Predictions from Equally Valid Models25 Jul 2025
- 2025Argumentative Ensembling for Robust Recourse under Model Multiplicity25 Jun 2025
- 2025Performative Validity of Recourse Explanations18 Jun 2025
- 2025Causality and "In-the-Wild" Video-Based Person Re-ID: A Survey26 May 2025
- 2025From Search To Sampling: Generative Models For Robust Algorithmic Recourse12 May 2025
- 2025Counterfactual Explanations for Model Ensembles Using Entropic Risk Measures11 Mar 2025
- 2025Be Intentional About Fairness!: Fairness, Size, and Multiplicity in the Rashomon Set26 Jan 2025
- 2024Rethinking Distance Metrics for Counterfactual Explainability18 Oct 2024
- 2024Learning-Augmented Robust Algorithmic Recourse2 Oct 2024
25 more
- 2024The Gaussian Discriminant Variational Autoencoder (GdVAE): A Self-Explainable Model with Counterfactual Explanations19 Sep 2024
- 2024Generally-Occurring Model Change for Robust Counterfactual Explanations16 Jul 2024
- 2024Rigorous Probabilistic Guarantees for Robust Counterfactual Explanations10 Jul 2024
- 2024Quantifying Prediction Consistency Under Fine-Tuning Multiplicity in Tabular LLMs4 Jul 2024
- 2024Model Reconstruction Using Counterfactual Explanations: A Perspective From Polytope Theory8 May 2024
- 2024Interval Abstractions for Robust Counterfactual Explanations21 Apr 2024
- 2024Verified Training for Counterfactual Explanation Robustness under Data Shift6 Mar 2024
- 2024Procedural Adherence and Interpretability Through Neuro-Symbolic Generative Agents24 Feb 2024
- 2024Trust Regions for Explanations via Black-Box Probabilistic Certification17 Feb 2024
- 2024Robust Counterfactual Explanations in Machine Learning: A Survey2 Feb 2024
- 2023Recourse under Model Multiplicity via Argumentative Ensembling (Technical Report)22 Dec 2023
- 2023Provably Robust and Plausible Counterfactual Explanations for Neural Networks via Robust Optimisation22 Sep 2023
- 2023Flexible and Robust Counterfactual Explanations with Minimal Satisfiable Perturbations9 Sep 2023
- 2023Robust Counterfactual Explanations for Neural Networks With Probabilistic Guarantees19 May 2023
- 2023Generating robust counterfactual explanations24 Apr 2023
- 2023Distributionally Robust Recourse Action22 Feb 2023
- 2023Finding Regions of Counterfactual Explanations via Robust Optimization26 Jan 2023
- 2022Boundary-Aware Uncertainty for Feature Attribution Explainers5 Oct 2022
- 2022On the Trade-Off between Actionable Explanations and the Right to be Forgotten30 Aug 2022
- 2022Robust Counterfactual Explanations for Tree-Based Ensembles6 Jul 2022
- 2022RoCourseNet: Distributionally Robust Training of a Prediction Aware Recourse Model1 Jun 2022
- 2022Attribution-based Explanations that Provide Recourse Cannot be Robust31 May 2022
- 2022Probabilistically Robust Recourse: Navigating the Trade-offs between Costs and Robustness in Algorithmic Recourse13 Mar 2022
- 2021On the Adversarial Robustness of Causal Algorithmic Recourse21 Dec 2021
- 2021A Survey on the Robustness of Feature Importance and Counterfactual Explanations30 Oct 2021
- 2021On the Adversarial Robustness of Causal Algorithmic Recoursecited by 56
- 2022Robust Counterfactual Explanations for Tree-Based Ensemblescited by 49
- 2023Robust Counterfactual Explanations for Neural Networks With Probabilistic Guaranteescited by 45
- 2022Probabilistically Robust Recourse: Navigating the Trade-offs between Costs and Robustness in Algorithmic Recoursecited by 40
- 2021A Survey on the Robustness of Feature Importance and Counterfactual Explanationscited by 39
- 2024Robust Counterfactual Explanations in Machine Learning: A Surveycited by 29
- 2022Attribution-based Explanations that Provide Recourse Cannot be Robustcited by 20
- 2022On the Trade-Off between Actionable Explanations and the Right to be Forgottencited by 20
- 2023Provably Robust and Plausible Counterfactual Explanations for Neural Networks via Robust Optimisationcited by 20
- 2023Finding Regions of Counterfactual Explanations via Robust Optimizationcited by 19
- 2023Recourse under Model Multiplicity via Argumentative Ensembling (Technical Report)cited by 15
- 2024Model Reconstruction Using Counterfactual Explanations: A Perspective From Polytope Theorycited by 14
12 most cited of 36 All 36 (JSON)
- 2026RecourseBench: A Modular Framework for Reproducible Algorithmic Recourse Evaluation15 Jun 2026
- 2026The Impact of Machine Learning Uncertainty on the Robustness of Counterfactual Explanations20 Jan 2026
- 2025Optimal Robust Recourse with Lp-Bounded Model Change25 Sep 2025
- 2025On Arbitrary Predictions from Equally Valid Models25 Jul 2025
- 2025Argumentative Ensembling for Robust Recourse under Model Multiplicity25 Jun 2025
- 2025Performative Validity of Recourse Explanations18 Jun 2025
- 2025Causality and "In-the-Wild" Video-Based Person Re-ID: A Survey26 May 2025
- 2025From Search To Sampling: Generative Models For Robust Algorithmic Recourse12 May 2025
- 2025Counterfactual Explanations for Model Ensembles Using Entropic Risk Measures11 Mar 2025
- 2025Be Intentional About Fairness!: Fairness, Size, and Multiplicity in the Rashomon Set26 Jan 2025
- 2024Rethinking Distance Metrics for Counterfactual Explainability18 Oct 2024
- 2024Learning-Augmented Robust Algorithmic Recourse2 Oct 2024
12 newest of 36 All 36 (JSON)