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

从非鉴别特征中提取类别激活图

Extracting Class Activation Maps from Non-Discriminative Features as well

Singapore Management University(新加坡管理大学)

Zhaozheng Chen, Qianru Sun

摘要:

从分类模型中提取类别激活图(CAM)通常导致对前景对象的不良覆盖,即,仅区分区域(例如,“绵羊”的“头”)被识别并且其余的(例如,“羊”的“腿”)错误地作为背景。背后的关键是分类器的权重(用于计算CAM)仅捕获对象的区分特征。我们通过引入一种新的CAM计算方法来解决这个问题,该方法也可以显式地捕获非歧视性特征,从而扩展CAM以覆盖整个对象。具体来说,我们省略了分类模型的最后一个池化层,并对对象类的所有局部特征进行聚类,其中“局部”意味着“在空间像素位置”。我们将得到的K个聚类中心称为局部原型-表示局部语义,如“绵羊”的“头”、“腿”和“身体”。给定类的新图像,我们将其未合并的特征与每个原型进行比较,导出K个相似性矩阵,然后将它们聚合成热图(即,我们的CAM)。因此,我们的CAM捕捉类的所有本地功能没有歧视。我们在弱监督语义分割(WSSS)的挑战性任务中对其进行了评估,并将其插入到多个最先进的WSSS方法中,如MCTformer和AMN,只需将其原始CAM替换为我们的CAM。我们在标准WSSS基准测试(PASCAL VOC和MS COCO)上进行的大量实验表明了我们方法的优越性:一致的改进和较小的计算开销。

英文摘要:

Extracting class activation maps (CAM) from a classification model often results in poor coverage on foreground objects, i.e., only the discriminative region (e.g., the "head" of "sheep") is recognized and the rest (e.g., the "leg" of "sheep") mistakenly as background. The crux behind is that the weight of the classifier (used to compute CAM) captures only the discriminative features of objects. We tackle this by introducing a new computation method for CAM that explicitly captures non-discriminative features as well, thereby expanding CAM to cover whole objects. Specifically, we omit the last pooling layer of the classification model, and perform clustering on all local features of an object class, where "local" means "at a spatial pixel position". We call the resultant K cluster centers local prototypes - represent local semantics like the "head", "leg", and "body" of "sheep". Given a new image of the class, we compare its unpooled features to every prototype, derive K similarity matrices, and then aggregate them into a heatmap (i.e., our CAM). Our CAM thus captures all local features of the class without discrimination. We evaluate it in the challenging tasks of weakly-supervised semantic segmentation (WSSS), and plug it in multiple state-of-the-art WSSS methods, such as MCTformer and AMN, by simply replacing their original CAM with ours. Our extensive experiments on standard WSSS benchmarks (PASCAL VOC and MS COCO) show the superiority of our method: consistent improvements with little computational overhead.

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

↑