# Ensembling foundation models for Barrett's oesophagus biopsies: gains and remaining gaps

> Ensembling pathology foundation models improved some measures of Barrett's biopsy subtyping and adenocarcinoma detection. Dysplasia stayed difficult, and performance on routine formalin-fixed tissue was not established.

Type: Article · Topic: Digital pathology
Published: 2026-11-10T14:21:40+00:00
Updated: 2026-11-10T14:21:40+00:00
Canonical URL: https://www.pathologistsbrief.com/article/barretts-biopsy-foundation-model-ensembles
Publisher: Pathologist’s Brief
Source: https://www.nature.com/articles/s41746-026-03329-3
Author: Editor
Reviewer: Pathologist’s Brief editorial team
Review date: 2026-11-10

## What was tested

[Kazemi et al., npj Digital Medicine, published 21 October 2026](https://www.nature.com/articles/s41746-026-03329-3) benchmarked pathology foundation models on biopsies from a German multicentre cohort. The curated dataset contained 3528 haematoxylin and eosin-stained slides from 790 patients.

The slides comprised 1455 normal or non-Barrett's tissues, 1697 Barrett's biopsies without dysplasia, 145 with dysplasia and 231 with oesophageal adenocarcinoma. Expert consensus diagnoses provided the reference standard.

The tissue had been processed with an alternative non-formalin fixative and embedded in paraffin, described in the study as PFPE. This differs from conventional formalin-fixed, paraffin-embedded tissue, or FFPE. Comparable histological assessment in earlier studies does not establish that an AI model will transfer between these fixation settings.

The researchers tested separate slide-level tasks:

- Morphological subtyping into normal or non-Barrett's tissue, Barrett's metaplasia without dysplasia, Barrett's metaplasia with dysplasia, and adenocarcinoma. Low-grade and high-grade dysplasia were grouped together.
- Adenocarcinoma detection, separating adenocarcinoma from all remaining categories.

## How the ensemble worked

The benchmark included nineteen pathology foundation models and a conventional image-model comparator. Foundation models extracted features from image patches without further tuning of their feature extractors. A weakly supervised classifier combined patch information into slide-level predictions.

Single-scale models were trained at 5×, 10×, 20× and 40× magnification. For each task, the five models with the highest agreement with the reference standard, measured by Cohen's kappa, were selected as the most expert-consistent models.

The ensemble averaged their prediction probabilities using soft voting. It therefore drew on several model backbones and magnifications, rather than a single feature extractor or viewing scale. Evaluation used patient-level separation within 10-fold Monte Carlo cross-validation, so that patients in training and testing did not overlap and data could not leak between them.

## What improved

For morphological subtyping, the ensemble achieved an AUROC of 0.907 ± 0.017, an F1 score of 0.696 ± 0.033 and accuracy of 0.795 ± 0.017. These are means with standard deviations across the evaluation runs. Dysplasia recall remained 0.519 ± 0.176.

For adenocarcinoma detection, the ensemble achieved an AUROC of 0.909 ± 0.052, an F1 score of 0.836 ± 0.043 and accuracy of 0.959 ± 0.012. Cancer-class recall was 0.731 ± 0.114, compared with 0.976 ± 0.013 for the non-cancer class.

Agreement with the reference standard for cancer detection reached a Cohen's kappa of 0.673 ± 0.087, significantly higher than for any individual model. Gains varied by metric and class, however. For cancer detection, the AUROC improvement after ensembling was not statistically significant compared with most individual models.

## Why dysplasia remained difficult

Dysplasia was the smallest diagnostic group. Its varied morphology and overlap with neighbouring categories contributed to errors, particularly between non-dysplastic Barrett's tissue, dysplasia and adenocarcinoma. These transitional categories also make agreement difficult among pathologists.

Heatmap review found that attention was partly directed towards relevant morphology, but sometimes missed dysplastic features or emphasised necrosis, inflammation, fibrin and stroma. A plausible-looking heatmap therefore needs critical assessment alongside the slide and the model's classification.

## Meaning for the reporting pathologist

The findings support investigation of complementary second-reader assistance. Highlighted regions might help direct closer inspection or expert reassessment of borderline lesions, but the remaining dysplasia errors argue for continued expert oversight.

Model choice should follow the task. An ensemble adds operational complexity, and its incremental gains were uneven. This study did not test whether using the system improves expert-review allocation or triage in a reporting workflow.

## Limits

This was retrospective benchmarking in a single cohort, tumour setting and fixation type. All slides used a single scanner type and acquisition pipeline. Routine FFPE performance and generalisability across scanners were not demonstrated, and no matched PFPE versus FFPE comparison was available.

Dysplasia cases were limited. Independent validation, including dysplasia-enriched FFPE cohorts and multiple scanners, is needed before routine deployment. Research-use licences also restricted which models could be tested, so the benchmark does not cover every available foundation model.

The authors declared no competing interests.

## Frequently asked questions

### Did the ensemble solve dysplasia detection?
No. Dysplasia remained a substantial source of classification error after ensembling. It was the smallest class, with varied appearances and overlap with neighbouring diagnostic categories. Gains in overall metrics did not remove the need for expert review, particularly for transitional lesions and cases where model attention missed relevant morphology.

### Will these results transfer to routine FFPE biopsies?
Transfer to routine FFPE biopsies was not demonstrated. The study used tissue processed with an alternative non-formalin fixative, without a matched cross-fixation comparison. All slides also came from a single scanner type and acquisition pipeline, so performance across routine fixation and scanner settings remains for independent validation.

### What does expert-consistent mean in this study?
It means the selected models agreed most closely with the diagnostic reference standard. The researchers ranked agreement using Cohen's kappa and averaged probabilities from the five selected models for each task. This selection describes concordance within the benchmark, rather than proving that an ensemble can replace expert assessment.
