#Reporting
Petzold et al., authors in Germany, tested whether weakly supervised AI could distinguish infiltrative basal cell carcinoma (BCC) from poorly differentiated cutaneous squamous cell carcinoma (cSCC) on haematoxylin and eosin (H&E) whole-slide images. They reported the study in The Journal of Pathology: Clinical Research, March 2026.
The retrospective single-centre study used 335 images from 2021 to 2023. It included 84 cSCC samples from 75 patients and 251 BCC samples from 240 patients. The cSCC samples were grade 3 to 4. A pathology foundation model extracted image features, and the classifier was trained using only slide-level diagnoses confirmed by two dermatopathologists.
The authors used 251 slides for training and held out 84 slides for testing, including 27 cSCC and 57 BCC. The area under the receiver operating characteristic curve (AUC) was 1.0 (95% CI 1.0 to 1.0). Accuracy, sensitivity and specificity were each 100%. One correctly classified cSCC slide scored 0.846, while all other correct classifications scored above 0.95.
In the curated external set of 10 slides (7 BCC and 3 cSCC), the AUC was 1.0. At the default threshold of 0.5, cSCC sensitivity was 66.7% and accuracy was 90%.
The larger external set comprised 200 slides (100 BCC and 100 cSCC). The authors described it as partly out of distribution, meaning it may include a broader mix of disease presentations than the training set. The AUC was 0.923 (95% CI 0.885 to 0.961). At 0.5, accuracy was 52.0%, sensitivity was 100% and specificity was 4.0%. With an adjusted threshold of 0.998 on those same slides, accuracy was 86.5%, sensitivity was 79.0% and specificity was 94.0%.
On the internal test set, a general-purpose pathology language model, evaluated without task-specific training, correctly identified 9 of 27 cSCC slides. It called 13 BCC and 5 'other', giving a cSCC sensitivity of 33% (95% CI 19 to 52). It correctly identified 56 of 57 BCC slides. A classifier built on that model and fine-tuned on the in-house data reached an AUC of 0.997 (95% CI 0.991 to 1.000). At 0.5, accuracy was 96%, sensitivity was 89% and specificity was 100%.
#Interpretation
Using one diagnosis per slide avoids the cost of having experts annotate tumour regions at pixel level. This makes slide-level supervision a practical way to study a focused differential diagnosis.
AUC describes how well the model ranks slides across thresholds. The larger external set shows how a model can rank the two diagnoses well while calling most BCC slides cSCC at the default threshold. For laboratories in India and elsewhere that use different scanners, the gap between internal and external results makes performance at the intended threshold on local slides a practical concern.
#Opinion
This is a sound proof of concept for a focused diagnostic task. Readiness for routine use remains unproven. External checks at a prespecified threshold would show how well calibration transfers. The authors call for calibration, image standardisation and larger validation studies.
#Limits
The perfect internal result came from a curated, two-class task at a single centre using a single scanner and a narrow range of subtypes. The split was by slide, and several patients contributed more than one sample. The paper does not state whether patients were kept separate between training and testing. Unclear or disputed cases were excluded, and the paper gives no count of these exclusions.
The curated external test had only 10 slides, and the external sets were limited in subtype representation. The adjusted thresholds were selected on the same slides used to score them, so 86.5% is an optimistic estimate for new slides. The authors describe the differentiation as robust, but the larger external set needed threshold adjustment and cSCC sensitivity at the adjusted threshold was 79.0%.
The authors suggest that differences in scanners, image formats and compression could account for the shift in performance. They did not test those explanations. They assessed the attention heatmaps qualitatively and did not compare model performance with that of pathologists.
Frequently asked questions
Did the pathologists have to outline the tumour on each slide?
No, the classifier trained on a diagnosis for each slide. Two dermatopathologists confirmed the slide diagnoses used as labels. The study focused on infiltrative basal cell carcinoma and poorly differentiated cutaneous squamous cell carcinoma, and excluded slides with unclear or disputed diagnoses.
How could the model have a high AUC and still misclassify slides?
AUC measures how well scores rank the two diagnoses across thresholds. The classification assigned to each slide depends on the chosen threshold. In the larger external set, the default threshold caught all squamous cell carcinomas but also classified most basal cell carcinomas as squamous.
Can another laboratory expect the same accuracy at the adjusted threshold?
The study does not establish what accuracy another laboratory would achieve at that threshold. The authors selected the threshold and measured its accuracy on the same external slides. Performance on new slides could be lower, and the authors called for larger validation studies.
Source
https://doi.org/10.1002/2056-4538.70082 ↗For education and professional reference. This does not give patient-specific advice or replace professional judgement, local protocols or consultation. Editorial standards.




