高斯判别变分自编码器(GdVAE):一种具有反事实解释的自解释模型
The Gaussian Discriminant Variational Autoencoder (GdVAE): A Self-Explainable Model with Counterfactual Explanations
AI总结:
提出GdVAE,一种基于条件变分自编码器和高斯判别分析的自解释模型,通过生成式分类器和潜在空间闭式解实现透明反事实解释,兼顾解释质量与模型透明度。
摘要:
视觉反事实解释(CF)方法通过修改图像概念(如形状)来将预测改变为预定义的结果,同时使修改后的图像与原始查询图像高度相似。与自解释模型(SEM)和热图技术不同,反事实方法使用户能够检验假设的“如果-会怎样”场景。以往的反事实方法要么需要进行事后训练,从而限制了透明性与反事实质量之间的平衡,要么需要在推理过程中进行优化。为了弥合透明自解释模型与反事实方法之间的差距,我们引入了GdVAE,一种基于条件变分自编码器(CVAE)的自解释模型,其特点包括一个高斯判别分析(GDA)分类器以及集成的反事实解释。通过一个利用类特定原型进行下游任务的生成式分类器,以及在潜在空间中对反事实的闭式解,实现了完全的透明性。通过使用解释器函数对潜在空间进行正则化,反事实的一致性得到了改善。与现有方法的广泛比较证实了我们的方法在生成高质量反事实解释的同时保持透明性的有效性。代码和模型已公开。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。