On generating trustworthy counterfactual explanations
Javier Del Sera b, Alejandro Barredo Arrietac, Natalia Díaz-Rodríguezd, Francisco Herrerad, Anna Sarantie f, Andreas Holzingere f g✉
- aDepartment of Communications Engineering, University of the Basque Country (UPV/EHU), 48013 Bilbao, Spain
- bTECNALIA, Basque Research and Technology Alliance (BRTA), P. Tecnologico, Ed. 700, 48160 Derio, Spain
- cKurago Software, 48011 Bilbao, Spain
- dDaSCI Andalusian Institute of Data Science and Computational Intelligence, University of Granada, 18071 Granada, Spain
- eHuman-Centered AI Lab, University of Natural Resources and Life Sciences Vienna, A-1190 Vienna, Austria
- fMedical University Graz, A-8036 Graz, Austria
- gxAI Lab, Alberta Machine Intelligence Institute, Edmonton, Canada
- ✉Corresponding author
Papers open inside SciRah from the original publisher or repository; SciRah never hosts them.
Abstract
Deep learning models like chatGPT exemplify AI success but necessitate a deeper understanding of trust in critical sectors. Trust can be achieved using counterfactual explanations, which is how humans become familiar with unknown processes; by understanding the hypothetical input circumstances under which the output changes. We argue that the generation of counterfactual explanations requires several aspects of the generated counterfactual instances, not just their counterfactual ability. We present a framework for generating counterfactual explanations that formulate its goal as a multiobjective optimization problem balancing three objectives: plausibility; the intensity of changes; and adversarial power. We use a generative adversarial network to model the distribution of the input, along with a multiobjective counterfactual discovery solver balancing these objectives. We demonstrate the usefulness of six classification tasks with image and 3D data confirming with evidence the existence of a trade-off between the objectives, the consistency of the produced counterfactual explanations with human knowledge, and the capability of the framework to unveil the existence of concept-based biases and misrepresented attributes in the input domain of the audited model. Our pioneering effort shall inspire further work on the generation of plausible counterfactual explanations in real-world scenarios where attribute-/concept-based annotations are available for the domain under analysis.

