mlsanityData to 14 Oct 2026

On the Robustness of Sparse Counterfactual Explanations to Adverse Perturbations

arXiv 2201.09051 ↗First posted 22 Jan 2022cs.LGcited by 32

Not on the map. Why?

Abstract (arXiv)

Counterfactual explanations (CEs) are a powerful means for understanding how decisions made by algorithms can be changed. Researchers have proposed a number of desiderata that CEs should meet to be practically useful, such as requiring minimal effort to enact, or complying with causal models. We consider a further aspect to improve the usability of CEs: robustness to adverse perturbations, which may naturally happen due to unfortunate circumstances. Since CEs typically prescribe a sparse form of intervention (i.e., only a subset of the features should be changed), we study the effect of addressing robustness separately for the features that are recommended to be changed and those that are not. Our definitions are workable in that they can be incorporated as penalty terms in the loss functions that are used for discovering CEs. To experiment with robustness, we create and release code where five data sets (commonly used in the field of fair and explainable machine learning) have been enriched with feature-specific annotations that can be used to sample meaningful perturbations. Our experiments show that CEs are often not robust and, if adverse perturbations take place (even if not worst-case), the intervention they prescribe may require a much larger cost than anticipated, or even become impossible. However, accounting for robustness in the search process, which can be done rather easily, allows discovering robust CEs systematically. Robust CEs make additional intervention to contrast perturbations much less costly than non-robust CEs. We also find that robustness is easier to achieve for the features to change, posing an important point of consideration for the choice of what counterfactual explanation is best for the user. Our code is available at: https://github.com/marcovirgolin/robust-counterfactuals.

Key facts. Cited by 32 papers in the map (data through 14 Oct 2026). Builds on 34 of its 71 references that are in the map. First posted on arXiv 22 Jan 2022.

Builds on

34 of 71 references.

References · 34

  1. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  2. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
  3. 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,089
  4. 2018A Survey Of Methods For Explaining Black Box Modelscited by 973
  5. 2018Reconciling modern machine learning practice and the bias-variance trade-offcited by 927
  6. 2018This Looks Like That: Deep Learning for Interpretable Image Recognitioncited by 737
  7. 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 672
  8. 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 614
  9. 2021Retiring Adult: New Datasets for Fair Machine Learningcited by 449
  10. 2017Preventing Fairness Gerrymandering: Auditing and Learning for Subgroup Fairnesscited by 384
  11. 2016European Union regulations on algorithmic decision-making and a "right to explanation"cited by 344
  12. 2018Explanations based on the Missing: Towards Contrastive Explanations with Pertinent Negativescited by 262
22 more
  1. 2020Algorithmic Recourse: from Counterfactual Explanations to Interventionscited by 250
  2. 2019Interpretable Counterfactual Explanations Guided by Prototypescited by 223
  3. 2018Local Rule-Based Explanations of Black Box Decision Systemscited by 166
  4. 2020Multi-Objective Counterfactual Explanationscited by 157
  5. 2020Algorithmic recourse under imperfect causal knowledge: a probabilistic approachcited by 140
  6. 2019The Hidden Assumptions Behind Counterfactual Explanations and Principal Reasonscited by 115
  7. 2021Counterfactual Explanations Can Be Manipulatedcited by 113
  8. 2019Artificial Intelligence: the global landscape of ethics guidelinescited by 107
  9. 2019The Dangers of Post-hoc Interpretability: Unjustified Counterfactual Explanationscited by 97
  10. 2020Good Counterfactuals and Where to Find Them: A Case-Based Technique for Generating Counterfactuals for Explainable AI (XAI)cited by 79
  11. 2020On Counterfactual Explanations under Predictive Multiplicitycited by 74
  12. 2021On the Adversarial Robustness of Causal Algorithmic Recoursecited by 56
  13. 2021Exploring Counterfactual Explanations Through the Lens of Adversarial Examples: A Theoretical and Empirical Analysiscited by 52
  14. 2020The Intriguing Relation Between Counterfactual Explanations and Adversarial Examplescited by 44
  15. 2021Evaluating Robustness of Counterfactual Explanationscited by 41
  16. 2020Algorithmic Recourse in the Wild: Understanding the Impact of Data and Model Shiftscited by 36
  17. 2019Imperceptible Adversarial Attacks on Tabular Datacited by 35
  18. 2018Interpreting Neural Network Judgments via Minimal, Stable, and Symbolic Correctionscited by 19
  19. 2021Model Learning with Personalized Interpretability Estimation (ML-PIE)cited by 9
  20. 2020Genetic programming approaches to learning fair classifierscited by 7
  21. 2021Distances with mixed type variables some modified Gower's coefficientscited by 3
  22. 2020A Series of Unfortunate Counterfactual Events: the Role of Time in Counterfactual Explanationscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 2; 2023: 10; 2024: 11; 2025: 4; 2026: 5.

