Related Experiment Video
Updated: Sep 12, 2026

Industrialized, Artificial Intelligence-guided Laser Microdissection for Microscaled Proteomic Analysis of the Tumor Microenvironment
Published on: June 3, 2022
Segment anything in pathology images with natural language
Zhixuan Chen1, Junlin Hou1, Liqi Lin2
1Department of Computer Science and Engineering, The Hong Kong University of Science and Technology, Hong Kong SAR, China.
Abstract:
Segmenting tissues and cells in pathology images enables quantitative analysis but usually requires task-specific models or repeated spatial prompts. Here we show PathSegmentor, a foundation model that uses natural language descriptions to segment structures across anatomical regions and spatial scales. We assembled PathSeg from 21 public datasets, comprising 275,200 image-mask-label triples organized into a 3-level hierarchy of anatomical region, histological structure and object type. A single PathSegmentor model achieved the highest overall performance across 16 internal datasets and generalized to external public and clinical cohorts. Its text prompts reduced the need to identify every object with points or boxes and remained robust to variations in wording. We further used its predicted structures to explain breast cancer classification models through object-level perturbation and activation maps. These results establish a unified framework for flexible pathology segmentation with potential utility for clinically interpretable image analysis.

