SAM-Path: A Segment Anything Model for Semantic Segmentation in Digital Pathology

Jingwei Zhang, Ke Ma, Saarthak Kapse, Joel Saltz, Maria Vakalopoulou +2 more
7/12/2023
eess.IVcs.CV

No official code found. Best implementation: cvlab-stonybrook/SAMPath (56 stars, last commit 2024-09-25).

Abstract

Semantic segmentations of pathological entities have crucial clinical value in computational pathology workflows. Foundation models, such as the Segment Anything Model (SAM), have been recently proposed for universal use in segmentation tasks. SAM shows remarkable promise in instance segmentation on natural images. However, the applicability of SAM to computational pathology tasks is limited due to the following factors: (1) lack of comprehensive pathology datasets used in SAM training and (2) the design of SAM is not inherently optimized for semantic segmentation tasks. In this work, we adapt SAM for semantic segmentation by introducing trainable class prompts, followed by further enhancements through the incorporation of a pathology encoder, specifically a pathology foundation model. Our framework, SAM-Path enhances SAM's ability to conduct semantic segmentation in digital pathology without human input prompts. Through experiments on two public pathology datasets, the BCSS and the CRAG datasets, we demonstrate that the fine-tuning with trainable class prompts outperforms vanilla SAM with manual prompts and post-processing by 27.52% in Dice score and 71.63% in IOU. On these two datasets, the proposed additional pathology foundation model further achieves a relative improvement of 5.07% to 5.12% in Dice score and 4.50% to 8.48% in IOU.

View on arXivView PDF

Code Implementations(1)

Repository for "SAM-Path: A Segment Anything Model for Semantic Segmentation in Digital Pathology" (MedAGI2023, MICCAI2023 workshop)

5612PythonAug 18, 20232 years ago

Similar Papers

Cite this paper

@article{zhang2023sampath,
  title  = {SAM-Path: A Segment Anything Model for Semantic Segmentation in Digital Pathology},
  author = {Jingwei Zhang and Ke Ma and Saarthak Kapse and Joel Saltz and Maria Vakalopoulou and Prateek Prasanna and Dimitris Samaras},
  year   = {2023},
  eprint = {2307.09570},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.09570v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.09570.svg)](https://codeofpaper.com/paper/2307.09570)

Discussion