Tempering and few-shot calibration of pathology foundation models improve digital biomarker reproducibility across slide scanners
Abstract
Pathology foundation models underpin a growing number of histology-based cancer biomarkers, but sensitivity to slide scanner-specific image signatures degrades cross-center reliability and reproducibility.
We developed a foundation model fine-tuning method that improved consistency in head-and-neck cancer human papillomavirus (HPV) prediction, colorectal cancer microsatellite instability (MSI) identification, prostate cancer grading and breast cancer phenotyping.
This tempering method decreased cross-scanner prediction differences by 67.5% for HPV (95% CI 59.0-73.9%), 69.3% for MSI (95% CI 51.9-76.5%) and 63.4%-81.2% for breast signatures.
Cross-scanner prostate grade agreement rose from 42.5% to 92.7%.
Under full scanner-HPV confounding during training, AUROC fell from 0.80 to 0.68 with original model features but only from 0.86 to 0.84 with tempering.
Unlike post hoc feature calibration, tempering used only public data yet matched or exceeded on-site calibration.
These findings support tempering to reduce scanner dependence of pathology foundation models.