#Reporting
Wang et al., authors in China, tested a slide-level classifier on 139 H&E whole-slide images from a publicly available research cohort, one per patient. The cohort included 58 adenocarcinomas and 81 squamous cell carcinomas. Diagnostic Pathology, August 2026
The researchers divided each slide into tiles and extracted features using a frozen general-purpose image model that was not trained on pathology. They trained an attention-based multiple-instance learning step to weight the tiles and combine their features into a slide-level prediction. Heatmaps showed where the model assigned more weight.
In five-fold cross-validation, the area under the receiver operating characteristic curve (AUC) ranged from 0.89 to 0.99, with a mean of 0.95. The abstract highlights 96.4% accuracy from the best single fold. The paper gives no mean accuracy across folds.
The external check included 50 public cases, with 25 labelled adenocarcinoma and 25 squamous cell carcinoma. The AUC was 0.830. At the cut-off selected using those same cases, apparent accuracy was 80.0%. The classifier correctly called 76.0% (19/25) of the adenocarcinoma group and 84.0% (21/25) of the squamous cell carcinoma group.
#Interpretation
The internal figures may be optimistic because the validation folds also guided early stopping. The authors acknowledge that these figures do not represent independent test performance.
The authors describe the external accuracy as an in-sample operating-point analysis. They used the same external labels to choose the classification cut-off and estimate accuracy at that cut-off. The group labelled adenocarcinoma included gastro-oesophageal junction, cardia and gastric cases, so it did not cleanly test performance on oesophageal adenocarcinoma.
Pathologists routinely distinguish these tumours on H&E. The study demonstrates a method for classifying whole slides.
#Opinion
Attention heatmaps are often presented as explanations. Here, the reported measures of how widely attention was spread and how high it peaked showed no significant difference between tumour types. That negative result matters because the maps alone cannot establish a histology-specific attention pattern.
The authors call for prospective multicentre validation with a prespecified cut-off.
#Limits
The development cohort was small and came from a single source, with one slide per patient. The balanced, non-consecutive external set came from public teaching and reference collections and was open to selection and spectrum effects. The paper did not discuss possible site or batch effects in the public data.
Training used sampled groups of tiles, while final internal inference used all retained tiles. The paper illustrated attention maps with hand-picked training cases. It described performance as competitive without reporting a comparison with pathologists or other methods.
The authors declared no competing interests.
Frequently asked questions
What did the model use to classify a whole slide?
The model combined features from tissue tiles to make a slide-level prediction. A frozen general-purpose image model supplied those features. The trained classification step assigned weights to the tiles before combining them, and the researchers used those weights to display where attention was concentrated.
Why does the external accuracy need another test?
The external accuracy was measured on the same cases used to choose the classification cut-off. That means the estimate reflects a cut-off fitted to those cases. The authors call for prospective multicentre validation with the cut-off set before the test.
Did the heatmaps explain how the model distinguished the tumours?
The heatmaps showed where the model assigned weight, but the quantitative results did not establish a pattern specific to either tumour type. The reported measures of attention spread and peak weight showed no significant difference. The example maps came from selected training cases.
Source
https://doi.org/10.1186/s13000-026-01814-7 ↗For education and professional reference. This does not give patient-specific advice or replace professional judgement, local protocols or consultation. Editorial standards.




