mlsanityData to 7 Oct 2026

Explaining Black-Box Algorithms Using Probabilistic Contrastive Counterfactuals

arXiv 2103.11972 ↗First posted 22 Mar 2021cs.AI cs.DB cs.LGcited by 55

Not on the map. Why?

Abstract (arXiv)

There has been a recent resurgence of interest in explainable artificial intelligence (XAI) that aims to reduce the opaqueness of AI-based decision-making systems, allowing humans to scrutinize and trust them. Prior work in this context has focused on the attribution of responsibility for an algorithm's decisions to its inputs wherein responsibility is typically approached as a purely associational concept. In this paper, we propose a principled causality-based approach for explaining black-box decision-making systems that addresses limitations of existing methods in XAI. At the core of our framework lies probabilistic contrastive counterfactuals, a concept that can be traced back to philosophical, cognitive, and social foundations of theories on how humans generate and select explanations. We show how such counterfactuals can quantify the direct and indirect influences of a variable on decisions made by an algorithm, and provide actionable recourse for individuals negatively affected by the algorithm's decision. Unlike prior work, our system, LEWIS: (1)can compute provably effective explanations and recourse at local, global and contextual levels (2)is designed to work with users with varying levels of background knowledge of the underlying causal model and (3)makes no assumptions about the internals of an algorithmic system except for the availability of its input-output data. We empirically evaluate LEWIS on three real-world datasets and show that it generates human-understandable explanations that improve upon state-of-the-art approaches in XAI, including the popular LIME and SHAP. Experiments on synthetic data further demonstrate the correctness of LEWIS's explanations and the scalability of its recourse algorithm.

Key facts. Cited by 55 papers in the map (data through 7 Oct 2026). Builds on 42 of its 104 references that are in the map. First posted on arXiv 22 Mar 2021.

Builds on

42 of 104 references.

References · 42

  1. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  2. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  3. 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,201
  4. 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
  5. 2018A Survey Of Methods For Explaining Black Box Modelscited by 970
  6. 2017Counterfactual Fairnesscited by 802
  7. 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 612
  8. 2019Fooling LIME and SHAP: Adversarial Attacks on Post hoc Explanation Methodscited by 440
  9. 2018Actionable Recourse in Linear Classificationcited by 327
  10. 2018On the Robustness of Interpretability Methodscited by 310
  11. 2018Consistent Individualized Feature Attribution for Tree Ensemblescited by 279
  12. 2013Direct and Indirect Effectscited by 276
30 more
  1. 2018Explanations based on the Missing: Towards Contrastive Explanations with Pertinent Negativescited by 261
  2. 2019Interpretable Counterfactual Explanations Guided by Prototypescited by 223
  3. 2016Visualizing the Effects of Predictor Variables in Black Box Supervised Learning Modelscited by 212
  4. 2019Explaining individual predictions when features are dependent: More accurate approximations to Shapley valuescited by 205
  5. 2019Model-Agnostic Counterfactual Explanations for Consequential Decisionscited by 204
  6. 2020Problems with Shapley-value-based explanations as feature importance measurescited by 198
  7. 2017Avoiding Discrimination through Causal Reasoningcited by 191
  8. 2018Path-Specific Counterfactual Fairnesscited by 179
  9. 2017Fair Inference On Outcomescited by 143
  10. 2019Preserving Causal Constraints in Counterfactual Explanations for Machine Learning Classifierscited by 143
  11. 2020Algorithmic recourse under imperfect causal knowledge: a probabilistic approachcited by 139
  12. 2018Explaining Explanations in AIcited by 136
  13. 2018A Symbolic Approach to Explaining Bayesian Network Classifierscited by 130
  14. 2019Towards Realistic Individual Recourse and Actionable Explanations in Black-Box Decision Making Systemscited by 128
  15. 2017Fairness Testing: Testing Software for Discriminationcited by 123
  16. 2020A survey of algorithmic recourse: definitions, formulations, solutions, and prospectscited by 118
  17. 2019The Hidden Assumptions Behind Counterfactual Explanations and Principal Reasonscited by 115
  18. 2019Asymmetric Shapley values: incorporating causal knowledge into model-agnostic explainabilitycited by 114
  19. 2020On The Reasons Behind Decisionscited by 99
  20. 2019Strategic Classification is Causal Modeling in Disguisecited by 92
  21. 2013Probabilities of Causation: Bounds and Identificationcited by 89
  22. 2020Towards Unifying Feature Attribution and Counterfactual Explanations: Different Means to the Same Endcited by 66
  23. 2018A Simple and Effective Model-Based Variable Importance Measurecited by 50
  24. 2017Inverse Classification for Comparison-based Interpretability in Machine Learningcited by 49
  25. 2016Auditing Black-box Models for Indirect Influencecited by 41
  26. 2019Generative Counterfactual Introspection for Explainable Deep Learningcited by 36
  27. 2020Causality-based Explanation of Classification Outcomescited by 25
  28. 2020Causal Relational Learningcited by 13
  29. 2019The Explanation Game: Explaining Machine Learning Models Using Shapley Valuescited by 8
  30. 2019Capuchin: Causal Database Repair for Algorithmic Fairnesscited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 8; 2022: 11; 2023: 12; 2024: 14; 2025: 6; 2026: 4.

