Grad-CAM的方法解析

Grad-CAM利用CNN最后一层的梯度信息为特定决策分配每个神经元的重要性值,着重解释输出层决策。它通过计算梯度加权特征图来生成类激活映射,用于显示对目标类有积极影响的图像区域,提供对模型决策的理解,并能通过修改揭示改变网络预测的关键区域。
摘要由CSDN通过智能技术生成

Grad-CAM方法解析

convolutional layers naturally retain spatial information which is lost in fully-connected layers, so we
can expect the last convolutional layers to have the best compromise between high-level semantics and detailed spatial information. 意思即是,FCC层通常损失了spatial的信号,所以最后一层的CNN层总是最好的语义和空间信息的最好结合。

The neurons in these layers look for semantic class-specific information in the image (say object parts). 寻找class-specific的信号,例如,物体。

Grad-CAM uses the gradient information flowing into the last convolutional layer of the CNN to assign importance values to each neuron for a particular decision of interest. Although our technique is fairly general in that it can be used to explain activations in any layer of a deep network, in this work, we focus on explaining output layer decisions only. 我们这里只关注最后一层CNN.

A i ,   j k A^k_{i, \, j} Ai,jk 代表了在最后一层的convolution feature maps,class activation map被定义为,

α k c = 1 Z ∑ i ∑ j ∂ y c ∂ A i , j k , \alpha^c_k = \frac{1}{Z} \sum_i \sum_j \frac{\partial y^c}{ \partial A^k_{i, j}}, αkc=Z1

  • 3
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值