32 papers.

Sort:

By area:

  1. 2022Leveraging Explanations in Interactive Machine Learning: An Overviewcited by 53
  2. 2023Adversarial attacks and defenses in explainable artificial intelligence: A surveycited by 48
  3. 2024Robust Counterfactual Explanations in Machine Learning: A Surveycited by 29
  4. 2023Finding Regions of Counterfactual Explanations via Robust Optimizationcited by 19
  5. 2023Generating robust counterfactual explanationscited by 13
  6. 2023Setting the Right Expectations: Algorithmic Recourse Over Timecited by 13
  7. 2024Counterfactual Explanations with Probabilistic Guarantees on their Robustness to Model Changecited by 10
  8. 2022A.I. Robustness: a Human-Centered Perspective on Technological Challenges and Opportunitiescited by 9
  9. 2023The Risks of Recourse in Binary Classificationcited by 8
  10. 2023The Utility of "Even if..." Semifactual Explanation to Optimise Positive Outcomescited by 8
  11. 2024Contrastive Learning with Counterfactual Explanations for Radiology Report Generationcited by 8
  12. 2024Time Can Invalidate Algorithmic Recoursecited by 8
20 more
  1. 2024Interval Abstractions for Robust Counterfactual Explanationscited by 7
  2. 2023Flexible and Robust Counterfactual Explanations with Minimal Satisfiable Perturbationscited by 6
  3. 2024The Effect of Data Poisoning on Counterfactual Explanationscited by 3
  4. 2023TraCE: Trajectory Counterfactual Explanation Scorescited by 2
  5. 2024Perfect Counterfactuals in Imperfect Worlds: Modelling Noisy Implementation of Actions in Sequential Algorithmic Recoursecited by 2
  6. 2025Factor Graph-based Interpretable Neural Networkscited by 2
  7. 2023Iterative Partial Fulfillment of Counterfactual Explanations: Benefits and Riskscited by 1
  8. 2023T-COL: Generating Counterfactual Explanations for General User Preferences on Variable Machine Learning Systemscited by 1
  9. 2024Introducing User Feedback-based Counterfactual Explanations (UFCE)cited by 1
  10. 2024Weak Robust Compatibility Between Learning Algorithms and Counterfactual Explanation Generation Algorithmscited by 1
  11. 2025Understanding Fixed Predictions via Confined Regionscited by 1
  12. 2024A Framework for Feasible Counterfactual Exploration incorporating Causality, Sparsity and Densitycited by 0
  13. 2024Improving Decision Sparsitycited by 0
  14. 2025DiCE-Extended: A Robust Approach to Counterfactual Explanations in Machine Learningcited by 0
  15. 2025RealAC: A Domain-Agnostic Framework for Realistic and Actionable Counterfactual Explanationscited by 0
  16. 2026Structure-Aware Robust Counterfactual Explanations via Conditional Gaussian Network Classifierscited by 0
  17. 2026RecourseBench: A Modular Framework for Reproducible Algorithmic Recourse Evaluationcited by 0
  18. 2026Taking the Whys Seriously: Limitations of Counterfactual Explanations in Justification and Recoursecited by 0
  19. 2026Explanations-Driven Active Feature Acquisition for Algorithmic Recoursecited by 0
  20. 2026FCx: An algorithm for finding Feasible Counterfactual Explanationscited by 0