Contrastive fine-tuning against stain and scanner bias improves robustness and downstream performance across pathology foundation models
Ryan Kim, Hassan Muhammad, Anish Dulal, Paul S. Scotti, Tanishq Mathew Abraham
Abstract
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.
Create a lesson
Metadata
- Comments
- ASCI Workshop, Neurips 2026
Related papers
What Does Hard-Negative Fine-Tuning Teach Multimodal Large Language Models? Controlled Evidence from a Compositional Benchmark
Shared title terminologycs.CVRanjith Chodavarapu
Turkish Multimodal Video Fact-Checking: A New Dataset and a Comparison of Zero-Shot Agentic and Fine-Tuned Systems
Shared title terminologycs.CVAzra Açıl
RSWP: Robust SO(3)-Equivariant Watermarking for Panoramic Images
Shared title terminologycs.CVPengzhen Chen, Yanwei Liu, Xiaoyan Gu et al.
Beyond Attention Maps: Understanding and Improving Medical MLLMs via Visual Values
Shared title terminologycs.CVYichen Zhao, Fenghe Tang, Wenxin Ma et al.
A Multi-Criteria Evaluation of Color Normalization Methods in Histopathology: Nuclei Preservation, Artifact Sensitivity, Background Fidelity, and Downstream Performanc
Shared title terminologycs.CVFalah Jabar, Aria Torkpour, Pasquale Lombardi et al.
SKIA: Spatial-Knowledge Informed Attention for Robust Remote Photoplethysmography under Lower-Face Motion Artifacts
Shared title terminologycs.CVVan-Truong Le, Viet-Tham Huynh, Minh-Triet Tran