# How histopathology foundation models perform on slides from held-out centres and scanners

> Random cross-validation can overstate how well histopathology foundation models handle slides from a new centre or scanner. In this benchmark, breast tissue classification exposed gaps that were much smaller in colorectal tumour detection.

Type: Briefing · Topic: Digital pathology
Published: 2026-11-23T15:03:33+00:00
Updated: 2026-11-23T15:03:33+00:00
Canonical URL: https://www.pathologistsbrief.com/article/foundation-models-new-scanners-benchmark
Publisher: Pathologist’s Brief
Source: https://doi.org/10.3390/jimaging12080381
Author: Editor
Reviewer: Pathologist’s Brief editorial team
Review date: 2026-11-23

## Reporting

Akebli et al., authors in Italy, compared ten publicly described histopathology foundation models in [Journal of Imaging, August 2026](https://doi.org/10.3390/jimaging12080381). They used the models as frozen patch feature extractors, with no fine-tuning, and trained the same small two-layer classifier on the features from each model.

The reference test used standard source-mixed 5-fold cross-validation. In the leave-one-centre-out and leave-one-scanner-out protocols, the authors held back all slides from one centre or scanner model for testing and trained the classifier on slides from the remaining sources.

For slide-level tumour versus benign classification, a public colorectal cancer dataset supplied 499 whole-slide images from four centres and three scanner models. Of these, 250 were labelled tumour and 249 benign. All models scored close to the ceiling, with AUROC in mixed folds of 0.990 to 0.999. Across the hold-outs, changes in AUROC, accuracy and F1 stayed within 2%, while sensitivity moved by up to 3.6%.

A public breast cancer dataset contained 587 slides from 527 patients across five centres and seven scanner models. Of these slides, 583 yielded usable patches. Pixel-level annotations labelled 97,796 patches as other tissue, non-invasive epithelium, invasive epithelium or necrosis. Patches measured 512×512 pixels at 20×.

In the mixed breast folds, accuracy ranged from 0.844 to 0.903, F1 from 0.789 to 0.869, sensitivity from 0.838 to 0.895 and AUROC from 0.970 to 0.986. Every model lost performance when centres were held out. Accuracy fell by 3.64 to 8.78 percentage points, F1 by 6.92 to 14.02, sensitivity by 5.13 to 12.06 and AUROC by 1.64 to 3.81.

With scanners held out, the losses were generally larger. Accuracy fell by 5.59 to 10.86 percentage points, F1 by 13.59 to 19.53, sensitivity by 8.53 to 14.41 and AUROC by 1.74 to 3.72. The size of the losses differed by model, and scores varied more between folds under the hold-out protocols.

Losses were concentrated in the epithelial classes. For non-invasive epithelium, F1 fell by 18.59 to 36.91 percentage points with centres held out and by 23.21 to 37.83 with scanners held out. In the examples the authors examined in detail, models more often labelled non-invasive epithelium as invasive under both hold-outs. Necrosis and other tissue changed less.

## Interpretation

Random splits can put slides from the same centres and scanner models in both training and test folds. This allows features associated with those sources, such as staining or image sharpness, to recur during testing. Holding a source out asks whether the classifier still works when it encounters a different set of acquisition conditions.

The breast task generally showed larger losses when scanners were held out than when centres were held out. An easy binary slide-level task can appear stable across sources, while a harder task that distinguishes several tissue classes can expose errors. The tasks also differed in organ and in how the tissue was labelled, so the benchmark cannot isolate the effect of task difficulty.

For laboratories in India and elsewhere that use multiple scanners or are considering models developed on other scanners, ask for results from held-out centres and scanners for the intended task. AUROC moved least in the breast task. Review accuracy, sensitivity and F1 alongside it, and check which tissue classes are most often confused.

## Opinion

Using a common classifier and reporting performance for each tissue class make the comparison easier to interpret. The benchmark makes a case for routinely holding out acquisition sources when evaluating models. Its scope is limited to experimental classification tasks, leaving diagnostic workflow performance and the choice of model open.

## Limits

The benchmark covered two organs and two tasks at one patch size and one magnification. A fixed classifier may suit some feature representations better than others. Fine-tuning was outside the study design, and the colorectal task was too easy to separate models. The authors used no stain normalisation and plan to test it and stain augmentation in future work.

The breast data were split by slide. The paper does not say whether slides from the same patient were kept together, so the source-mixed results may be slightly inflated. Some breast slides came from a public resource used to pretrain some models. The authors acknowledge that possible overlap at the slide level could inflate results.

Centre and scanner effects partly overlap because slides also reflect local preparation and staining. The scanner and centre hold-outs differed in fold composition and size, so the larger scanner losses cannot be attributed to scanners alone.

The study used a single training run per configuration and reported no confidence intervals. Close rankings are therefore not statistically separated. The abstract's claim that one model held up best across all protocols is stronger than the tables support.

## Frequently asked questions

### What does holding out a scanner test?
It tests the classifier on slides digitised with a scanner model excluded from classifier training. This is relevant when a laboratory uses several scanner models or adopts a classifier developed on slides from a different scanner. The result can also reflect differences in how centres prepare and stain their slides.

### Which results should I check alongside AUROC?
Check accuracy, sensitivity, F1 and errors by tissue class alongside AUROC. In the breast task, accuracy and F1 fell more than AUROC when sources were held out. Examining the errors by class showed that non-invasive epithelium was among the hardest classes to recognise under those conditions.

### Can this benchmark tell me which model to choose?
This benchmark alone cannot tell a laboratory which model to choose. It used frozen models and a common classifier for specific research tasks, and close rankings cannot be distinguished with confidence from the results reported. For a local evaluation, look for held-out results on the task your laboratory intends to use.
