Enhancing Whole Slide Image Classification through Supervised Contrastive Domain Adaptation
Ilán Carretero, Pablo Meseguer, Rocío del Amor, Valery Naranjo
TL;DR
This work tackles domain shift in histopathology caused by staining and scanning differences across hospitals. It introduces SCDA, a domain adaptation framework that combines supervised contrastive learning with a cross-domain constraint within a MIL-based slide representation, coupled with MI-SimpleShot for prototype-based classification. The method uses patch-level PLIP features and batch-global pooling to obtain slide representations, which are aligned across centers and then classified with class prototypes. Experiments on a two-center skin cancer WSI dataset (608 slides, six subtypes) show that SCDA outperforms staining normalization and non-adapted baselines, including in few-shot settings, indicating strong cross-center generalization and potential for efficient deployment in multi-center clinical workflows.
Abstract
Domain shift in the field of histopathological imaging is a common phenomenon due to the intra- and inter-hospital variability of staining and digitization protocols. The implementation of robust models, capable of creating generalized domains, represents a need to be solved. In this work, a new domain adaptation method to deal with the variability between histopathological images from multiple centers is presented. In particular, our method adds a training constraint to the supervised contrastive learning approach to achieve domain adaptation and improve inter-class separability. Experiments performed on domain adaptation and classification of whole-slide images of six skin cancer subtypes from two centers demonstrate the method's usefulness. The results reflect superior performance compared to not using domain adaptation after feature extraction or staining normalization.
