CFGs: Causality Constrained Counterfactual Explanations using goal-directed ASP

Sopam Dasgupta, Joaquín Arias, Elmer Salazar, Gopal Gupta
5/24/2024
cs.AIcs.LGcs.LO

No confident code implementation found for this paper.

Abstract

Machine learning models that automate decision-making are increasingly used in consequential areas such as loan approvals, pretrial bail approval, and hiring. 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 require informing the individual of changes in the input attribute (s) that could be made to produce a desirable outcome. Our work focuses on the latter problem of generating counterfactual explanations by considering the causal dependencies between features. In this paper, we present the framework CFGs, CounterFactual Generation with s(CASP), which utilizes the goal-directed Answer Set Programming (ASP) system s(CASP) to automatically generate counterfactual explanations from models generated by rule-based machine learning algorithms in particular. We benchmark CFGs with the FOLD-SE model. Reaching the counterfactual state from the initial state is planned and achieved using a series of interventions. To validate our proposal, 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 CFGs navigates between these worlds, namely, go from our initial state where we obtain an undesired outcome to the imagined goal state where we obtain the desired decision, taking into account the causal relationships among features.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{dasgupta2024cfgs,
  title  = {CFGs: Causality Constrained Counterfactual Explanations using goal-directed ASP},
  author = {Sopam Dasgupta and Joaquín Arias and Elmer Salazar and Gopal Gupta},
  year   = {2024},
  eprint = {2405.15956},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.15956v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.15956.svg)](https://codeofpaper.com/paper/2405.15956)

Discussion