[edit]
CausalCERTIFAI: A Causality-Aware Framework for Counterfactual Explanations
Proceedings of Fifth European Conference on Algorithmic Fairness, PMLR 350:136-147, 2026.
Abstract
This study introduces CausalCERTIFAI, a causality-aware framework for generating counterfactual explanations in tabular machine learning models. The proposed approach integrates graph-based causal discovery with a constraint-aware genetic search process to produce counterfactuals that achieve a desired prediction while remaining consistent with learned causal relationships. Experiments are conducted on multiple classification datasets using decision trees, XGBoost, and LightGBM, comparing standard counterfactual generation with a causal constrained variant. Performance is evaluated in terms of robustness using NCERScore, alongside computational efficiency measured by runtime per instance. Results show that introducing causal constraints increases normalised counterfactual distance, reflecting more restricted but more realistic recourse, with stronger effects observed in higher-dimensional datasets.