Prototype-Based Image Prompting for Weakly Supervised Histopathological Image Segmentation
Qingchen Tang, Lei Fan, Maurice Pagnucco, Yang Song
TL;DR
This paper tackles the challenge of weakly supervised segmentation in histopathology by introducing PBIP, a prototype-based image prompting framework. PBIP constructs a multi-prototype image bank and uses a contrastive prototype–foreground matching objective to refine CAMs, addressing inter-class homogeneity and intra-class heterogeneity. It combines a SegFormer-based ClassNet with a MedCLIP-powered ImgMatchNet to generate robust pseudo-masks and then trains a second-stage fully supervised model, achieving state-of-the-art results on four histopathology datasets. The results underscore the efficacy of image-based prompts over text prompts in this domain and highlight the importance of carefully designed prototype-based supervision for complex tissue structures.
Abstract
Weakly supervised image segmentation with image-level labels has drawn attention due to the high cost of pixel-level annotations. Traditional methods using Class Activation Maps (CAMs) often highlight only the most discriminative regions, leading to incomplete masks. Recent approaches that introduce textual information struggle with histopathological images due to inter-class homogeneity and intra-class heterogeneity. In this paper, we propose a prototype-based image prompting framework for histopathological image segmentation. It constructs an image bank from the training set using clustering, extracting multiple prototype features per class to capture intra-class heterogeneity. By designing a matching loss between input features and class-specific prototypes using contrastive learning, our method addresses inter-class homogeneity and guides the model to generate more accurate CAMs. Experiments on four datasets (LUAD-HistoSeg, BCSS-WSSS, GCSS, and BCSS) show that our method outperforms existing weakly supervised segmentation approaches, setting new benchmarks in histopathological image segmentation.
