atlas

Research map / Detection and segmentation / Weakly supervised detection and segmentation

From SAM to CAMs: Exploring Segment Anything Model for Weakly Supervised Semantic Segmentation

CVPR 2024 · Detection and segmentation › Weakly supervised detection and segmentation · approach: CAM refinement and prototypes · 80 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes S2C, a WSSS framework that transfers SAM's segmentation knowledge into the classifier during training (via prototype contrasting on SAM automatic masks and CAM-prompted SAM self-supervision), improving CAM quality on PASCAL VOC and MS COCO.

Problem

Weakly supervised semantic segmentation from image-level labels suffers from noisy, incomplete CAM seeds; prior SAM-based methods use SAM only at inference, so errors in CAMs propagate.

Approach

Use SAM during classifier training rather than only at inference: SAM-Segment Contrasting pulls pixel features toward prototypes of SAM automatic segments, and the CAM-based Prompting Module turns CAM local peaks into point prompts for SAM, aggregating the resulting class masks with a confidence score (SAM stability times CAM activation) into self-supervision.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use S2C instead of the strongest listed baseline, CLIP-ESWSSS CAM generation · PASCAL VOC 2012 train CAMsmIoU (%): 70.8 -> 76.1Helped
Use S2C instead of the strongest listed baseline, CLIP-ESWSSS pseudo-label generation · PASCAL VOC 2012 train pseudo-labelsmIoU (%): 75.0 -> 81.7Helped
Use S2C instead of MATWSSS segmentation model · PASCAL VOC 2012 valmIoU (%): 73.0 -> 78.2Helped
Use S2C instead of USAGEWSSS segmentation model · PASCAL VOC 2012 testmIoU (%): 72.8 -> 77.5Helped
Use S2C instead of Xu et al.WSSS segmentation model · MS-COCO 2014 valmIoU (%): 45.9 -> 49.8Helped
Add logit-level SSC (ablation)Classification-loss-only baseline · PASCAL VOC 2012 trainmIoU (%): 50.1 -> 57.3Helped
Add feature-level SSC (ablation)Classification-loss-only baseline · PASCAL VOC 2012 trainmIoU (%): 50.1 -> 63.2Helped
Add CPM to feature-level SSC (ablation)S2C classifier · PASCAL VOC 2012 trainmIoU (%): 63.2 -> 76.1Helped
Use multiple local CAM peaks instead of a single global peak (ablation)CPM · PASCAL VOC 2012 trainmIoU (%): 73.0 -> 76.1Helped
Add the SAM stability score to CPM aggregation (ablation)CPM · PASCAL VOC 2012 trainmIoU (%): 72.7 -> 76.1Helped
Add the CAM activation score to CPM aggregation (ablation)CPM · PASCAL VOC 2012 trainmIoU (%): 73.2 -> 76.1Helped
Add a background score map to CPM (ablation)CPM · PASCAL VOC 2012 trainmIoU (%): 74.9 -> 76.1Helped

Surprising findings

Limitations

Experimental setup

Datasets: PASCAL VOC 2012 MS COCO 2014

Benchmarks: PASCAL VOC 2012 MS COCO 2014

Metrics: mIoU

Baselines: AffinityNet IRNet MCT CLIP-ES MAT USAGE BECO ACR

Builds on: Segment Anything Model ReCo regional prototype contrast SAM-based post-processing InfoNCE

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy