English

Masked Collaborative Contrast for Weakly Supervised Semantic Segmentation

Computer Vision and Pattern Recognition 2023-11-10 v6

Abstract

This study introduces an efficacious approach, Masked Collaborative Contrast (MCC), to highlight semantic regions in weakly supervised semantic segmentation. MCC adroitly draws inspiration from masked image modeling and contrastive learning to devise a novel framework that induces keys to contract toward semantic regions. Unlike prevalent techniques that directly eradicate patch regions in the input image when generating masks, we scrutinize the neighborhood relations of patch tokens by exploring masks considering keys on the affinity matrix. Moreover, we generate positive and negative samples in contrastive learning by utilizing the masked local output and contrasting it with the global output. Elaborate experiments on commonly employed datasets evidences that the proposed MCC mechanism effectively aligns global and local perspectives within the image, attaining impressive performance. The source code is available at \url{https://github.com/fwu11/MCC}.

Keywords

Cite

@article{arxiv.2305.08491,
  title  = {Masked Collaborative Contrast for Weakly Supervised Semantic Segmentation},
  author = {Fangwen Wu and Jingxuan He and Yufei Yin and Yanbin Hao and Gang Huang and Lechao Cheng},
  journal= {arXiv preprint arXiv:2305.08491},
  year   = {2023}
}

Comments

This work is accepted by WACV 2024

R2 v1 2026-06-28T10:34:30.886Z