arXiv:2412.11076cs.CV2024-12AAAI被引 21

解决视觉Transformer在弱监督分割中的伪激活问题

MoRe: Class Patch Attention Needs Regularization for Weakly Supervised Semantic Segmentation

  • 将注意力建模为有向图,动态抑制无关补丁激活
  • 利用分类图谱引导注意力,提升定位一致性
  • 适用于追求高精度分割的CV研究者

弱监督语义分割使用图像级标签生成密集预测,近期视觉变换器(ViT)通过类别-补丁注意力生成定位图。然而,由于缺乏对注意力的充分约束,定位注意力图(LAM)常出现伪激活问题:与语义无关的补丁区域被类别令牌错误激活。本文提出MoRe,通过双重正则化机制解决该问题。首先,将注意力视为新型有向图,引入图类别表征模块,在图层面动态凝聚相关补丁信息并抑制无关伪影。其次,基于分类图谱(CAM)保持物体平滑定位的观察,设计定位感知正则化模块,从CAM中挖掘令牌关系,可学习地监督类别与补丁令牌间的一致性。在PASCAL VOC和MS COCO数据集上的大量实验表明,MoRe有效缓解伪激活问题,性能超越近期单阶段甚至多阶段方法。代码已公开于https://github.com/zwyang6/MoRe。

原文摘要 · Abstract (English)

Weakly Supervised Semantic Segmentation (WSSS) with image-level labels typically uses Class Activation Maps (CAM) to achieve dense predictions. Recently, Vision Transformer (ViT) has provided an alternative to generate localization maps from class-patch attention. However, due to insufficient constraints on modeling such attention, we observe that the Localization Attention Maps (LAM) often struggle with the artifact issue, i.e., patch regions with minimal semantic relevance are falsely activated by class tokens. In this work, we propose MoRe to address this issue and further explore the potential of LAM. Our findings suggest that imposing additional regularization on class-patch attention is necessary. To this end, we first view the attention as a novel directed graph and propose the Graph Category Representation module to implicitly regularize the interaction among class-patch entities. It ensures that class tokens dynamically condense the related patch information and suppress unrelated artifacts at a graph level. Second, motivated by the observation that CAM from classification weights maintains smooth localization of objects, we devise the Localization-informed Regularization module to explicitly regularize the class-patch attention. It directly mines the token relations from CAM and further supervises the consistency between class and patch tokens in a learnable manner. Extensive experiments are conducted on PASCAL VOC and MS COCO, validating that MoRe effectively addresses the artifact issue and achieves state-of-the-art performance, surpassing recent single-stage and even multi-stage methods. Code is available at https://github.com/zwyang6/MoRe.

弱监督分割视觉Transformer注意力机制图像标注

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。