CoSAM: Self-Correcting SAM for Domain Generalization in 2D Medical Image Segmentation
Not on the map. Why?
Abstract (arXiv)
Medical images often exhibit distribution shifts due to variations in imaging protocols and scanners across different medical centers. Domain Generalization (DG) methods aim to train models on source domains that can generalize to unseen target domains. Recently, the segment anything model (SAM) has demonstrated strong generalization capabilities due to its prompt-based design, and has gained significant attention in image segmentation tasks. Existing SAM-based approaches attempt to address the need for manual prompts by introducing prompt generators that automatically generate these prompts. However, we argue that auto-generated prompts may not be sufficiently accurate under distribution shifts, potentially leading to incorrect predictions that still require manual verification and correction by clinicians. To address this challenge, we propose a method for 2D medical image segmentation called Self-Correcting SAM (CoSAM). Our approach begins by generating coarse masks using SAM in a prompt-free manner, providing prior prompts for the subsequent stages, and eliminating the need for prompt generators. To automatically refine these coarse masks, we introduce a generalized error decoder that simulates the correction process typically performed by clinicians. Furthermore, we generate diverse prompts as feedback based on the corrected masks, which are used to iteratively refine the predictions within a self-correcting loop, enhancing the generalization performance of our model. Extensive experiments on two medical image segmentation benchmarks across multiple scenarios demonstrate the superiority of CoSAM over state-of-the-art SAM-based methods.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 32 of its 47 references that are in the map. First posted on arXiv 15 Nov 2024.
Builds on
32 of 47 references.
References · 32
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023Segment Anythingcited by 8,234
- 2021Domain Generalization: A Surveycited by 764
- 2023Customized Segment Anything Model for Medical Image Segmentationcited by 280
- 2019REFUGE Challenge: A Unified Framework for Evaluating Automated Methods for Glaucoma Assessment from Fundus Photographscited by 228
- 2020Domain Adaptive Ensemble Learningcited by 156
- 2020Shape-aware Meta-learning for Generalizing Prostate MRI Segmentation to Unseen Domainscited by 124
- 2020Cross-domain Face Presentation Attack Detection via Multi-domain Disentangled Representation Learningcited by 93
- 2017Transfer Learning for Domain Adaptation in MRI: Application in Brain Lesion Segmentationcited by 66
20 more
- 2023Rethinking Domain Generalization for Face Anti-spoofing: Separability and Alignmentcited by 48
- 2024Unleashing the Potential of SAM for Medical Adaptation via Hierarchical Decodingcited by 48
- 2022Rethinking Data Augmentation for Single-source Domain Generalization in Medical Image Segmentationcited by 45
- 2021Semi-supervised Meta-learning with Disentanglement for Domain-generalised Medical Image Segmentationcited by 36
- 2021Domain and Content Adaptive Convolution based Multi-Source Domain Generalization for Medical Image Segmentationcited by 30
- 2023DeSAM: Decoupled Segment Anything Model for Generalizable Medical Image Segmentationcited by 26
- 2024APSeg: Auto-Prompt Network for Cross-Domain Few-Shot Semantic Segmentationcited by 26
- 2024UN-SAM: Universal Prompt-Free Segmentation for Generalized Nuclei Imagescited by 22
- 2023Frequency-mixed Single-source Domain Generalization for Medical Image Segmentationcited by 21
- 2022Localized Adversarial Domain Generalizationcited by 19
- 2023MI-SegNet: Mutual Information-Based US Segmentation for Unseen Domain Generalizationcited by 18
- 2023Treasure in Distribution: A Domain Randomization based Multi-Source Domain Generalization for 2D Medical Image Segmentationcited by 15
- 2024ASPS: Augmented Segment Anything Model for Polyp Segmentationcited by 12
- 2024De-LightSAM: Modality-Decoupled Lightweight SAM for Generalizable Medical Segmentationcited by 11
- 2024S-SAM: SVD-based Fine-Tuning of Segment Anything Model for Medical Image Segmentationcited by 11
- 2024A Survey on Domain Generalization for Medical Image Analysiscited by 9
- 2024Prompting Segment Anything Model with Domain-Adaptive Prototype for Generalizable Medical Image Segmentationcited by 9
- 2023Domain Generalization with Adversarial Intensity Attack for Medical Image Segmentationcited by 8
- 2024DB-SAM: Delving into High Quality Universal Medical Image Segmentationcited by 5
- 2024AM-SAM: Automated Prompting and Mask Calibration for Segment Anything Modelcited by 3
Built on by
Citing papers per year: 2025: 4; 2026: 1.
5 papers.
- 2025OmniSAM: Omnidirectional Segment Anything Model for UDA in Panoramic Semantic Segmentationcited by 28
- 2025MemorySAM: Memorize Modalities and Semantics with Segment Anything Model 2 for Multi-modal Semantic Segmentationcited by 10
- 2025Zero-shot Domain Generalization of Foundational Models for 3D Medical Image Segmentation: An Experimental Studycited by 3
- 2025Optimization of MedSAM model based on bounding box adaptive perturbation algorithmcited by 0
- 2026EviATTA: Evidential Active Test-Time Adaptation for Medical Segment Anything Modelscited by 0
- 2026EviATTA: Evidential Active Test-Time Adaptation for Medical Segment Anything Models15 Mar 2026
- 2025Zero-shot Domain Generalization of Foundational Models for 3D Medical Image Segmentation: An Experimental Study28 Mar 2025
- 2025Optimization of MedSAM model based on bounding box adaptive perturbation algorithm25 Mar 2025
- 2025OmniSAM: Omnidirectional Segment Anything Model for UDA in Panoramic Semantic Segmentation10 Mar 2025
- 2025MemorySAM: Memorize Modalities and Semantics with Segment Anything Model 2 for Multi-modal Semantic Segmentation9 Mar 2025