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

arXiv:2611.31536 · q-bio.QM, cs.AI, cs.CV · Submitted 2026-11-23 · Read on arXiv

Listen

Radio episode about this paper

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.

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

q-bio.QM, cs.AI, cs.CV

Submitted: 2026-11-23

Updated: 2026-11-23

License: http://creativecommons.org/licenses/by-nc-nd/4.0/

Importance score: 97/100

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…

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

Summary

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. p. 0

Where the paper says it

edu; apearson5@medicine. edu 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.

<ref:2611.31536#pg2>

**The core finding is that tempering a pathology foundation model by low-rank adaptation using public registered cross-scanner images attenuates the confounding effects of acquisition method **

How the training signal is built

The tempering method applies self-supervised fine tuning to a foundation model so that registered views of the same tissue from different scanners share one representation, anchored to the original model's embedding of a reference view.<ref:2611.31536#pg4>

This involves training low-rank adapters (LoRA) on the attention and feed-forward projections of the transformer, along with a content-conditioned correction head.<ref:2611.31536#pg8>

The alignment loss is defined as the L1 distance between class-token embeddings, L = ǁh(fθ(c)) − f0(r)ǁ1, ensuring the target remains anchored to the original representation.<ref:2611.31536#pg8, "The alignment loss was the L1 distance between class-token embeddings, ℒ = ǁh(fθ(c)) − f₀(r)ǁ_, so that the target remained anchored to the original representation">

Where the gains come from

Tempering demonstrates significant improvements across various clinical applications by correcting scanner dependence in the shared encoder using only public data.<ref:2611.31536#pg7>

Specifically, tempering decreased cross-scanner prediction differences by 67.5% for HPV (95% CI 59. p. 0

Where the paper says it

edu 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.

0–73.9%), 69.3% for MSI (95% CI 51. p. 0
Where the paper says it

edu 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.

9–76.5%) and 63.4%–81.2% for breast signatures. p. 0
Where the paper says it

edu 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.

<ref:2611.31536#pg2>

For prostate cancer grading, cross-scanner agreement rose from 42.5% to 92.7%, and tempered features increased cross-scanner quadratic weighted kappa from 0. p. 3

Where the paper says it

Compared with stock, MIL models trained using Mettle-1. 5 features increased cross-scanner quadratic weighted kappa from 0.

72 to 0.95.<ref:2611.31536#pg4, "Compared with stock, MIL models trained using Mettle-1. p. 3
Where the paper says it

After excluding development specimens and linked cases, 159 specimens from 100 case families remained. Compared with stock, MIL models trained using Mettle-1.

5 features increased cross-scanner quadratic weighted kappa from 0. p. 3
Where the paper says it

Compared with stock, MIL models trained using Mettle-1. 5 features increased cross-scanner quadratic weighted kappa from 0.

72 to 0.95">

Furthermore, tempered features resist scanner–disease confounding during downstream classifier training by losing less discrimination when the training data were confounded compared to models trained on stock features.<ref:2611.31536#pg3, "Models trained on tempered features lost less discrimination when the training data were confounded than models trained on stock features">

The study evaluates four combinations: stock H-optimus-0 or tempered Mettle-1.5, each with or without the calibration head. p. 6

Where the paper says it

Assessment of models by AUROC may fail to capture this effect16. In our experiments, tempered features improved fixed-threshold agreement between scanners across models trained to predict head and neck cancer HPV status, colon cancer MSI status, and prostate cancer grade, without change in AUROC.

<ref:2611.31536#pg7>

The results show that correcting scanner dependence in the shared encoder makes predictions reproducible across scanners in all four applications, matching or exceeding calibration fitted on the evaluation scanners.<ref:2611.31536#pg7>

Tempering improves fixed-threshold agreement between scanners across models trained to predict head and neck cancer HPV status, colon cancer MSI status, and prostate cancer grade without changing AUROC.<ref:2611.31536#pg7, "In our experiments, tempered features improved fixed-threshold agreement between scanners across models trained to predict head and neck cancer HPV status, colon cancer MSI status, and prostate cancer grade">

Tempering also improves the metric of scanner dependence most relevant to clinical deployment, namely calls at a fixed threshold.<ref:2611.31536#pg7, "Tempering also improves the metric of scanner dependence most relevant to clinical deployment, namely calls at a fixed threshold">

This is important because assessment by AUROC may fail to capture this effect and tempered features improved fixed-threshold agreement between scanners across models trained to predict head and neck cancer HPV status, colon cancer MSI status, and prostate cancer grade without change in AUROC.<ref:2611.31536#pg7, "In our experiments, tempered features improved fixed-threshold agreement between scanners across models trained to predict head and neck cancer HPV status, colon cancer MSI status, and prostate cancer grade without change in AUROC">

The study has limitations because results demonstrate reproducibility primarily across scanners whose manufacturers were represented in the tempering data and at the site where calibration was fitted.<ref:2611.31536#pg7, "This study has limitations. p. 6

Where the paper says it

These results also reinforce that validation of biomarkers for use across sites should include paired acquisitions and fixed-threshold agreement. This study has limitations.

These results demonstrate reproducibility primarily across scanners whose manufacturers were represented in the tempering data and at the site where calibration was fitted">

Transfer to other devices is less certain because no Olympus device was used in tempering, and on the VS200 tempering reduced discrepancy for MSI and the breast signatures but not for HPV.<ref:2611.31536#pg7, "No Olympus device was used in tempering, and on the VS200 tempering reduced discrepancy for MSI and the breast signatures but not for HPV">

The authors note that model behavior may differ for encoders with other pretraining because they tempered one foundation model.<ref:2611.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Tempering improves digital biomarker reproducibility by decreasing 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. This allows downstream models to be more consistent across scanners compared to models trained on stock features despite having no robustness-specific adaptation during MIL training.

  2. The tempered encoder Mettle-1.5 is more robust against scanner-outcome confounding; it lost less discrimination when the training data were confounded than stock-feature models did, and its AUROC was higher under complete confounding.

  3. Tempering preserves biological performance while reducing scanner dependence; for prostate grading, Mettle-1.5 increased cross-scanner quadratic weighted kappa from 0.72 to 0.95 and exact grade agreement between scanners from 42.5% to 92.7%.

  4. The system can be deployed across laboratories without a site-specific correction step because the tempered encoder can be used across laboratories without a site-specific correction step.

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.

Sources

Related papers