mlsanityData to 7 Oct 2026

Good Counterfactuals and Where to Find Them: A Case-Based Technique for Generating Counterfactuals for Explainable AI (XAI)

arXiv 2005.13997 ↗First posted 26 May 2020cs.AIcited by 79

Not on the map. Why?

Abstract (arXiv)

Recently, a groundswell of research has identified the use of counterfactual explanations as a potentially significant solution to the Explainable AI (XAI) problem. It is argued that (a) technically, these counterfactual cases can be generated by permuting problem-features until a class change is found, (b) psychologically, they are much more causally informative than factual explanations, (c) legally, they are GDPR-compliant. However, there are issues around the finding of good counterfactuals using current techniques (e.g. sparsity and plausibility). We show that many commonly-used datasets appear to have few good counterfactuals for explanation purposes. So, we propose a new case based approach for generating counterfactuals using novel ideas about the counterfactual potential and explanatory coverage of a case-base. The new technique reuses patterns of good counterfactuals, present in a case-base, to generate analogous counterfactuals that can explain new problems and their solutions. Several experiments show how this technique can improve the counterfactual potential and explanatory coverage of case-bases that were previously found wanting.

Key facts. Cited by 79 papers in the map (data through 7 Oct 2026). First posted on arXiv 26 May 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 19; 2022: 18; 2023: 17; 2024: 12; 2025: 10; 2026: 3.

79 papers.

Sort:

  1. 2021If Only We Had Better Counterfactual Explanations: Five Key Deficits to Rectify in the Evaluation of Counterfactual XAI Techniquescited by 82
  2. 2021NICE: An Algorithm for Nearest Instance Counterfactual Explanationscited by 62
  3. 2021Counterfactuals and Causability in Explainable Artificial Intelligence: Theory, Algorithms, and Applicationscited by 59
  4. 2021Consistent Counterfactuals for Deep Modelscited by 37
  5. 2022On the Robustness of Sparse Counterfactual Explanations to Adverse Perturbationscited by 32
  6. 2021Exploring the Efficacy of Automatically Generated Counterfactuals for Sentiment Analysiscited by 30
  7. 2021Amortized Generation of Sequential Algorithmic Recourses for Black-box Modelscited by 24
  8. 2022The privacy issue of counterfactual explanations: explanation linkage attackscited by 20
  9. 2022Seamful XAI: Operationalizing Seamful Design in Explainable AIcited by 20
  10. 2023Even if Explanations: Prior Work, Desiderata & Benchmarks for Semi-Factual XAIcited by 20
  11. 2021A Few Good Counterfactuals: Generating Interpretable, Plausible and Diverse Counterfactual Explanationscited by 19
  12. 2021Uncertainty Estimation and Out-of-Distribution Detection for Counterfactual Explanations: Pitfalls and Solutionscited by 16
38 more
  1. 2022Features of Explainability: How users understand counterfactual and causal explanations for categorical and continuous features in XAIcited by 16
  2. 2022Adapting and Evaluating Influence-Estimation Methods for Gradient-Boosted Decision Treescited by 16
  3. 2021DiCE4EL: Interpreting Process Predictions using a Milestone-Aware Counterfactual Approachcited by 13
  4. 2022Differentially Private Counterfactuals via Functional Mechanismcited by 13
  5. 2023Natural Example-Based Explainability: a Surveycited by 13
  6. 2022Counterfactual Explanations for Misclassified Images: How Human and Machine Explanations Differcited by 12
  7. 2024Explainable Artificial Intelligence for Medical Applications: A Reviewcited by 12
  8. 2022Generating Sparse Counterfactual Explanations For Multivariate Time Seriescited by 11
  9. 2024Probabilistically Plausible Counterfactual Explanations with Normalizing Flowscited by 11
  10. 2021DisCERN:Discovering Counterfactual Explanations using Relevance Features from Neighbourhoodscited by 10
  11. 2022Identifying Spurious Correlations and Correcting them with an Explanation-based Learningcited by 10
  12. 2021Algorithmic Factors Influencing Bias in Machine Learningcited by 9
  13. 2023GAM Coach: Towards Interactive and User-centered Algorithmic Recoursecited by 9
  14. 2023Explaining Groups of Instances Counterfactually for XAI: A Use Case, Algorithm and User Study for Group-Counterfactualscited by 9
  15. 2023EXPLAIN, EDIT, GENERATE: Rationale-Sensitive Counterfactual Data Augmentation for Multi-hop Fact Verificationcited by 9
  16. 2021Explainability-Aware One Point Attack for Point Cloud Neural Networkscited by 7
  17. 2021MCCE: Monte Carlo sampling of realistic counterfactual explanationscited by 7
  18. 2022Benchmarking Instance-Centric Counterfactual Algorithms for XAI: From White Box to Black Boxcited by 7
  19. 2025Towards Desiderata-Driven Design of Visual Counterfactual Explainerscited by 7
  20. 2022Galois theory for analogical classifierscited by 6
  21. 2024A Survey of Privacy-Preserving Model Explanations: Privacy Risks, Attacks, and Countermeasurescited by 6
  22. 2021Improving Users' Mental Model with Attention-directed Counterfactual Editscited by 5
  23. 2022Framing Algorithmic Recourse for Anomaly Detectioncited by 5
  24. 2023Navigating Explanatory Multiverse Through Counterfactual Path Geometrycited by 5
  25. 2023Designing User-Centric Behavioral Interventions to Prevent Dysglycemia with Novel Counterfactual Explanationscited by 5
  26. 2024Even-Ifs From If-Onlys: Are the Best Semi-Factual Explanations Found Using Counterfactuals As Guides?cited by 5
  27. 2024A Two-Stage Algorithm for Cost-Efficient Multi-instance Counterfactual Explanationscited by 5
  28. 2024CountARFactuals -- Generating plausible model-agnostic counterfactual explanations with adversarial random forestscited by 5
  29. 2022Improving Model Understanding and Trust with Counterfactual Explanations of Model Confidencecited by 4
  30. 2023Explaining Model Confidence Using Counterfactualscited by 4
  31. 2026What-If Explanations Over Time: Counterfactuals for Time Series Classificationcited by 4
  32. 2021Twin Systems for DeepCBR: A Menagerie of Deep Learning and Case-Based Reasoning Pairings for Explanation and Data Augmentationcited by 3
  33. 2023Disagreement amongst counterfactual explanations: How transparency can be deceptivecited by 3
  34. 2023For Better or Worse: The Impact of Counterfactual Explanations' Directionality on User Behavior in xAIcited by 3
  35. 2023Ensemble of Counterfactual Explainerscited by 3
  36. 2021Predicting Illness for a Sustainable Dairy Agriculture: Predicting and Explaining the Onset of Mastitis in Dairy Cowscited by 2
  37. 2021Handling Climate Change Using Counterfactuals: Using Counterfactuals in Data Augmentation to Predict Crop Growth in an Uncertain Climate Futurecited by 2
  38. 2022Realistic Counterfactual Explanations with Learned Relationscited by 2

50 most cited of 79 All 79 (JSON)