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

弱监督语义分割中的类再激活映射

Class Re-Activation Maps for Weakly-Supervised Semantic Segmentation

Singapore Management University(新加坡管理大学);Nanyang Technological University(南洋理工大学);Damo Academy, Alibaba Group(阿里巴巴集团达摩院)

Zhaozheng Chen, Tan Wang, Xiongwei Wu, Xian-Sheng Hua, Hanwang Zhang, Qianru Sun

摘要:

提取类激活图(CAM)可以说是为弱监督语义分割(WSSS)生成伪掩码的最标准步骤。然而,我们发现,不令人满意的伪掩模的关键是二进制交叉熵损失(BCE)广泛使用的CAM。具体地,由于BCE的类上求和池化性质,CAM中的每个像素可以响应于在同一感受野中共同出现的多个类。因此,给定一个类,其热CAM像素可能错误地侵入属于其他类的区域,或者非热CAM像素可能实际上是该类的一部分。为此,我们引入了一个非常简单但非常有效的方法:通过使用softmax交叉熵损失(SCE)重新激活收敛的CAM,称为\textbf{ReCAM}。给定一幅图像,我们使用CAM提取每个类的特征像素,并使用它们与类标签一起使用SCE学习另一个全连接层(骨干之后)。一旦收敛,我们以与CAM中相同的方式提取ReCAM。由于SCE的对比性质,像素响应被分解为不同的类别,因此预期较少的掩模模糊性。对PASCAL VOC和MS~COCO的评估表明,ReCAM不仅可以生成高质量的掩码,而且可以在任何CAM变体中以很小的开销支持即插即用。

英文摘要:

Extracting class activation maps (CAM) is arguably the most standard step of generating pseudo masks for weakly-supervised semantic segmentation (WSSS). Yet, we find that the crux of the unsatisfactory pseudo masks is the binary cross-entropy loss (BCE) widely used in CAM. Specifically, due to the sum-over-class pooling nature of BCE, each pixel in CAM may be responsive to multiple classes co-occurring in the same receptive field. As a result, given a class, its hot CAM pixels may wrongly invade the area belonging to other classes, or the non-hot ones may be actually a part of the class. To this end, we introduce an embarrassingly simple yet surprisingly effective method: Reactivating the converged CAM with BCE by using softmax cross-entropy loss (SCE), dubbed \textbf{ReCAM}. Given an image, we use CAM to extract the feature pixels of each single class, and use them with the class label to learn another fully-connected layer (after the backbone) with SCE. Once converged, we extract ReCAM in the same way as in CAM. Thanks to the contrastive nature of SCE, the pixel response is disentangled into different classes and hence less mask ambiguity is expected. The evaluation on both PASCAL VOC and MS~COCO shows that ReCAM not only generates high-quality masks, but also supports plug-and-play in any CAM variant with little overhead.

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

↑