Segment Anything Model (SAM) Enhanced Pseudo Labels for Weakly Supervised Semantic Segmentation

Tianle Chen, Zheda Mai, Ruiwen Li, Wei-lun Chao
5/9/2023
90 citations
cs.CVcs.AIcs.LG

Official code: cskyl/SAM_WSSS (74 stars, Python, last commit 2023-10-09).

Abstract

Weakly supervised semantic segmentation (WSSS) aims to bypass the need for laborious pixel-level annotation by using only image-level annotation. Most existing methods rely on Class Activation Maps (CAM) to derive pixel-level pseudo-labels and use them to train a fully supervised semantic segmentation model.

Show full abstract

Although these pseudo-labels are class-aware, indicating the coarse regions for particular classes, they are not object-aware and fail to delineate accurate object boundaries. To address this, we introduce a simple yet effective method harnessing the Segment Anything Model (SAM), a class-agnostic foundation model capable of producing fine-grained instance masks of objects, parts, and subparts. We use CAM pseudo-labels as cues to select and combine SAM masks, resulting in high-quality pseudo-labels that are both class-aware and object-aware. Our approach is highly versatile and can be easily integrated into existing WSSS methods without any modification. Despite its simplicity, our approach shows consistent gain over the state-of-the-art WSSS methods on both PASCAL VOC and MS-COCO datasets.

View on arXivView PDF

Code Implementations(1)

cskyl/SAM_WSSSOfficial100%

SAM Enhance Mask Quality for WSSS: This repository provides tools for generating, evaluating, and visualizing enhanced pseudo masks for Weakly Supervised Semantic Segmentation (WSSS) using the Segment Anything Model (SAM).

741PythonMay 6, 20233 years ago
pascal-vocsamweakly-supervised-learningwsss

Similar Papers

Cite this paper

@article{chen2023segment,
  title  = {Segment Anything Model (SAM) Enhanced Pseudo Labels for Weakly Supervised Semantic Segmentation},
  author = {Tianle Chen and Zheda Mai and Ruiwen Li and Wei-lun Chao},
  year   = {2023},
  eprint = {2305.05803},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.05803v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.05803.svg)](https://codeofpaper.com/paper/2305.05803)

Discussion