CFGs: Causality Constrained Counterfactual Explanations using goal-directed ASP (2405.15956v1)
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.
- Modeling and reasoning in event calculus using goal-directed constraint answer set programming.
- Constraint Answer Set Programming without Grounding.
- Baral, C. 2003. Knowledge representation, reasoning and declarative problem solving. Cambridge University Press.
- Adult. UCI Machine Learning Repository. DOI: https://doi.org/10.24432/C5XW20.
- Answer-set programs for reasoning about counterfactual interventions and responsibility scores for classification. In Proc. ILP 2021, volume 13191 of LNCS, pp. 41–56. Springer.
- Bohanec, M. 1997. Car Evaluation. UCI Machine Learning Repository. DOI: https://doi.org/10.24432/C5JP48.
- Answer set programming at a glance.
- Byrne, R. M. J. Counterfactuals in explainable artificial intelligence (XAI): evidence from human reasoning. In Proc. IJCAI 2019, pp. 6276–6282.
- Knowledge representation, reasoning, and the design of intelligent agents: Answer Set Programming approach. Cambridge Univ. Press.
- Automating commonsense reasoning with asp and s(casp) *.
- Hofmann, H. 1994. Statlog (German Credit Data). UCI Machine Learning Repository. DOI: https://doi.org/10.24432/C5NC77.
- Model-agnostic counterfactual explanations for consequential decisions. In AISTATS 2020, volume 108 of Proceedings of Machine Learning Research, pp. 895–905. PMLR.
- Algorithmic recourse: from counterfactual explanations to interventions. In Proc. ACM FAccT 2021, pp. 353–362.
- Lloyd, J. W. Foundations of logic programming. In Symbolic Computation 1987.
- NeSyFOLD: A framework for interpretable image classification. In Proc. AAAI 2024a, pp. 4378–4387. AAAI Press.
- Using logic programming and kernel-grouping for improving interpretability of convolutional neural networks. In Proc. PADL 2024b, volume 14512 of LNCS, pp. 134–150. Springer.
- Pearl, J. 2009. Causal inference in statistics: An overview.
- Russell, C. Efficient search for diverse coherent explanations. In Proc. ACM FAT 2019, 20–28.
- A new algorithm to automate inductive learning of default theories.
- Interpretable predictions of tree-based ensembles via actionable feature tweaking. In Proc. ACM SIGKDD 2017, pp. 465–474.
- Actionable recourse in linear classification. In Proc. FAT 2019, pp. 10–19.
- Counterfactual explanations without opening the black box: Automated decisions and the GDPR.
- FOLD-R++: A scalable toolset for automated inductive learning of default theories from mixed data. In Proc. FLOPS 2022, volume 13215 of LNCS, pp. 224–242. Springer.
- FOLD-SE: an efficient rule-based machine learning algorithm with scalable explainability.
- Measurable counterfactual local explanations for any classifier. In Proc. ECAI 2020, volume 325, pp. 2529–2535.
- Sopam Dasgupta (7 papers)
- Joaquín Arias (88 papers)
- Elmer Salazar (14 papers)
- Gopal Gupta (58 papers)