[Paper Review] UN-SAM: Universal Prompt-Free Segmentation for Generalized Nuclei Images
UN-SAM proposes a prompt-free nuclei segmentation framework with Domain-adaptive Tuning Encoder, Multi-scale Self-Prompt Generation, and Domain Query-enhanced Decoder to achieve strong cross-domain generalization, including zero-shot performance, without manual prompts.
In digital pathology, precise nuclei segmentation is pivotal yet challenged by the diversity of tissue types, staining protocols, and imaging conditions. Recently, the segment anything model (SAM) revealed overwhelming performance in natural scenarios and impressive adaptation to medical imaging. Despite these advantages, the reliance of labor-intensive manual annotation as segmentation prompts severely hinders their clinical applicability, especially for nuclei image analysis containing massive cells where dense manual prompts are impractical. To overcome the limitations of current SAM methods while retaining the advantages, we propose the Universal prompt-free SAM framework for Nuclei segmentation (UN-SAM), by providing a fully automated solution with remarkable generalization capabilities. Specifically, to eliminate the labor-intensive requirement of per-nuclei annotations for prompt, we devise a multi-scale Self-Prompt Generation (SPGen) module to revolutionize clinical workflow by automatically generating high-quality mask hints to guide the segmentation tasks. Moreover, to unleash the generalization capability of SAM across a variety of nuclei images, we devise a Domain-adaptive Tuning Encoder (DT-Encoder) to seamlessly harmonize visual features with domain-common and domain-specific knowledge, and further devise a Domain Query-enhanced Decoder (DQ-Decoder) by leveraging learnable domain queries for segmentation decoding in different nuclei domains. Extensive experiments prove that UN-SAM with exceptional performance surpasses state-of-the-arts in nuclei instance and semantic segmentation, especially the generalization capability in zero-shot scenarios. The source code is available at https://github.com/CUHK-AIM-Group/UN-SAM.
Motivation & Objective
- Address the need for automatic, high-quality nuclei segmentation without labor-intensive prompts.
- Achieve robust generalization across diverse tissue types, staining protocols, and imaging conditions.
- Eliminate per-nucleus annotation requirements while maintaining high segmentation accuracy in both semantic and instance tasks.
Proposed method
- Domain-adaptive Tuning Encoder (DT-Encoder) adds domain-common and domain-specific embeddings to the frozen SAM encoder to harmonize features across nuclei domains.
- Multi-scale Self-Prompt Generation (SPGen) automatically generates high-quality mask hints from multi-scale DT-Encoder features to guide decoding.
- Domain Query-enhanced Decoder (DQ-Decoder) uses domain-specific query embeddings and self-prompts to refine segmentation across domains.
- A simple two-term loss combines focal loss and dice loss for segmentation training.
- Training proceeds domain-by-domain with inheritance of domain-common embeddings to encourage continual learning.
Experimental results
Research questions
- RQ1Can UN-SAM perform accurate semantic and instance segmentation of nuclei without any manual prompts?
- RQ2How well does a domain-adaptive encoder and domain-aware decoder generalize across diverse nuclei image domains, including zero-shot scenarios?
- RQ3Do self-generated prompts from multi-scale features provide reliable guidance for segmentation compared to manual prompts?
- RQ4What is the impact of domain-specific and domain-common embeddings on cross-domain generalization in nuclei segmentation?
Key findings
- UN-SAM achieves state-of-the-art or competitive results on multiple nuclei segmentation benchmarks without manual prompts.
- The DT-Encoder enables effective cross-domain feature tuning by incorporating domain-common and domain-specific embeddings while keeping SAM frozen.
- SPGen generates high-quality self-prompts from multi-scale features, reducing false positives and guiding accurate segmentation.
- The DQ-Decoder with domain queries improves decoding across nuclei domains, enhancing generalization in semantic and instance segmentation.
- In zero-shot generalization tests, UN-SAM shows substantial performance gains over several medical SAM baselines.
- Across cross-domain experiments, UN-SAM demonstrates strong generalization and competitive or superior performance even when fine-tuned on different domains.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.