Contrastive fine-tuning against stain and scanner bias improves robustness and downstream performance across pathology foundation models
Not on the map. Why?
Abstract (arXiv)
Histopathology foundation models achieve strong performance across diverse downstream tasks, yet their representations have been shown to encode scanner- and site-specific biases, creating generalization gaps and potentially limiting real-world utility. We introduce SPECTRA (Scanner and Pathology Embedding Contrastive Tuning for Robust Alignment), a model-agnostic contrastive learning post-training framework which explicitly encourages scanner- and stain-robust representations, to optimize performance and generalization on downstream applications. Using parameter-efficient LoRA adapters trained on matched multi-scanner and multi-stain whole-slide images sourced from the PLISM dataset, our method aligns spatially corresponding regions across acquisition conditions (scanner, stain), using other locations within each candidate condition as negatives. SPECTRA improved PathoROB robustness index, gene-expression prediction on HEST, slide-level classification AUC on CPTAC, and held-out PLISM retrieval for every model. Overall tile-level classification on THUNDER also improved, with exceptions for segmentation and calibration tasks. We open-source our training and evaluation codebases and release adapters and model weights for selected backbones.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 15 of its 31 references that are in the map. Submitted 6 Nov 2026.
Builds on
15 of 31 references.
References · 15
- 2018Representation Learning with Contrastive Predictive Codingcited by 8,178
- 2015Domain-Adversarial Training of Neural Networkscited by 3,135
- 2017Fine-tuning CNN Image Retrieval with No Human Annotationcited by 511
- 2019Quantifying the effects of data augmentation and stain color normalization in convolutional neural networks for computational pathologycited by 190
- 2024HEST-1k: A Dataset for Spatial Transcriptomics and Histology Image Analysiscited by 127
- 2024Phikon-v2, A large and public feature extractor for biomarker predictioncited by 94
- 2025Accelerating Data Processing and Benchmarking of AI Models for Pathologycited by 79
- 2025Distilling foundation models for robust and efficient models in digital pathologycited by 45
- 2022RandStainNA: Learning Stain-Agnostic Features from Histology Slides by Bridging Stain Augmentation and Normalizationcited by 35
- 2025Training state-of-the-art pathology foundation models with orders of magnitude less datacited by 30
- 2026Scanner-Induced Domain Shifts Undermine the Robustness of Pathology Foundation Modelscited by 16
- 2025THUNDER: Tile-level Histopathology image UNDERstanding benchmarkcited by 13
3 more
- 2025Pathology Foundation Models are Scanner Sensitive: Benchmark and Mitigation with Contrastive ScanGen Losscited by 10
- 2026Robustifying pathology foundation models via fine-tuningcited by 2
- 2026OpenMidnight: Closing the Performance Gap Between Open and Proprietary Pathology Foundation Modelscited by 2
Built on by
Not cited yet.