Zero-shot segmentation of skin tumors in whole-slide images with vision-language foundation models
Santiago Moreno, Pablo Meseguer, Rocío del Amor, Valery Naranjo
TL;DR
The paper tackles the challenge of annotating skin neoplasms in gigapixel whole-slide images by introducing ZEUS, a zero-shot segmentation pipeline that leverages frozen vision-language foundation models and class-specific prompt ensembles. By tiling WSIs into patches, extracting visual features, and matching them to text-derived prototypes via cosine similarity, ZEUS generates high-resolution tumor masks without pixel-level annotations. Experiments on two in-house datasets (primary spindle cell neoplasms and cutaneous metastases) demonstrate competitive zero-shot segmentation performance and reveal how prompt design, domain shifts, and institutional variability shape results. The work highlights the potential to reduce annotation burden and enable scalable, explainable tumor delineation in diagnostic workflows, while also pointing to domain adaptation and multi-scale strategies to improve robustness.
Abstract
Accurate annotation of cutaneous neoplasm biopsies represents a major challenge due to their wide morphological variability, overlapping histological patterns, and the subtle distinctions between benign and malignant lesions. Vision-language foundation models (VLMs), pre-trained on paired image-text corpora, learn joint representations that bridge visual features and diagnostic terminology, enabling zero-shot localization and classification of tissue regions without pixel-level labels. However, most existing VLM applications in histopathology remain limited to slide-level tasks or rely on coarse interactive prompts, and they struggle to produce fine-grained segmentations across gigapixel whole-slide images (WSIs). In this work, we introduce a zero-shot visual-language segmentation pipeline for whole-slide images (ZEUS), a fully automated, zero-shot segmentation framework that leverages class-specific textual prompt ensembles and frozen VLM encoders to generate high-resolution tumor masks in WSIs. By partitioning each WSI into overlapping patches, extracting visual embeddings, and computing cosine similarities against text prompts, we generate a final segmentation mask. We demonstrate competitive performance on two in-house datasets, primary spindle cell neoplasms and cutaneous metastases, highlighting the influence of prompt design, domain shifts, and institutional variability in VLMs for histopathology. ZEUS markedly reduces annotation burden while offering scalable, explainable tumor delineation for downstream diagnostic workflows.
