Why this and not that? A Logic-based Framework for Contrastive Explanations
Geibinger, Tobias, Jaakkola, Reijo, Kuusisto, Antti, Liu, Xinghan, Vilander, Miikka
–arXiv.org Artificial Intelligence
We define several canonical problems related to contrastive explanations, each answering a question of the form ''Why P but not Q?''. The problems compute causes for both P and Q, explicitly comparing their differences. We investigate the basic properties of our definitions in the setting of propositional logic. We show, inter alia, that our framework captures a cardinality-minimal version of existing contrastive explanations in the literature. Furthermore, we provide an extensive analysis of the computational complexities of the problems. We also implement the problems for CNF-formulas using answer set programming and present several examples demonstrating how they work in practice.
arXiv.org Artificial Intelligence
Jul-14-2025