arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2308.04321cs.CV
收藏

弱监督语义分割的全对一致性学习

All-pairs Consistency Learning for Weakly Supervised Semantic Segmentation

Australian National University(澳大利亚国立大学);OpenNLPLab(开放自然语言处理实验室);Shanghai AI Lab(上海人工智能实验室);OPPO Research Institute(OPPO研究院);Xiamen University(厦门大学)

Weixuan Sun, Yanhao Zhang, Zhen Qin, Zheyuan Liu, Lin Cheng, Fanyi Wang, Yiran Zhong, Nick Barnes

AI总结:

本文提出全对一致性正则化ACR,利用视觉Transformer的自注意力机制同时保持增强视图间激活强度和视图内区域亲和性一致,并引入基于类标记梯度的类别级定位方法,显著提升弱监督语义分割性能。

摘要:

本文提出一种新的基于Transformer的正则化方法,以在弱监督语义分割(WSSS)中更好地定位目标。在图像级WSSS中,采用类激活图(CAM)生成目标定位作为伪分割标签。为解决CAM的部分激活问题,采用一致性正则化在各种图像增强下保持激活强度不变。然而,这类方法忽略了每个CAM内部区域之间的成对关系,这些关系捕获上下文,并且在不同图像视图之间也应当保持不变。为此,我们提出一种新的全对一致性正则化(ACR)。给定一对增强视图,我们的方法对一对增强视图之间的激活强度进行正则化,同时确保每个视图内区域间的亲和性保持一致。我们采用视觉Transformer,因为自注意力机制天然嵌入成对亲和性。这使我们能够简单地正则化增强图像对的注意力矩阵之间的距离。此外,我们引入一种新的类别级定位方法,利用类标记的梯度。我们的方法可以无缝集成到使用Transformer的现有WSSS方法中,无需修改架构。我们在PASCAL VOC和MS COCO数据集上评估了我们的方法。我们的方法生成了明显更好的类别定位图(在PASCAL VOC train上达到67.3% mIoU),从而获得了更优的WSSS性能。

英文摘要:

In this work, we propose a new transformer-based regularization to better localize objects for Weakly supervised semantic segmentation (WSSS). In image-level WSSS, Class Activation Map (CAM) is adopted to generate object localization as pseudo segmentation labels. To address the partial activation issue of the CAMs, consistency regularization is employed to maintain activation intensity invariance across various image augmentations. However, such methods ignore pair-wise relations among regions within each CAM, which capture context and should also be invariant across image views. To this end, we propose a new all-pairs consistency regularization (ACR). Given a pair of augmented views, our approach regularizes the activation intensities between a pair of augmented views, while also ensuring that the affinity across regions within each view remains consistent. We adopt vision transformers as the self-attention mechanism naturally embeds pair-wise affinity. This enables us to simply regularize the distance between the attention matrices of augmented image pairs. Additionally, we introduce a novel class-wise localization method that leverages the gradients of the class token. Our method can be seamlessly integrated into existing WSSS methods using transformers without modifying the architectures. We evaluate our method on PASCAL VOC and MS COCO datasets. Our method produces noticeably better class localization maps (67.3% mIoU on PASCAL VOC train), resulting in superior WSSS performances.

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

↑