C2AM: Contrastive learning of Class-agnostic Activation Map for Weakly Supervised Object Localization and Semantic Segmentation

被引:50
|
作者
Xie, Jinheng
Xiang, Jianfeng
Chen, Junliang
Hou, Xianxu
Zhao, Xiaodong
Shen, Linlin [1 ]
机构
[1] Shenzhen Univ, Sch Comp Sci & Software Engn, Shenzhen, Peoples R China
基金
中国国家自然科学基金;
关键词
D O I
10.1109/CVPR52688.2022.00106
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
While class activation map (CAM) generated by image classification network has been widely used for weakly supervised object localization (WSOL) and semantic segmentation (WSSS), such classifiers usually focus on discriminative object regions. In this paper, we propose Contrastive learning for Class-agnostic Activation Map (C(2)AM) generation only using unlabeled image data, without the involvement of image-level supervision. The core idea comes from the observation that i) semantic information of foreground objects usually differs from their backgrounds; ii) foreground objects with similar appearance or background with similar color/texture have similar representations in the feature space. We form the positive and negative pairs based on the above relations and force the network to disentangle foreground and background with a class-agnostic activation map using a novel contrastive loss. As the network is guided to discriminate cross-image foreground-background, the class-agnostic activation maps learned by our approach generate more complete object regions. We successfully extracted from C(2)AM class-agnostic object bounding boxes for object localization and background cues to refine CAM generated by classification network for semantic segmentation. Extensive experiments on CUB-200-2011, ImageNet-1K, and PASCAL VOC2012 datasets show that both WSOL and WSSS can benefit from the proposed C(2)AM. Code will be available at https://github.com/CVISZU/CCAM.
引用
收藏
页码:979 / 988
页数:10
相关论文
共 50 条
  • [41] Erase then grow: Generating correct class activation maps for weakly-supervised semantic segmentation
    Chong, Yanwen
    Chen, Xiaoshu
    Tao, Yulong
    Pan, Shaoming
    [J]. NEUROCOMPUTING, 2021, 453 : 97 - 108
  • [42] Learning Integral Objects with Intra-Class Discriminator for Weakly-Supervised Semantic Segmentation
    Fan, Junsong
    Zhang, Zhaoxiang
    Song, Chunfeng
    Tan, Tieniu
    [J]. 2020 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2020, : 4282 - 4291
  • [43] Weakly supervised instance segmentation via class double-activation maps and boundary localization
    Peng, Jin
    Wang, Yongxiong
    Pan, Zhiqun
    [J]. SIGNAL PROCESSING-IMAGE COMMUNICATION, 2024, 127
  • [44] Online Refinement of Low-level Feature Based Activation Map for Weakly Supervised Object Localization
    Xie, Jinheng
    Luo, Cheng
    Zhu, Xiangping
    Jin, Ziqi
    Lu, Weizeng
    Shen, Linlin
    [J]. 2021 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2021), 2021, : 132 - 141
  • [45] Show, Match and Segment: Joint Weakly Supervised Learning of Semantic Matching and Object Co-Segmentation
    Chen, Yun-Chun
    Lin, Yen-Yu
    Yang, Ming-Hsuan
    Huang, Jia-Bin
    [J]. IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2021, 43 (10) : 3632 - 3647
  • [46] Weakly Supervised Semantic Segmentation via Dual-Stream Contrastive Learning of Cross-Image Contextual Information
    Lai, Qi
    Vong, Chi-Man
    Chen, Chuangquan
    [J]. IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2024,
  • [47] Joint Learning of 2D-3D Weakly Supervised Semantic Segmentation
    Kweon, Hyeokjun
    Yoon, Kuk-Jin
    [J]. ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,
  • [48] Weakly supervised semantic segmentation for MRI: exploring the advantages and disadvantages of class activation maps for biological image segmentation with soft boundaries
    Shaheen Syed
    Kathryn E. Anderssen
    Svein Kristian Stormo
    Mathias Kranz
    [J]. Scientific Reports, 13
  • [49] Weakly supervised semantic segmentation for MRI: exploring the advantages and disadvantages of class activation maps for biological image segmentation with soft boundaries
    Syed, Shaheen
    Anderssen, Kathryn E.
    Stormo, Svein Kristian
    Kranz, Mathias
    [J]. SCIENTIFIC REPORTS, 2023, 13 (01)
  • [50] Weakly supervised pavement crack semantic segmentation based on multi-scale object localization and incremental annotation refinement
    Al-Huda, Zaid
    Peng, Bo
    Algburi, Riyadh Nazar Ali
    Alfasly, Saghir
    Li, Tianrui
    [J]. APPLIED INTELLIGENCE, 2023, 53 (11) : 14527 - 14546