Can You Tell the Difference? Contrastive Explanations for ABox Entailments
Patrick Koopmann, Yasir Mahmood, Axel-Cyrille Ngonga Ngomo, Balram Tiwari
TL;DR
This paper introduces contrastive ABox explanations (CEs) to answer why C(a) holds while C(b) does not, formalizing CPs and ABox patterns to capture the differences between fact and foil. It defines syntactic and semantic CEs and three optimality criteria—difference-minimal, conflict-minimal, and commonality-maximal—and analyzes their computational complexity across DLs from $\mathcal{EL}$ to $\mathcal{ALCI}$. It provides a first practical method for computing difference-minimal syntactic CEs and evaluates it on realistic knowledge bases, offering empirical insight into tractability and scalability. The work lays out a foundation for contrastive explanations in ontology reasoning, with implications for explainable AI in DL-based applications and future work to optimize algorithms and explore extended CE variants.
Abstract
We introduce the notion of contrastive ABox explanations to answer questions of the type "Why is a an instance of C, but b is not?". While there are various approaches for explaining positive entailments (why is C(a) entailed by the knowledge base) as well as missing entailments (why is C(b) not entailed) in isolation, contrastive explanations consider both at the same time, which allows them to focus on the relevant commonalities and differences between a and b. We develop an appropriate notion of contrastive explanations for the special case of ABox reasoning with description logic ontologies, and analyze the computational complexity for different variants under different optimality criteria, considering lightweight as well as more expressive description logics. We implemented a first method for computing one variant of contrastive explanations, and evaluated it on generated problems for realistic knowledge bases.
