Real-Time, Model-Agnostic and User-Driven Counterfactual Explanations Using Autoencoders
Open Access
- 24 February 2023
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 13 (5) , 2912
Abstract
Explainable Artificial Intelligence (XAI) has gained significant attention in recent years due to concerns over the lack of interpretability of Deep Learning models, which hinders their decision-making processes. To address this issue, counterfactual explanations have been proposed to elucidate the reasoning behind a model’s decisions by providing what-if statements as explanations. However, generating counterfactuals traditionally involves solving an optimization problem for each input, making it impractical for real-time feedback. Moreover, counterfactuals must meet specific criteria, including being user-driven, causing minimal changes, and staying within the data distribution. To overcome these challenges, a novel model-agnostic approach called Real-Time Guided Counterfactual Explanations (RTGCEx) is proposed. This approach utilizes autoencoders to generate real-time counterfactual explanations that adhere to these criteria by optimizing a multiobjective loss function. The performance of RTGCEx has been evaluated on two datasets: MNIST and Gearbox, a synthetic time series dataset. The results demonstrate that RTGCEx outperforms traditional methods in terms of speed and efficacy on MNIST, while also effectively identifying and rectifying anomalies in the Gearbox dataset, highlighting its versatility across different scenarios.Keywords
Funding Information
- DREEMIND project of the Basque Goverment (KK-2022/00049)
This publication has 13 references indexed in Scilit:
- Generative Adversarial Networks (GANs)ACM Computing Surveys, 2021
- A Survey of Contrastive and Counterfactual Explanation Generation Methods for Explainable Artificial IntelligenceIEEE Access, 2021
- Explaining machine learning classifiers through diverse counterfactual explanations2020
- Generative Counterfactual Introspection for Explainable Deep Learning2019
- Multi-head CNN–RNN for multi-time series anomaly detection: An industrial case studyNeurocomputing, 2019
- "Why Should I Trust You?"2016
- Research Commentary—Too Big to Fail: Large Samples and the p-Value ProblemInformation Systems Research, 2013
- Predictive learning via rule ensemblesThe Annals of Applied Statistics, 2008
- Gaining insight through case-based explanationJournal of Intelligent Information Systems, 2008
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998