Pathologist’s Brief
Briefing · Digital pathology

Predicting ER, PR and HER2 from breast H&E slides with foundation models

Quick answer

Two open-source models predicted oestrogen receptor status from breast H&E slides more reliably than progesterone receptor or HER2 status. Both missed most HER2 positives at the tested threshold. Immunohistochemistry remains the test.

Black-and-white photo of two breast tissue slides on a bench beside a monitor showing a curve and a flat dashed line.
AI-generated illustration, Pathologist’s Brief
On this page
  1. Reporting
  2. Interpretation
  3. Opinion
  4. Limits
  5. Frequently asked questions

#Reporting

Atiya et al., authors in the United States and Canada, evaluated two open-source slide-level foundation models for predicting oestrogen receptor (ER), progesterone receptor (PR) and HER2 status in breast cancer. The study used H&E whole-slide images and recorded biomarker results from one public multi-institution research dataset, as reported in Cancers, August 2026.

Each model converted a whole-slide image into an embedding, a numerical summary of the slide. The embeddings were kept frozen while a simple logistic regression classifier was trained on them. The foundation models were used without fine-tuning.

The ER analysis included 937 cases and 995 slides, with 78.3% of slides positive. PR included 934 cases and 992 slides, with 68.4% positive. HER2 included 646 cases and 691 slides, with 21.1% positive. Cases with equivocal HER2 immunohistochemistry (IHC 2+) and no fluorescence in situ hybridisation (FISH) result were excluded.

The authors used a 50/25/25 patient-level split for training, validation and testing, keeping all slides from each patient together within each split. They repeated this over 10 random partitions of the same cohort and reported means and 95% intervals spanning the 2.5th to 97.5th percentiles. Sensitivity, specificity and positive predictive value (PPV) were measured at the default threshold of 0.5.

AUROC measures how well scores rank positives above negatives. The area under the precision-recall curve (AUPRC) summarises the trade-off between how many positives are detected and how many positive calls are correct across thresholds. Its random baseline equals the proportion of positives. PPV is the share of positive calls that are correct at a chosen threshold.

Paired values below follow the same model order throughout.

  • ER. AUROC was 0.885 (0.848 to 0.921) and 0.877 (0.831 to 0.914). AUPRC was 0.954 (0.940 to 0.964) and 0.955 (0.938 to 0.969). Sensitivity was 0.953 and 0.948, specificity was 0.613 (0.494 to 0.721) and 0.553 (0.459 to 0.694), and PPV was 0.898 and 0.885.
  • PR. AUROC was 0.799 and 0.791. AUPRC was 0.868 and 0.864, specificity was 0.524 and 0.462, and PPV was 0.807 and 0.785.
  • HER2. AUROC was 0.743 (0.697 to 0.799) and 0.706 (0.645 to 0.754). AUPRC was 0.453 (0.347 to 0.527) and 0.406 (0.332 to 0.455), about 2-fold above the random baseline of 0.211. Sensitivity was 0.083 and 0.066, while specificity was 0.979 and 0.984. Both models called almost everything negative at the default threshold. PPV varied widely across partitions, with means of 0.446 (0.000 to 0.931) and 0.498 (0.075 to 0.916).

#Interpretation

ER looks closest to a possible aid for triage or quality control. Its strong retrospective ranking warrants prospective validation. Positive calls look reliable partly because ER positivity is common in the dataset. The PPVs of 0.898 and 0.885 are only modestly above the 78.3% positivity that would set the benchmark for calling every slide positive, and low specificity means many negatives were flagged as positive.

PR performance was moderate and supports studying a supplementary role at most, with IHC confirmation still required. For HER2, the precision-recall results at 21.1% prevalence give a more cautious picture than AUROC alone. At the tested threshold, both models missed most positives, making the predictions unsuitable for clinical decisions. The authors suggest calibrating the threshold and studying approaches that combine images with other kinds of data.

IHC remains the test. Where IHC is costly or slow, including in laboratories in India and elsewhere, a validated tool could help prioritise testing or flag a result for a double-check. Any such use would first need validation on independent cohorts that reflect local slides, stains, scanners and biomarker prevalence.

#Opinion

This clearly labelled retrospective benchmark generates hypotheses for prospective studies. Its main contribution is to show what reporting AUPRC and threshold-specific PPV beside AUROC adds. The authors propose reporting both as a minimum standard. A benchmark on one dataset cannot establish readiness for routine practice.

#Limits

The HER2 figures in the introduction conflict with the results. The figures above come from the results. The discussion claims an AUPRC advantage for one model, but the intervals overlap for ER and PR, and the models performed comparably for those markers. There were no formal pairwise tests.

There was no external validation. The random partitions overlap because they come from the same cohort, so the reported intervals understate the uncertainty about performance beyond that cohort. Positivity was reported per slide, but it is unclear whether the performance metrics were calculated per slide or per patient. Some patients contributed several slides.

Preprocessing differed between models. For one, the authors used a pre-released feature file. For the other, they extracted features themselves. The authors list a common preprocessing protocol as future work.

The case count fell from 937 for ER to 646 for HER2. The paper gives no breakdown of exclusions for equivocal IHC without FISH versus missing data. HER2 thresholds were not calibrated, and the study did not use class balancing.

The study did not analyse what features drove the predictions or assess performance by demographic group or fairness. The methods describe a cohort restricted to ductal and lobular carcinomas, while the limitations describe pooling a wider set of subtypes. The paper did not evaluate Ki-67.

Frequently asked questions

Can a model rank HER2 cases reasonably well and still miss most positives?

Yes, ranking and making a positive call are different tasks. A model can generally score positive slides above negative ones, yet assign scores below the chosen threshold to most positives. That is what the low sensitivity and the predominance of negative calls show at the tested threshold.

Why report PPV if a study already gives AUPRC?

PPV tells you how often a positive call is right at the threshold the study actually used. AUPRC describes how precision and recall trade off as the threshold changes. Its random baseline moves with the proportion of positives, which matters when comparing biomarkers of different prevalence.

Does splitting by patient tell me how the model will do in my lab?

A patient-level split only tests performance within the dataset used in this study. It keeps slides from the same patient together, but repeating the split still uses the same pool of patients. Validation on independent local material would show how the model performs with the laboratory's stains, scanners and prevalence.

Source

https://doi.org/10.3390/cancers18152475 ↗

For education and professional reference. This does not give patient-specific advice or replace professional judgement, local protocols or consultation. Editorial standards.