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

坚守信念:卷积神经网络中基于案例推理的忠实解释

Keep the Faith: Faithful Explanations in Convolutional Neural Networks for Case-Based Reasoning

Technical University Munich(慕尼黑工业大学);Ludwig-Maximilians-University(慕尼黑大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心)

Tom Nuno Wolf, Fabian Bongratz, Anne-Marie Rickmann, Sebastian Pölsterl, Christian Wachinger

AI总结:

针对ProtoPNet等基于案例推理的卷积神经网络解释方法归因图不忠实的问题,提出基于Shapley值的ProtoPFaith方法,可忠实解释原型存在性及像素贡献,在多数据集和架构上实验表现远超原方法。

摘要:

在应用于决策关键型任务时,解释黑盒神经网络的预测至关重要。因此,归因图通常被用于识别重要的图像区域,尽管已有研究表明人类更偏好基于相似示例的解释。为此,ProtoPNet(原型原型网络)学习了一组用于基于案例推理的类别代表性特征向量(原型)。在推理过程中,潜在特征与原型的相似度会被线性分类以形成预测,同时提供归因图来解释该相似度。\n在本研究中,我们以ProtoPNet为例,评估基于案例推理的架构是否满足忠实解释所需的既定公理。我们证明此类架构能够提取忠实的解释,但同时也证实,用于解释相似度的归因图违反了这些公理。我们提出了一种为已训练的ProtoPNet提取解释的新流程,命名为ProtoPFaith。从概念上讲,这些解释是基于每个原型的相似度得分计算的Shapley值(沙普利值)。它们能够忠实地回答未见图像中存在哪些原型,并量化每个像素对该存在性的贡献,从而符合所有公理。\nProtoPNet的理论违反性在我们针对三个数据集(CUB-200-2011、Stanford Dogs、RSNA)和五种架构(ConvNet、ResNet、ResNet50、WideResNet50、ResNeXt50)开展的实验中得到了验证。我们的实验显示,ProtoPNet与ProtoPFaith给出的解释存在定性差异。此外,我们使用扰动曲线下面积(Area Over the Perturbation Curve)对解释进行量化,在所有实验中ProtoPFaith的表现均优于ProtoPNet,优势倍数超过10³。

英文摘要:

Explaining predictions of black-box neural networks is crucial when applied to decision-critical tasks. Thus, attribution maps are commonly used to identify important image regions, despite prior work showing that humans prefer explanations based on similar examples. To this end, ProtoPNet learns a set of class-representative feature vectors (prototypes) for case-based reasoning. During inference, similarities of latent features to prototypes are linearly classified to form predictions and attribution maps are provided to explain the similarity. In this work, we evaluate whether architectures for case-based reasoning fulfill established axioms required for faithful explanations using the example of ProtoPNet. We show that such architectures allow the extraction of faithful explanations. However, we prove that the attribution maps used to explain the similarities violate the axioms. We propose a new procedure to extract explanations for trained ProtoPNets, named ProtoPFaith. Conceptually, these explanations are Shapley values, calculated on the similarity scores of each prototype. They allow to faithfully answer which prototypes are present in an unseen image and quantify each pixel's contribution to that presence, thereby complying with all axioms. The theoretical violations of ProtoPNet manifest in our experiments on three datasets (CUB-200-2011, Stanford Dogs, RSNA) and five architectures (ConvNet, ResNet, ResNet50, WideResNet50, ResNeXt50). Our experiments show a qualitative difference between the explanations given by ProtoPNet and ProtoPFaith. Additionally, we quantify the explanations with the Area Over the Perturbation Curve, on which ProtoPFaith outperforms ProtoPNet on all experiments by a factor $>10^3$.

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

↑