Co2SAM: Exploring Co-Occurrence Challenges With SAM in Weakly Supervised Semantic Segmentation

Weakly supervised semantic segmentation builds a semantic segmentation model with only image-level annotations, which provide only categorical information without localization details. This limitation leads to persistent challenges related to class co-occurrence. Traditional methods often address this issue by incorporating external data or employing data augmentation techniques. In contrast, we benefit from the large and diverse amount of data seen during segment anything model (SAM) pretraining to exploit its potential recognition ability and solve the class co-occurrence problem with only the pretrained model. Furthermore, existing SAM-based methods typically adopt SAM to produce pseudo-labels, which are then employed to train separate segmentation networks without employing SAM as a backbone for direct segmentation with image-level labels. In addition, we found that although the SAM-based approach can solve the class co-occurrence problem, it still suffers from full target leakage. Based on these observations, we propose a one-stage, dual-teachers–one-student network architecture, termed Co2SAM. Specifically, we utilize Focal loss, Contrast loss, Dice loss, and Template loss, and fine-tune the image encoder with LoRA. Experimental results substantiate the effectiveness of our Co2SAM. The code is available at <uri xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">https://github.com/chunmengliu666/Co2SAM</uri>.

Authors

Institutions

Publication Details

Journal
IEEE Internet of Things Journal
Published
2025-08-14
DOI
https://doi.org/10.1109/jiot.2025.3598824
Primary Topic
Machine Learning in Materials Science
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Co2SAM: Exploring Co-Occurrence Challenges With SAM in Weakly Supervised Semantic Segmentation

Qiaochuan Chen, Guangyao Li, Qingguo Xiao, Haoran Zhou et al.
IEEE Internet of Things Journal
Machine Learning in Materials Science
article

Co2SAM: Exploring Co-Occurrence Challenges With SAM in Weakly Supervised Semantic Segmentation

Qiaochuan Chen, Guangyao Li, Qingguo Xiao, Haoran Zhou, Guangyao Li, Yao Shen
article en

Abstract

Weakly supervised semantic segmentation builds a semantic segmentation model with only image-level annotations, which provide only categorical information without localization details. This limitation leads to persistent challenges related to class co-occurrence. Traditional methods often address this issue by incorporating external data or employing data augmentation techniques. In contrast, we benefit from the large and diverse amount of data seen during segment anything model (SAM) pretraining to exploit its potential recognition ability and solve the class co-occurrence problem with only the pretrained model. Furthermore, existing SAM-based methods typically adopt SAM to produce pseudo-labels, which are then employed to train separate segmentation networks without employing SAM as a backbone for direct segmentation with image-level labels. In addition, we found that although the SAM-based approach can solve the class co-occurrence problem, it still suffers from full target leakage. Based on these observations, we propose a one-stage, dual-teachers–one-student network architecture, termed Co2SAM. Specifically, we utilize Focal loss, Contrast loss, Dice loss, and Template loss, and fine-tune the image encoder with LoRA. Experimental results substantiate the effectiveness of our Co2SAM. The code is available at <uri xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">https://github.com/chunmengliu666/Co2SAM</uri>.

IEEE Internet of Things JournalVol. 12(21)
Tongji University (CN), Shanghai University of Engineering Science (CN), Linyi University (CN)
National Natural Science Foundation of China
Reduced inequalities
Openalex Percentile: Top 84%
Machine Learning in Materials Science
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.