mlsanityData to 7 Oct 2026

Counterfactual Generation with Answer Set Programming

arXiv 2402.04382 ↗First posted 6 Feb 2024cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Machine learning models that automate decision-making are increasingly being used in consequential areas such as loan approvals, pretrial bail approval, hiring, and many more. Unfortunately, most of these models are black-boxes, i.e., they are unable to reveal how they reach these prediction decisions. A need for transparency demands justification for such predictions. An affected individual might also desire explanations to understand why a decision was made. Ethical and legal considerations may further require informing the individual of changes in the input attribute that could be made to produce a desirable outcome. This paper focuses on the latter problem of automatically generating counterfactual explanations. We propose a framework Counterfactual Generation with s(CASP) (CFGS) that utilizes answer set programming (ASP) and the s(CASP) goal-directed ASP system to automatically generate counterfactual explanations from rules generated by rule-based machine learning (RBML) algorithms. In our framework, we show how counterfactual explanations are computed and justified by imagining worlds where some or all factual assumptions are altered/changed. More importantly, we show how we can navigate between these worlds, namely, go from our original world/scenario where we obtain an undesired outcome to the imagined world/scenario where we obtain a desired/favourable outcome.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 13 of its 30 references that are in the map. First posted on arXiv 6 Feb 2024.

Builds on

13 of 30 references.

References · 13

  1. 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
  2. 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
  3. 2018Actionable Recourse in Linear Classificationcited by 327
  4. 2020Algorithmic Recourse: from Counterfactual Explanations to Interventionscited by 250
  5. 2019Efficient Search for Diverse Coherent Explanationscited by 111
  6. 2017Interpretable Predictions of Tree-based Ensembles via Actionable Feature Tweakingcited by 76
  7. 2019Measurable Counterfactual Local Explanations for Any Classifiercited by 48
  8. 2018Constraint Answer Set Programming without Groundingcited by 38
  9. 2022FOLD-SE: An Efficient Rule-based Machine Learning Algorithm with Scalable Explainabilitycited by 15
  10. 2017A New Algorithm to Automate Inductive Learning of Default Theoriescited by 14
  11. 2021FOLD-R++: A Scalable Toolset for Automated Inductive Learning of Default Theories from Mixed Datacited by 10
  12. 2021Answer-Set Programs for Reasoning about Counterfactual Interventions and Responsibility Scores for Classificationcited by 9
1 more
  1. 2022FOLD-RM: A Scalable, Efficient, and Explainable Inductive Learning Algorithm for Multi-Category Classification of Mixed Datacited by 7

Built on by

Not cited yet.