On the Hardness of Computing Counterfactual and Semifactual Explanations in XAI
Abstract
Providing clear explanations to the choices of machine learning models is essential for these models to be deployed in crucial applications. Counterfactual and semi-factual explanations have emerged as two mechanisms for providing users with insights into the outputs of their models. We provide an overview of the computational complexity results in the literature for generating these explanations, finding that in many cases, generating explanations is computationally hard. We strengthen the argument for this considerably by further contributing our own inapproximability results showing that not only are explanations often hard to generate, but under certain assumptions, they are also hard to approximate. We discuss the implications of these complexity results for the XAI community and for policymakers seeking to regulate explanations in AI.
Fields of Study & Subjects
Explainable Artificial Intelligence (XAI)
Ethics and Social Impacts of AI
Logic
Reasoning
and Knowledge
Publication details
- Journal / source
- arXiv (Cornell University)
- Publication date
- 14 January 2026
- Language
- EN
- Document type
- Preprint