Pathologist’s Brief
Briefing · Digital pathology

BRAF prediction from melanoma slides: foundation model performance and limits

Quick answer

Pathology foundation models predicted BRAF status from melanoma slides, but sensitivity remained inadequate for screening. External testing exposed dataset-related features and variation with tissue characteristics, limiting clinical interpretation.

Black-and-white photo of glass slides beside a pathology workstation showing a tissue thumbnail and an unlabelled scatter plot.
AI-generated illustration, Pathologist’s Brief
On this page
  1. Reporting
  2. Interpretation
  3. Limits
  4. Opinion
  5. Frequently asked questions

#Reporting

Godson et al., in Frontiers in Medical Technology, 3 September 2026, report an evaluation by researchers in the United Kingdom. They tested six publicly available pathology foundation models, each feeding an attention-based multiple instance learning classifier, to predict BRAF mutant versus wild-type status from haematoxylin and eosin (H&E) whole-slide images of melanoma.

A UK melanoma cohort supplied 1,109 slides from 745 patients, with 44.6% BRAF-mutant. The researchers used five-fold cross-validation with patient-level separation of training, validation and test data. External testing used a large public external cohort of 523 slides with V600E-only labels and a smaller public research cohort.

The abstract reports the leading internal AUROC as 0.80 (0.72, 0.88) and the leading AUROC on the 523-slide external set as 0.79 (0.75, 0.83). The Results give these more precisely as 0.801 [95% CI 0.720 to 0.880] and 0.791 [95% CI 0.754 to 0.828], respectively. The best AUROC on the smaller public cohort is reported in the abstract as 0.76 (0.66, 0.86), achieved with a different feature extractor.

Differences between the leading models were often not statistically significant. On the 523-slide set, the model with the leading AUROC had sensitivity of 0.685 [95% CI 0.621 to 0.746]. Another model had sensitivity of 0.7465 [95% CI 0.688 to 0.803], illustrating why ranking by AUROC alone can obscure differences in mutant-case detection.

#Interpretation

The authors regard sensitivity as insufficient for screening. They propose H&E-based prediction as a possible way to prioritise confirmatory molecular testing, but the study does not establish a replacement for DNA-based testing. That proposed workflow remains an aim rather than demonstrated clinical utility.

High-attention features tended to group by the dataset they came from rather than by mutation status, although some mutant-feature clustering was visible in leading models. Attention maps offered exploratory clues about model behaviour, not proof that the models had identified BRAF-specific morphology. Rare cellular appearances, staining variation and image quality were associated with misclassification in the reviewed examples.

Exploratory analyses found higher AUROC in ulcerated tumours and performance differences with the amount of tissue on a slide, estimated from patch counts. These observations do not establish the underlying cause: ulceration-related morphology was not separated from thickness or subgroup size, and patch counts do not establish tumour thickness. Larger models were not necessarily better, with substantially different model sizes producing broadly comparable results.

#Limits

Routine molecular assays differed across laboratories in the UK cohort, potentially introducing noise and systematic bias into the reference labels. The researchers did not check whether co-occurring genomic alterations influenced predictions. They therefore interpret the outputs as patterns correlated with BRAF status rather than exclusively BRAF-specific signals.

The large external cohort had V600E-only labels, limiting assessment of other BRAF variants. The smaller external cohort and several subgroups were too small for firm comparisons, with wide confidence intervals. Only publicly available models were tested, and one had been pretrained on part of a public cohort used for external evaluation, complicating interpretation of its performance there.

The work received research grant and public research infrastructure support. One author was employed by a company; the remaining authors declared no commercial or financial relationships that could constitute a conflict of interest.

#Opinion

Pathologist's Brief favours assessing multiple metrics and testing across sites before any clinical use. Evaluation should establish how often mutant cases are missed and whether performance persists across laboratory conditions, rather than treating a favourable AUROC as sufficient evidence for screening.

Frequently asked questions

Why did the study report sensitivity alongside AUROC?

Sensitivity showed differences in mutant-case detection that AUROC rankings alone did not capture. On the large external set, the model with the leading AUROC had lower sensitivity than another model. The authors therefore call for evaluation beyond a single metric when assessing a potential screening approach for confirmatory molecular testing.

Did the attention maps reveal BRAF-specific tumour features?

No, the attention maps did not prove that the models recognised BRAF-specific morphology. Most high-attention features grouped by dataset provenance, although some mutant-feature clustering was present. Co-occurring genomic alterations were not assessed, so the authors interpret predictions as morphological patterns correlated with BRAF status rather than exclusively specific to it.

Can the external results be generalised to all BRAF variants?

No, the external evaluation does not establish performance across all BRAF variants. The large external cohort used V600E-only labels, while other variants were insufficiently represented for reliable assessment. The smaller external cohort also produced wide confidence intervals, limiting confidence in apparent performance differences between models and in broader generalisation.

Source

https://doi.org/10.3389/fmedt.2026.1835452 ↗

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