Tempering and few-shot calibration of pathology foundation models improve digital biomarker reproducibility across slide scanners

summary

The gist

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…

In short

Pathology foundation models often struggle with variations between different slide scanners, leading to unreliable results across labs. This study introduces 'tempering,' a method that fine-tunes the model using public, registered images from various scanners. Tempering significantly reduces scanner dependence in the shared encoder, improving reproducibility for biomarkers like HPV status and prostate cancer grading without sacrificing overall accuracy.

Key concepts

Pathology Foundation Models
These are large AI models trained on vast amounts of tissue images to understand histology. They are powerful but can be sensitive to specific imaging characteristics from the scanner used, which causes results to change when the same slide is scanned on a different machine.
Tempering (Low-Rank Adaptation)
This technique modifies the foundation model by training small 'adapters' on registered images from multiple scanners. This forces different scanner outputs to share a common representation, effectively 'tempering' or aligning them so they behave consistently regardless of the original acquisition method.
Cross-Scanner Reproducibility
This measures how consistent a model's prediction is when tested on data from different imaging devices. Tempering improves this by correcting scanner-specific biases, leading to much higher agreement between predictions made on slides scanned by different laboratories or machines.

Terminology used across episodes

This episode discusses

The paper

Tempering and few-shot calibration of pathology foundation models improve digital biomarker reproducibility across slide scanners · Read on arXiv

University of Chicago Department of Medicine and the Dana Farber Cancer Institute Harvard T.H. Chan School of Public Health Chan Zuckerberg Biohub Chicago LLC Geisinger Cancer Institute

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.

Transcript

Introduction to the show: ident: Genomics Radio. Generated commentary on the latest computational biology and genomics papers.

Ines: We're looking at the paper: "Tempering and few-shot calibration of pathology foundation models improve digital biomarker reproducibility across slide scanners".

Title and authors: Marcus: So, let's talk about the title and who wrote this paper, "Tempering and few-shot calibration of pathology foundation models improve digital biomarker reproducibility across slide scanners." It’s by Wen Frank T1*, Rosen Kyler2*, Ramesh Siddhi2, Koo Michael2, Kochanny Sara1, Jain-Liu Sasha1, Dyer Emma1,3,4; Pearson Alexander T1,5†; and Dolezal James M2 <ref:2611.31536#pg1,Wen Frank T1*, Rosen Kyler2*, Ramesh Siddhi2, Koo Michael2, Kochanny Sara1, Jain>.

Ines: It’s interesting that the title focuses on two things: tempering and few-shot calibration. Tempering sounds like this process of aligning different scanner inputs together.

Yuki: And the implication for us is that instead of treating every new scanner as a completely different data source, this method suggests we can use public data to harmonize them effectively.

Marcus: It’s about taking these large foundation models and making them robust enough so that the underlying biology is what drives the prediction, not just how the image was captured.

Ines: What they are doing here is basically teaching the model a shared language across different imaging devices using only public registered images of those same tissues.

The paper's summary: Ines: So, what does this paper actually summarize? They developed this fine-tuning method called tempering to improve consistency in predictions for several things, specifically head-and-neck cancer human papillomavirus HPV prediction and colorectal cancer microsatellite instability MSI identification.

Marcus: The summary points out that scanner-dependent prediction shifts are often missed by standard metrics like AUROC, but they become obvious when you apply a fixed decision threshold.

Yuki: That makes sense from a clinical standpoint; doctors don't just look at the raw accuracy score, they look at what happens when you set a cutoff for making a diagnosis.

Ines: They also mention that confounding during training can introduce bias if the acquisition site or scanner correlates with the outcome, meaning the model might learn to rely on image acquisition signatures instead of biology itself.

Marcus: So tempering intervenes in several modeling stages, including stain normalization and feature augmentation, and then specifically correcting pretrained features.

The paper's improvements: Ines: The paper shows some pretty concrete improvements. For HPV status in head and neck cancers, tempering increased consistency across scanners by sixty-seven point five percent with a ninety-five percent confidence interval between fifty-nine point zero and seventy-three point nine.

Yuki: Sixty-seven point five percent is a significant reduction in the difference between predictions on different machines, which speaks to a much more stable biomarker reading across different labs.

Marcus: And for prostate cancer grading, they saw cross-scanner agreement go from forty-two point five percent up to ninety-two point seven percent. They also noted that tempered features increased the quadratic weighted kappa score from zero point seventy-two to zero point nine five.

Ines: That shift in the kappa score shows that not only are the predictions more consistent, but they are actually much better at agreeing on what grade or status is correct when tested across different scanners.

Yuki: And they found that these tempered features resist scanner-disease confounding during downstream classifier training because the models lose less discrimination when the training data were confounded compared to models trained on stock features.

Conclusion: Marcus: So, wrapping up, this paper shows that correcting scanner dependence in the shared encoder makes predictions reproducible across scanners in all four applications they tested, matching or exceeding what you get from calibration fitted on just the evaluation scanners.

Ines: They found that tempering improves fixed-threshold agreement between scanners for predicting head and neck cancer HPV status, colon cancer MSI status, and prostate cancer grade without changing the area under the receiver operating characteristic curve.

Yuki: What this means for us is that we can deploy these models across different laboratories without needing a site-specific correction step every single time.

Marcus: But they did point out some limitations. They found that reproducibility is primarily across scanners whose manufacturers were represented in the tempering data and at the site where calibration was fitted.

Ines: And they also noted that transfer to other devices isn't certain because no Olympus device was used in the tempering process, and on a different scanner, the VS200, it reduced discrepancy for MSI and breast signatures but not for HPV.

Yuki: It sounds like this is a very helpful step forward in making these powerful foundation models practical tools rather than just lab-specific demonstrations.

More episodes

← Home