55 papers.

Sort:

  1. 2021Desiderata for Representation Learning: A Causal Perspectivecited by 76
  2. 2021Local Explanations via Necessity and Sufficiency: Unifying Theory and Practicecited by 45
  3. 2021Interpretable Data-Based Explanations for Fairness Debuggingcited by 30
  4. 2022Causal Explanations and XAIcited by 30
  5. 2022Are All Spurious Features in Natural Language Alike? An Analysis through a Causal Lenscited by 28
  6. 2023Towards Trustworthy Explanation: On Causal Rationalizationcited by 19
  7. 2021Estimating Categorical Counterfactuals via Deep Twin Networkscited by 18
  8. 2022Necessity and Sufficiency for Explaining Text Classifiers: A Case Study in Hate Speech Detectioncited by 18
  9. 2023Counterfactual (Non-)identifiability of Learned Structural Causal Modelscited by 17
  10. 2023Learning by Self-Explainingcited by 17
  11. 2023The role of causality in explainable artificial intelligencecited by 17
  12. 2023A Critical Survey on Fairness Benefits of Explainable AIcited by 16
38 more
  1. 2023Partial Counterfactual Identification of Continuous Outcomes with a Curvature Sensitivity Modelcited by 14
  2. 2022On the Probability of Necessity and Sufficiency of Explaining Graph Neural Networks: A Lower Bound Optimization Approachcited by 11
  3. 2023Axiomatic Aggregations of Abductive Explanationscited by 10
  4. 2022XInsight: eXplainable Data Analysis Through The Lens of Causalitycited by 9
  5. 2021AI Explainability 360: Impact and Designcited by 8
  6. 2023Efficient Computation of Counterfactual Boundscited by 8
  7. 2024OTClean: Data Cleaning for Conditional Independence Violations using Optimal Transportcited by 8
  8. 2024Probabilities of Causation for Continuous and Vector Variablescited by 8
  9. 2024Feature Responsiveness Scores: Model-Agnostic Explanations for Recoursecited by 8
  10. 2021Convex optimization for actionable & plausible counterfactual explanationscited by 6
  11. 2023Generative Perturbation Analysis for Probabilistic Black-Box Anomaly Attributioncited by 6
  12. 2024Feature Attribution with Necessity and Sufficiency via Dual-stage Perturbation Test for Causal Explanationcited by 6
  13. 2022Explaining Image Classifiers Using Contrastive Counterfactuals in Generative Latent Spacescited by 4
  14. 2022Combining Counterfactuals With Shapley Values To Explain Image Modelscited by 4
  15. 2022Explainability's Gain is Optimality's Loss? -- How Explanations Bias Decision-makingcited by 4
  16. 2021Augmenting Decision Making via Interactive What-If Analysiscited by 3
  17. 2023Concept-Based Explanations to Test for False Causal Relationships Learned by Abusive Language Classifierscited by 3
  18. 2024Unifying Invariance and Spuriousity for Graph Out-of-Distribution via Probability of Necessity and Sufficiencycited by 3
  19. 2024On Explaining Unfairness: An Overviewcited by 3
  20. 2024Intervention and Conditioning in Causal Bayesian Networkscited by 3
  21. 2022A General Search-based Framework for Generating Textual Counterfactual Explanationscited by 2
  22. 2024Are Objective Explanatory Evaluation metrics Trustworthy? An Adversarial Analysiscited by 2
  23. 2024Unifying Invariant and Variant Features for Graph Out-of-Distribution via Probability of Necessity and Sufficiencycited by 2
  24. 2025Causal DAG Summarization (Full Version)cited by 2
  25. 2021Model Explanations via the Axiomatic Causal Lenscited by 1
  26. 2022Can counterfactual explanations of AI systems' predictions skew lay users' causal intuitions about the world? If so, can we correct for that?cited by 1
  27. 2022FIND:Explainable Framework for Meta-learningcited by 1
  28. 2024Example-based Explanations for Random Forests using Machine Unlearningcited by 1
  29. 2025Learning Probabilities of Causation with Mask-Augmented Datacited by 1
  30. 2026VISTA: Knowledge-Driven Vessel Trajectory Imputation with Repair Provenancecited by 1
  31. 2026A unified framework for evaluating the robustness of machine-learning interpretability for prospect riskingcited by 1
  32. 2023A Vision for Semantically Enriched Data Sciencecited by 0
  33. 2023On the Connection between Game-Theoretic Feature Attributions and Counterfactual Explanationscited by 0
  34. 2024Counterfactual Explanations of Black-box Machine Learning Models using Causal Discovery with Applications to Credit Ratingcited by 0
  35. 2024The Duet of Representations and How Explanations Exacerbate Itcited by 0
  36. 2024Dynamic Explanation Emphasis in Human-XAI Interaction with Communication Robotcited by 0
  37. 2024Should XAI Nudge Human Decisions with Explanation Biasing?cited by 0
  38. 2025Am I Being Treated Fairly? A Conceptual Framework for Individuals to Ascertain Fairnesscited by 0

50 most cited of 55 All 55 (JSON)