Explaining Black-Box Algorithms Using Probabilistic Contrastive Counterfactuals
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
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,201
- 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
- 2018A Survey Of Methods For Explaining Black Box Modelscited by 970
- 2017Counterfactual Fairnesscited by 802
- 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 612
- 2019Fooling LIME and SHAP: Adversarial Attacks on Post hoc Explanation Methodscited by 440
- 2018Actionable Recourse in Linear Classificationcited by 327
- 2018On the Robustness of Interpretability Methodscited by 310
- 2018Consistent Individualized Feature Attribution for Tree Ensemblescited by 279
- 2013Direct and Indirect Effectscited by 276
30 more
- 2018Explanations based on the Missing: Towards Contrastive Explanations with Pertinent Negativescited by 261
- 2019Interpretable Counterfactual Explanations Guided by Prototypescited by 223
- 2016Visualizing the Effects of Predictor Variables in Black Box Supervised Learning Modelscited by 212
- 2019Explaining individual predictions when features are dependent: More accurate approximations to Shapley valuescited by 205
- 2019Model-Agnostic Counterfactual Explanations for Consequential Decisionscited by 204
- 2020Problems with Shapley-value-based explanations as feature importance measurescited by 198
- 2017Avoiding Discrimination through Causal Reasoningcited by 191
- 2018Path-Specific Counterfactual Fairnesscited by 179
- 2017Fair Inference On Outcomescited by 143
- 2019Preserving Causal Constraints in Counterfactual Explanations for Machine Learning Classifierscited by 143
- 2020Algorithmic recourse under imperfect causal knowledge: a probabilistic approachcited by 139
- 2018Explaining Explanations in AIcited by 136
- 2018A Symbolic Approach to Explaining Bayesian Network Classifierscited by 130
- 2019Towards Realistic Individual Recourse and Actionable Explanations in Black-Box Decision Making Systemscited by 128
- 2017Fairness Testing: Testing Software for Discriminationcited by 123
- 2020A survey of algorithmic recourse: definitions, formulations, solutions, and prospectscited by 118
- 2019The Hidden Assumptions Behind Counterfactual Explanations and Principal Reasonscited by 115
- 2019Asymmetric Shapley values: incorporating causal knowledge into model-agnostic explainabilitycited by 114
- 2020On The Reasons Behind Decisionscited by 99
- 2019Strategic Classification is Causal Modeling in Disguisecited by 92
- 2013Probabilities of Causation: Bounds and Identificationcited by 89
- 2020Towards Unifying Feature Attribution and Counterfactual Explanations: Different Means to the Same Endcited by 66
- 2018A Simple and Effective Model-Based Variable Importance Measurecited by 50
- 2017Inverse Classification for Comparison-based Interpretability in Machine Learningcited by 49
- 2016Auditing Black-box Models for Indirect Influencecited by 41
- 2019Generative Counterfactual Introspection for Explainable Deep Learningcited by 36
- 2020Causality-based Explanation of Classification Outcomescited by 25
- 2020Causal Relational Learningcited by 13
- 2019The Explanation Game: Explaining Machine Learning Models Using Shapley Valuescited by 8
- 2019Capuchin: Causal Database Repair for Algorithmic Fairnesscited by 6
Built on by
Citing papers per year: 2021: 8; 2022: 11; 2023: 12; 2024: 14; 2025: 6; 2026: 4.
55 papers.
Sort:
- 2021Desiderata for Representation Learning: A Causal Perspectivecited by 76
- 2021Local Explanations via Necessity and Sufficiency: Unifying Theory and Practicecited by 45
- 2021Interpretable Data-Based Explanations for Fairness Debuggingcited by 30
- 2022Causal Explanations and XAIcited by 30
- 2022Are All Spurious Features in Natural Language Alike? An Analysis through a Causal Lenscited by 28
- 2023Towards Trustworthy Explanation: On Causal Rationalizationcited by 19
- 2021Estimating Categorical Counterfactuals via Deep Twin Networkscited by 18
- 2022Necessity and Sufficiency for Explaining Text Classifiers: A Case Study in Hate Speech Detectioncited by 18
- 2023Counterfactual (Non-)identifiability of Learned Structural Causal Modelscited by 17
- 2023Learning by Self-Explainingcited by 17
- 2023The role of causality in explainable artificial intelligencecited by 17
- 2023A Critical Survey on Fairness Benefits of Explainable AIcited by 16
38 more
- 2023Partial Counterfactual Identification of Continuous Outcomes with a Curvature Sensitivity Modelcited by 14
- 2022On the Probability of Necessity and Sufficiency of Explaining Graph Neural Networks: A Lower Bound Optimization Approachcited by 11
- 2023Axiomatic Aggregations of Abductive Explanationscited by 10
- 2022XInsight: eXplainable Data Analysis Through The Lens of Causalitycited by 9
- 2021AI Explainability 360: Impact and Designcited by 8
- 2023Efficient Computation of Counterfactual Boundscited by 8
- 2024OTClean: Data Cleaning for Conditional Independence Violations using Optimal Transportcited by 8
- 2024Probabilities of Causation for Continuous and Vector Variablescited by 8
- 2024Feature Responsiveness Scores: Model-Agnostic Explanations for Recoursecited by 8
- 2021Convex optimization for actionable & plausible counterfactual explanationscited by 6
- 2023Generative Perturbation Analysis for Probabilistic Black-Box Anomaly Attributioncited by 6
- 2024Feature Attribution with Necessity and Sufficiency via Dual-stage Perturbation Test for Causal Explanationcited by 6
- 2022Explaining Image Classifiers Using Contrastive Counterfactuals in Generative Latent Spacescited by 4
- 2022Combining Counterfactuals With Shapley Values To Explain Image Modelscited by 4
- 2022Explainability's Gain is Optimality's Loss? -- How Explanations Bias Decision-makingcited by 4
- 2021Augmenting Decision Making via Interactive What-If Analysiscited by 3
- 2023Concept-Based Explanations to Test for False Causal Relationships Learned by Abusive Language Classifierscited by 3
- 2024Unifying Invariance and Spuriousity for Graph Out-of-Distribution via Probability of Necessity and Sufficiencycited by 3
- 2024On Explaining Unfairness: An Overviewcited by 3
- 2024Intervention and Conditioning in Causal Bayesian Networkscited by 3
- 2022A General Search-based Framework for Generating Textual Counterfactual Explanationscited by 2
- 2024Are Objective Explanatory Evaluation metrics Trustworthy? An Adversarial Analysiscited by 2
- 2024Unifying Invariant and Variant Features for Graph Out-of-Distribution via Probability of Necessity and Sufficiencycited by 2
- 2025Causal DAG Summarization (Full Version)cited by 2
- 2021Model Explanations via the Axiomatic Causal Lenscited by 1
- 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
- 2022FIND:Explainable Framework for Meta-learningcited by 1
- 2024Example-based Explanations for Random Forests using Machine Unlearningcited by 1
- 2025Learning Probabilities of Causation with Mask-Augmented Datacited by 1
- 2026VISTA: Knowledge-Driven Vessel Trajectory Imputation with Repair Provenancecited by 1
- 2026A unified framework for evaluating the robustness of machine-learning interpretability for prospect riskingcited by 1
- 2023A Vision for Semantically Enriched Data Sciencecited by 0
- 2023On the Connection between Game-Theoretic Feature Attributions and Counterfactual Explanationscited by 0
- 2024Counterfactual Explanations of Black-box Machine Learning Models using Causal Discovery with Applications to Credit Ratingcited by 0
- 2024The Duet of Representations and How Explanations Exacerbate Itcited by 0
- 2024Dynamic Explanation Emphasis in Human-XAI Interaction with Communication Robotcited by 0
- 2024Should XAI Nudge Human Decisions with Explanation Biasing?cited by 0
- 2025Am I Being Treated Fairly? A Conceptual Framework for Individuals to Ascertain Fairnesscited by 0
50 most cited of 55 All 55 (JSON)
- 2026Where MLLMs Fail and Why: Causal Task Decomposition for Capability Failure Diagnosis30 Sep 2026
- 2026Regional Explanations via Causal Sufficiency and Necessity16 Sep 2026
- 2026A unified framework for evaluating the robustness of machine-learning interpretability for prospect risking16 Feb 2026
- 2026VISTA: Knowledge-Driven Vessel Trajectory Imputation with Repair Provenance11 Jan 2026
- 2025A Framework for Causal Concept-based Model Explanations2 Dec 2025
- 2025Stress-Testing Causal Claims via Cardinality Repairs2 Dec 2025
- 2025Causal Explanations Over Time: Articulated Reasoning for Interactive Environments4 Jun 2025
- 2025Learning Probabilities of Causation with Mask-Augmented Data22 May 2025
- 2025Causal DAG Summarization (Full Version)21 Apr 2025
- 2025Am I Being Treated Fairly? A Conceptual Framework for Individuals to Ascertain Fairness3 Apr 2025
- 2024Feature Responsiveness Scores: Model-Agnostic Explanations for Recourse29 Oct 2024
- 2024Unifying Invariant and Variant Features for Graph Out-of-Distribution via Probability of Necessity and Sufficiency21 Jul 2024
38 more
- 2024Are Objective Explanatory Evaluation metrics Trustworthy? An Adversarial Analysis12 Jun 2024
- 2024Should XAI Nudge Human Decisions with Explanation Biasing?11 Jun 2024
- 2024Probabilities of Causation for Continuous and Vector Variables30 May 2024
- 2024Intervention and Conditioning in Causal Bayesian Networks23 May 2024
- 2024Dynamic Explanation Emphasis in Human-XAI Interaction with Communication Robot21 Mar 2024
- 2024OTClean: Data Cleaning for Conditional Independence Violations using Optimal Transport4 Mar 2024
- 2024On Explaining Unfairness: An Overview16 Feb 2024
- 2024Unifying Invariance and Spuriousity for Graph Out-of-Distribution via Probability of Necessity and Sufficiency14 Feb 2024
- 2024Feature Attribution with Necessity and Sufficiency via Dual-stage Perturbation Test for Causal Explanation13 Feb 2024
- 2024The Duet of Representations and How Explanations Exacerbate It13 Feb 2024
- 2024Example-based Explanations for Random Forests using Machine Unlearning7 Feb 2024
- 2024Counterfactual Explanations of Black-box Machine Learning Models using Causal Discovery with Applications to Credit Rating5 Feb 2024
- 2023A Critical Survey on Fairness Benefits of Explainable AI15 Oct 2023
- 2023Axiomatic Aggregations of Abductive Explanations29 Sep 2023
- 2023The role of causality in explainable artificial intelligence18 Sep 2023
- 2023Learning by Self-Explaining15 Sep 2023
- 2023Generative Perturbation Analysis for Probabilistic Black-Box Anomaly Attribution9 Aug 2023
- 2023Efficient Computation of Counterfactual Bounds17 Jul 2023
- 2023On the Connection between Game-Theoretic Feature Attributions and Counterfactual Explanations13 Jul 2023
- 2023Concept-Based Explanations to Test for False Causal Relationships Learned by Abusive Language Classifiers4 Jul 2023
- 2023Towards Trustworthy Explanation: On Causal Rationalization25 Jun 2023
- 2023Partial Counterfactual Identification of Continuous Outcomes with a Curvature Sensitivity Model2 Jun 2023
- 2023A Vision for Semantically Enriched Data Science2 Mar 2023
- 2023Counterfactual (Non-)identifiability of Learned Structural Causal Models22 Jan 2023
- 2022On the Probability of Necessity and Sufficiency of Explaining Graph Neural Networks: A Lower Bound Optimization Approach14 Dec 2022
- 2022A General Search-based Framework for Generating Textual Counterfactual Explanations1 Nov 2022
- 2022Are All Spurious Features in Natural Language Alike? An Analysis through a Causal Lens25 Oct 2022
- 2022XInsight: eXplainable Data Analysis Through The Lens of Causality26 Jul 2022
- 2022Explainability's Gain is Optimality's Loss? -- How Explanations Bias Decision-making17 Jun 2022
- 2022Combining Counterfactuals With Shapley Values To Explain Image Models14 Jun 2022
- 2022Explaining Image Classifiers Using Contrastive Counterfactuals in Generative Latent Spaces10 Jun 2022
- 2022FIND:Explainable Framework for Meta-learning20 May 2022
- 2022Can counterfactual explanations of AI systems' predictions skew lay users' causal intuitions about the world? If so, can we correct for that?12 May 2022
- 2022Necessity and Sufficiency for Explaining Text Classifiers: A Case Study in Hate Speech Detection6 May 2022
- 2022Causal Explanations and XAI31 Jan 2022
- 2021Interpretable Data-Based Explanations for Fairness Debugging17 Dec 2021
- 2021AI Explainability 360: Impact and Design24 Sep 2021
- 2021Augmenting Decision Making via Interactive What-If Analysis13 Sep 2021
50 newest of 55 All 55 (JSON)
- 2021Desiderata for Representation Learning: A Causal Perspectivecited by 76
- 2021Local Explanations via Necessity and Sufficiency: Unifying Theory and Practicecited by 45
- 2021Interpretable Data-Based Explanations for Fairness Debuggingcited by 30
- 2022Causal Explanations and XAIcited by 30
- 2022Are All Spurious Features in Natural Language Alike? An Analysis through a Causal Lenscited by 28
- 2023Towards Trustworthy Explanation: On Causal Rationalizationcited by 19
- 2021Estimating Categorical Counterfactuals via Deep Twin Networkscited by 18
- 2022Necessity and Sufficiency for Explaining Text Classifiers: A Case Study in Hate Speech Detectioncited by 18
- 2023Counterfactual (Non-)identifiability of Learned Structural Causal Modelscited by 17
- 2023Learning by Self-Explainingcited by 17
- 2023The role of causality in explainable artificial intelligencecited by 17
- 2023A Critical Survey on Fairness Benefits of Explainable AIcited by 16
12 most cited of 55 All 55 (JSON)
- 2026Where MLLMs Fail and Why: Causal Task Decomposition for Capability Failure Diagnosis30 Sep 2026
- 2026Regional Explanations via Causal Sufficiency and Necessity16 Sep 2026
- 2026A unified framework for evaluating the robustness of machine-learning interpretability for prospect risking16 Feb 2026
- 2026VISTA: Knowledge-Driven Vessel Trajectory Imputation with Repair Provenance11 Jan 2026
- 2025A Framework for Causal Concept-based Model Explanations2 Dec 2025
- 2025Stress-Testing Causal Claims via Cardinality Repairs2 Dec 2025
- 2025Causal Explanations Over Time: Articulated Reasoning for Interactive Environments4 Jun 2025
- 2025Learning Probabilities of Causation with Mask-Augmented Data22 May 2025
- 2025Causal DAG Summarization (Full Version)21 Apr 2025
- 2025Am I Being Treated Fairly? A Conceptual Framework for Individuals to Ascertain Fairness3 Apr 2025
- 2024Feature Responsiveness Scores: Model-Agnostic Explanations for Recourse29 Oct 2024
- 2024Unifying Invariant and Variant Features for Graph Out-of-Distribution via Probability of Necessity and Sufficiency21 Jul 2024
12 newest of 55 All 55 (JSON)