The Gaussian Discriminant Variational Autoencoder (GdVAE): A Self-Explainable Model with Counterfactual Explanations
<|reference_start|>The Gaussian Discriminant Variational Autoencoder (GdVAE): A Self-Explainable Model with Counterfactual Explanations: Visual counterfactual explanation (CF) methods modify image concepts, e.g, shape, to change a prediction to a predefined outcome while closely resembling the original query image. Unlike self-explainable models (SEMs) and heatmap techniques, they grant users the ability to examine hypothetical "what-if" scenarios. Previous CF methods either entail post-hoc training, limiting the balance between transparency and CF quality, or demand optimization during inference. To bridge the gap between transparent SEMs and CF methods, we introduce the GdVAE, a self-explainable model based on a conditional variational autoencoder (CVAE), featuring a Gaussian discriminant analysis (GDA) classifier and integrated CF explanations. Full transparency is achieved through a generative classifier that leverages class-specific prototypes for the downstream task and a closed-form solution for CFs in the latent space. The consistency of CFs is improved by regularizing the latent space with the explainer function. Extensive comparisons with existing approaches affirm the effectiveness of our method in producing high-quality CF explanations while preserving transparency. Code and models are public.<|reference_end|>
@article{haselhoff2024the,
    title={The Gaussian Discriminant Variational Autoencoder (GdVAE): A
  Self-Explainable Model with Counterfactual Explanations},
    author={Anselm Haselhoff, Kevin Trelenberg, Fabian K"uppers, Jonas Schneider},
    journal={arXiv preprint arXiv:2409.12952},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.12952},
    primaryClass={cs.CV cs.LG}
}