[论文解读] Empowering CAM-Based Methods with Capability to Generate Fine-Grained and High-Faithfulness Explanations
本文提出FG-CAM,一种新颖方法,可在不改变其核心架构的前提下,使基于CAM的模型在所有网络层生成细粒度、高保真度的解释。通过利用不同分辨率的层间特征图关系,逐步提升解释分辨率并过滤非贡献像素,FG-CAM在浅层/中间层及输入层均实现了最先进的保真度与分辨率表现,优于基于CAM的方法及LRP变体。
Recently, the explanation of neural network models has garnered considerable research attention. In computer vision, CAM (Class Activation Map)-based methods and LRP (Layer-wise Relevance Propagation) method are two common explanation methods. However, since most CAM-based methods can only generate global weights, they can only generate coarse-grained explanations at a deep layer. LRP and its variants, on the other hand, can generate fine-grained explanations. But the faithfulness of the explanations is too low. To address these challenges, in this paper, we propose FG-CAM (Fine-Grained CAM), which extends CAM-based methods to enable generating fine-grained and high-faithfulness explanations. FG-CAM uses the relationship between two adjacent layers of feature maps with resolution differences to gradually increase the explanation resolution, while finding the contributing pixels and filtering out the pixels that do not contribute. Our method not only solves the shortcoming of CAM-based methods without changing their characteristics, but also generates fine-grained explanations that have higher faithfulness than LRP and its variants. We also present FG-CAM with denoising, which is a variant of FG-CAM and is able to generate less noisy explanations with almost no change in explanation faithfulness. Experimental results show that the performance of FG-CAM is almost unaffected by the explanation resolution. FG-CAM outperforms existing CAM-based methods significantly in both shallow and intermediate layers, and outperforms LRP and its variants significantly in the input layer. Our code is available at https://github.com/dongmo-qcq/FG-CAM.
研究动机与目标
- 为解决基于CAM的方法仅在深层生成粗粒度解释的局限性,通过在浅层与中间层实现细粒度、高分辨率的解释。
- 克服LRP及其变体保真度低的问题,其虽生成高分辨率解释,但与模型决策的匹配度较差。
- 在保持基于CAM方法的架构简洁性与特性的同时,显著提升所有层的解释质量。
- 开发一种去噪变体,以减少解释噪声而不损失保真度。
- 为深度神经网络可解释性建立新的SOTA基线,涵盖解释保真度与分辨率。
提出的方法
- FG-CAM利用具有不同分辨率的相邻特征图之间的空间关系,从最后一层卷积层开始,逐步上采样并细化类别激活图,直至输入层。
- 通过基于梯度的相关性传播机制识别贡献像素,从输出向输入追踪重要性,同时过滤非贡献像素。
- 该方法采用渐进式细化策略,通过在各层间保持一致的相关性流动,确保模型决策的保真度。
- 引入去噪的FG-CAM增加后处理步骤,抑制噪声激活,同时保持解释的保真度。
- 该方法与现有基于CAM的方法(如Grad-CAM、Score-CAM)兼容,无需架构修改即可无缝集成。
- 实现输入层的高分辨率解释,这是标准CAM方法所不具备的能力。
实验结果
研究问题
- RQ1基于CAM的方法能否在不修改架构的前提下,实现浅层与中间层的细粒度、高保真度解释?
- RQ2在输入层分辨率下,FG-CAM能否在解释保真度方面优于LRP及其变体?
- RQ3与直接在浅层应用相比,通过相邻层间特征图的渐进式细化是否能提升解释质量?
- RQ4FG-CAM的去噪变体能否在保持高保真度的同时减少视觉噪声?
- RQ5FG-CAM在不同网络深度下的解释分辨率变化下是否表现出鲁棒性能?
主要发现
- 在浅层与中间层,FG-CAM显著优于Layer-CAM、Grad-CAM与Score-CAM,且性能基本不受解释分辨率影响。
- 在输入层,FG-CAM的保真度高于LRP、CLRP与SGLRP,在删除/插入测试中,整体得分分别比LRP高0.0672,比SGLRP高0.22749。
- 采用去噪的FG-CAM中,正向贡献像素比例达到0.66983,显著高于LRP(0.48385)与SGLRP(0.52136),表明其更聚焦于目标相关区域。
- 可视化结果表明,采用去噪的FG-CAM在保持保真度的同时减少了视觉噪声,更有效地隔离目标类别特征并消除背景干扰。
- FG-CAM即使在输入层分辨率下仍保持高保真度,这是标准基于CAM的方法无法实现的能力。
- 该方法展现出优越的类别判别能力,能准确识别目标类别区域,避免将背景或非目标物体误判为重要区域。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。