Causal CSSE: Integrating Counterfactuals and Causality in the Explanation of Machine Learning Models

Abstract

Machine learning methods are widely used in various industries and research sectors, including health, agriculture, and law, to support decision-making. However, many of these models are inherently uninterpretable, necessitating the development of explainability methods. Among those methods, counterfactual methods aim to explain the decisions of black-box models by making minimal modifications to an instance’s attributes, thereby identifying the necessary changes to alter its classification. This article examines the relationship between counterfactuals and causality, emphasizing the significance of understanding causality for achieving more consistent explainability. We present the Causal CSSE method, which incorporates aspects of causality into the counterfactual CSSE (Social Explanations for Classification Models) method, providing more realistic and applicable explanations. Causal CSSE uses an ad-hoc genetic model to generate counterfactual examples, considering the causality between attributes to improve the interpretability and applicability of the generated explanations. This enhancement aims to provide more realistic and valuable counterfactual answers, thereby contributing to more effective solutions for real-world problems. This project is available at https://github.com/virion1996/causal_csse .

Cite

Text

Krauss et al. "Causal CSSE: Integrating Counterfactuals and Causality in the Explanation of Machine Learning Models." Machine Learning, 2025. doi:10.1007/S10994-025-06856-4

Markdown

[Krauss et al. "Causal CSSE: Integrating Counterfactuals and Causality in the Explanation of Machine Learning Models." Machine Learning, 2025.](https://mlanthology.org/mlj/2025/krauss2025mlj-causal/) doi:10.1007/S10994-025-06856-4

BibTeX

@article{krauss2025mlj-causal,
  title     = {{Causal CSSE: Integrating Counterfactuals and Causality in the Explanation of Machine Learning Models}},
  author    = {Krauss, Omar F. P. and Balbino, Marcelo S. and Nobre, Cristiane Neri},
  journal   = {Machine Learning},
  year      = {2025},
  pages     = {221},
  doi       = {10.1007/S10994-025-06856-4},
  volume    = {114},
  url       = {https://mlanthology.org/mlj/2025/krauss2025mlj-causal/}
}