WeakMedSAM: Weakly-Supervised Medical Image Segmentation via SAM with Sub-Class Exploration and Prompt Affinity Mining

πŸ“… 2025-03-06
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
This work addresses the high cost of pixel-level annotations in medical image segmentation by proposing WeakMedSAM, a weakly supervised framework requiring only image-level or coarse-grained labelsβ€”no pixel-wise supervision. Methodologically, it introduces a novel subclass exploration module to mitigate interference from co-occurring lesions; a prompt affinity mining module that leverages SAM’s prompting capability to generate high-quality activation maps and guides random walk for precise segmentation; and integrates subclass contrastive learning, prompt-driven affinity graph modeling, and random-walk post-processing within a SAM-based architecture (compatible with SAMUS/EfficientSAM). Evaluated on BraTS 2019, AbdomenCT-1K, and MSD Cardiac benchmarks, WeakMedSAM significantly outperforms existing weakly supervised approaches and achieves performance comparable to state-of-the-art fully supervised methods.

Technology Category

Application Category

πŸ“ Abstract
We have witnessed remarkable progress in foundation models in vision tasks. Currently, several recent works have utilized the segmenting anything model (SAM) to boost the segmentation performance in medical images, where most of them focus on training an adaptor for fine-tuning a large amount of pixel-wise annotated medical images following a fully supervised manner. In this paper, to reduce the labeling cost, we investigate a novel weakly-supervised SAM-based segmentation model, namely WeakMedSAM. Specifically, our proposed WeakMedSAM contains two modules: 1) to mitigate severe co-occurrence in medical images, a sub-class exploration module is introduced to learn accurate feature representations. 2) to improve the quality of the class activation maps, our prompt affinity mining module utilizes the prompt capability of SAM to obtain an affinity map for random-walk refinement. Our method can be applied to any SAM-like backbone, and we conduct experiments with SAMUS and EfficientSAM. The experimental results on three popularly-used benchmark datasets, i.e., BraTS 2019, AbdomenCT-1K, and MSD Cardiac dataset, show the promising results of our proposed WeakMedSAM. Our code is available at https://github.com/wanghr64/WeakMedSAM.
Problem

Research questions and friction points this paper is trying to address.

Reduces labeling cost in medical image segmentation
Improves segmentation accuracy with sub-class exploration
Enhances class activation maps using prompt affinity mining
Innovation

Methods, ideas, or system contributions that make the work stand out.

Weakly-supervised SAM-based medical image segmentation
Sub-class exploration for accurate feature representation
Prompt affinity mining for refined activation maps
πŸ”Ž Similar Papers
H
Haoran Wang
National Key Laboratory for Novel Software Technology and the National Institute of Healthcare Data Science, Nanjing University, Nanjing, Jiangsu, China
L
Lian Huai
BOE Technology Group Co., Ltd., Beijing, China
W
Wenbin Li
National Key Laboratory for Novel Software Technology, Nanjing University, Nanjing, Jiangsu, China
L
Lei Qi
Pattern Learning and Mining (PALM) Lab, School of Computer Science and Engineering, Southeast University, Nanjing, Jiangsu, China
X
Xingqun Jiang
BOE Technology Group Co., Ltd., Beijing, China
Y
Yinghuan Shi
National Key Laboratory for Novel Software Technology, National Institute of Healthcare Data Science, Nanjing University, and Nanjing Drum Tower Hospital, Nanjing, Jiangsu, China