arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.07944cs.CV
收藏

文本到图像模型用于反事实解释:一种黑盒方法

Text-to-Image Models for Counterfactual Explanations: a Black-Box Approach

Normandy University(诺曼底大学);ENSICAEN(卡昂国立高等工程师学校);UNICAEN(卡昂大学);CNRS(法国国家科学研究中心);GREYC(格雷克实验室)

Guillaume Jeanneret, Loïc Simon, Frédéric Jurie

AI总结:

本文提出TIME方法,一种基于蒸馏的黑盒反事实解释技术,仅需图像和预测,通过向Stable Diffusion引入上下文和类别偏差生成有效反事实,实证验证其黑盒性能。

摘要:

本文解决了生成反事实解释(CEs)的挑战,涉及识别和修改最少的必要特征以改变分类器对给定图像的预测。我们提出的方法,文本到图像模型用于反事实解释(TIME),是一种基于蒸馏的黑盒反事实技术。与以往方法不同,该方法仅需图像及其预测,无需分类器的结构、参数或梯度。在生成反事实之前,TIME以文本嵌入的形式向Stable Diffusion引入两种不同的偏差:与图像结构相关的上下文偏差,以及与目标分类器学习的类别特定特征相关的类别偏差。在学习这些偏差后,我们找到应用分类器预测类别令牌的最优潜在代码,并使用目标嵌入作为条件重新生成图像,从而产生反事实解释。大量实证研究验证了TIME即使在黑盒设置下也能生成同等有效性的解释。

英文摘要:

This paper addresses the challenge of generating Counterfactual Explanations (CEs), involving the identification and modification of the fewest necessary features to alter a classifier's prediction for a given image. Our proposed method, Text-to-Image Models for Counterfactual Explanations (TIME), is a black-box counterfactual technique based on distillation. Unlike previous methods, this approach requires solely the image and its prediction, omitting the need for the classifier's structure, parameters, or gradients. Before generating the counterfactuals, TIME introduces two distinct biases into Stable Diffusion in the form of textual embeddings: the context bias, associated with the image's structure, and the class bias, linked to class-specific features learned by the target classifier. After learning these biases, we find the optimal latent code applying the classifier's predicted class token and regenerate the image using the target embedding as conditioning, producing the counterfactual explanation. Extensive empirical studies validate that TIME can generate explanations of comparable effectiveness even when operating within a black-box setting.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