Hospital-Specific Bias in Patch-Based Pathology Models
Mengliang Zhang
TL;DR
PFMs in histopathology can encode hospital-specific information, hindering cross-institution generalization. The authors propose a plug-in adversarial adaptor based on a gradient reversal layer to suppress hospital cues in latent features while preserving disease discriminability on frozen backbones. On TCGA-BRCA patches from multiple hospitals, the adaptor reduces hospital-domain bias while maintaining high disease accuracy, with t-SNE visualizations confirming reduced hospital clustering. This work provides a practical methodology and benchmark for achieving domain-invariant representations in computational pathology, facilitating robust deployment across heterogeneous clinical settings.
Abstract
Pathology foundation models (PFMs) achieve strong performance on diverse histopathology tasks, but their sensitivity to hospital-specific domain shifts remains underexplored. We systematically evaluate state-of-the-art PFMs on TCGA patch-level datasets and introduce a lightweight adversarial adaptor to remove hospital-related domain information from latent representations. Experiments show that, while disease classification accuracy is largely maintained, the adaptor effectively reduces hospital-specific bias, as confirmed by t-SNE visualizations. Our study establishes a benchmark for assessing cross-hospital robustness in PFMs and provides a practical strategy for enhancing generalization under heterogeneous clinical settings. Our code is available at https://github.com/MengRes/pfm_domain_bias.
