FD-CAM:提高CNN视觉解释的可信度和可分辨性
FD-CAM: Improving Faithfulness and Discriminability of Visual Explanation for CNNs
摘要:
类激活图(CAM)是直观地解释卷积神经网络内部工作机制的重要工具。现有基于CAM的方法的关键是计算有效权重以组合目标卷积层中的激活图。现有的梯度和分数为基础的加权方案已显示出优越性,在确保无论是歧视性或忠诚的CAM,但他们通常不能在这两个属性。在本文中,我们提出了一种新的CAM加权方案,命名为FD-CAM,以提高基于CAM的CNN视觉解释的忠实性和可分辨性。首先,我们通过执行分组信道切换操作来提高基于分数的权重的忠实性和可辨别性。具体来说,对于每个通道,我们计算其相似性组,并同时打开或关闭通道组,以计算类预测得分的变化作为权重。然后,我们将改进的基于分数的权重与传统的基于梯度的权重相结合,使最终CAM的可辨别性可以进一步提高。我们进行了广泛的比较与国家的最先进的CAM算法。定量和定性的结果表明,我们的FD-CAM可以产生更忠实,更有区别的CNN的视觉解释。我们也进行了实验,以验证所提出的分组信道切换和权重组合方案对改善结果的有效性。我们的代码可在https://github.com/crishhh1998/FD-CAM上获得。
英文摘要:
Class activation map (CAM) has been widely studied for visual explanation of the internal working mechanism of convolutional neural networks. The key of existing CAM-based methods is to compute effective weights to combine activation maps in the target convolution layer. Existing gradient and score based weighting schemes have shown superiority in ensuring either the discriminability or faithfulness of the CAM, but they normally cannot excel in both properties. In this paper, we propose a novel CAM weighting scheme, named FD-CAM, to improve both the faithfulness and discriminability of the CAM-based CNN visual explanation. First, we improve the faithfulness and discriminability of the score-based weights by performing a grouped channel switching operation. Specifically, for each channel, we compute its similarity group and switch the group of channels on or off simultaneously to compute changes in the class prediction score as the weights. Then, we combine the improved score-based weights with the conventional gradient-based weights so that the discriminability of the final CAM can be further improved. We perform extensive comparisons with the state-of-the-art CAM algorithms. The quantitative and qualitative results show our FD-CAM can produce more faithful and more discriminative visual explanations of the CNNs. We also conduct experiments to verify the effectiveness of the proposed grouped channel switching and weight combination scheme on improving the results. Our code is available at https://github.com/crishhh1998/FD-CAM.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。