Declarative Approaches to Counterfactual Explanations for Classification
Not on the map. Why?
Abstract (arXiv)
We propose answer-set programs that specify and compute counterfactual interventions on entities that are input on a classification model. In relation to the outcome of the model, the resulting counterfactual entities serve as a basis for the definition and computation of causality-based explanation scores for the feature values in the entity under classification, namely "responsibility scores". The approach and the programs can be applied with black-box models, and also with models that can be specified as logic programs, such as rule-based classifiers. The main focus of this work is on the specification and computation of "best" counterfactual entities, i.e. those that lead to maximum responsibility scores. From them one can read off the explanations as maximum responsibility feature values in the original entity. We also extend the programs to bring into the picture semantic or domain knowledge. We show how the approach could be extended by means of probabilistic methods, and how the underlying probability distributions could be modified through the use of constraints. Several examples of programs written in the syntax of the DLV ASP-solver, and run with it, are shown.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). First posted on arXiv 15 Nov 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 2; 2023: 6; 2024: 1; 2025: 1; 2026: 1.
14 papers.
Sort:
- 2022ASTERYX : A model-Agnostic SaT-basEd appRoach for sYmbolic and score-based eXplanationscited by 26
- 2021Answer-Set Programs for Reasoning about Counterfactual Interventions and Responsibility Scores for Classificationcited by 9
- 2023Efficient Computation of Shap Explanation Scores for Neural Network Classifiers via Knowledge Compilationcited by 3
- 2023From Database Repairs to Causality in Databases and Beyondcited by 3
- 2021Score-Based Explanations in Data Management and Machine Learning: An Answer-Set Programming Approach to Counterfactual Analysiscited by 2
- 2023Attribution-Scores and Causal Counterfactuals as Explanations in Artificial Intelligencecited by 2
- 2023Reason to explain: Interactive contrastive explanations (REASONX)cited by 2
- 2023Attribution-Scores in Data Management and Explainable Machine Learningcited by 2
- 2024The Distributional Uncertainty of the SHAP score in Explainable Machine Learningcited by 1
- 2021Reasoning about Counterfactuals and Explanations: Problems, Results and Directionscited by 0
- 2022Answer-Set Programs for Repair Updates and Counterfactual Interventionscited by 0
- 2023Declarative Reasoning on Explanations Using Constraint Logic Programmingcited by 0
2 more
- 2026Reconciling Consistency-Based Diagnosis with Actual-Causality-Based Explanations9 May 2026
- 2025Counterfactual Explanations as Plans13 Feb 2025
- 2024The Distributional Uncertainty of the SHAP score in Explainable Machine Learning23 Jan 2024
- 2023Declarative Reasoning on Explanations Using Constraint Logic Programming1 Sep 2023
- 2023Attribution-Scores in Data Management and Explainable Machine Learning31 Jul 2023
- 2023From Database Repairs to Causality in Databases and Beyond15 Jun 2023
- 2023Reason to explain: Interactive contrastive explanations (REASONX)29 May 2023
- 2023Efficient Computation of Shap Explanation Scores for Neural Network Classifiers via Knowledge Compilation11 Mar 2023
- 2023Attribution-Scores and Causal Counterfactuals as Explanations in Artificial Intelligence6 Mar 2023
- 2022Answer-Set Programs for Repair Updates and Counterfactual Interventions25 Sep 2022
- 2022ASTERYX : A model-Agnostic SaT-basEd appRoach for sYmbolic and score-based eXplanations23 Jun 2022
- 2021Reasoning about Counterfactuals and Explanations: Problems, Results and Directions25 Aug 2021
- 2022ASTERYX : A model-Agnostic SaT-basEd appRoach for sYmbolic and score-based eXplanationscited by 26
- 2021Answer-Set Programs for Reasoning about Counterfactual Interventions and Responsibility Scores for Classificationcited by 9
- 2023Efficient Computation of Shap Explanation Scores for Neural Network Classifiers via Knowledge Compilationcited by 3
- 2023From Database Repairs to Causality in Databases and Beyondcited by 3
- 2021Score-Based Explanations in Data Management and Machine Learning: An Answer-Set Programming Approach to Counterfactual Analysiscited by 2
- 2023Attribution-Scores and Causal Counterfactuals as Explanations in Artificial Intelligencecited by 2
- 2023Reason to explain: Interactive contrastive explanations (REASONX)cited by 2
- 2023Attribution-Scores in Data Management and Explainable Machine Learningcited by 2
- 2024The Distributional Uncertainty of the SHAP score in Explainable Machine Learningcited by 1
- 2021Reasoning about Counterfactuals and Explanations: Problems, Results and Directionscited by 0
- 2022Answer-Set Programs for Repair Updates and Counterfactual Interventionscited by 0
- 2023Declarative Reasoning on Explanations Using Constraint Logic Programmingcited by 0
12 most cited of 14 All 14 (JSON)
- 2026Reconciling Consistency-Based Diagnosis with Actual-Causality-Based Explanations9 May 2026
- 2025Counterfactual Explanations as Plans13 Feb 2025
- 2024The Distributional Uncertainty of the SHAP score in Explainable Machine Learning23 Jan 2024
- 2023Declarative Reasoning on Explanations Using Constraint Logic Programming1 Sep 2023
- 2023Attribution-Scores in Data Management and Explainable Machine Learning31 Jul 2023
- 2023From Database Repairs to Causality in Databases and Beyond15 Jun 2023
- 2023Reason to explain: Interactive contrastive explanations (REASONX)29 May 2023
- 2023Efficient Computation of Shap Explanation Scores for Neural Network Classifiers via Knowledge Compilation11 Mar 2023
- 2023Attribution-Scores and Causal Counterfactuals as Explanations in Artificial Intelligence6 Mar 2023
- 2022Answer-Set Programs for Repair Updates and Counterfactual Interventions25 Sep 2022
- 2022ASTERYX : A model-Agnostic SaT-basEd appRoach for sYmbolic and score-based eXplanations23 Jun 2022
- 2021Reasoning about Counterfactuals and Explanations: Problems, Results and Directions25 Aug 2021
12 newest of 14 All 14 (JSON)