Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Weakly Supervised Contrastive Learning for Histopathology Patch Embeddings

About

Digital histopathology whole slide images (WSIs) provide gigapixel-scale high-resolution images that are highly useful for disease diagnosis. However, digital histopathology image analysis faces significant challenges due to the limited training labels, since manually annotating specific regions or small patches cropped from large WSIs requires substantial time and effort. Weakly supervised multiple instance learning (MIL) offers a practical and efficient solution by requiring only bag-level (slide-level) labels, while each bag typically contains multiple instances (patches). Most MIL methods directly use frozen image patch features generated by various image encoders as inputs and primarily focus on feature aggregation. However, feature representation learning for encoder pretraining in MIL settings has largely been neglected. In our work, we propose a novel feature representation learning framework called weakly supervised contrastive learning (WeakSupCon) that incorporates bag-level label information during training. Our method does not rely on instance-level pseudo-labeling, yet it effectively separates patches with different labels in the feature space. Experimental results demonstrate that the image features generated by our WeakSupCon method lead to improved downstream MIL performance compared to self-supervised contrastive learning approaches in three datasets. Our related code is available at github.com/BzhangURU/Paper_WeakSupCon_for_MIL

Bodong Zhang, Xiwen Li, Hamid Manoochehri, Xiaoya Tang, Deepika Sirohi, Beatrice S. Knudsen, Tolga Tasdizen• 2026

Related benchmarks

TaskDatasetResultRank
Histopathology classificationRVT (test)
Balanced Accuracy80.14
8
Histopathology classificationkidney metastasis (test)
Balanced Accuracy0.9091
8
Whole Slide Image classificationCamelyon16 1.0 (test)
Balanced Acc93.18
8
Whole Slide Image classificationRenal Vein Thrombosis (RVT) 1.0 (test)
Balanced Acc80.14
8
Whole Slide Image classificationKidney Metastasis 1.0 (test)
Balanced Accuracy90.91
8
Histopathology classificationCAMELYON16 (test)
Balanced Accuracy93.18
8
Showing 6 of 6 rows

Other info

Follow for update