Enabling large-scale screening of Barrett’s esophagus using weakly supervised deep learning in histopathology

Kenza Bouzid, Harshita Sharma, Sarah Killcoyne, Daniel C. Castro, Anton Schwaighofer, Max Ilse, Valentina Salvatelli, Ozan Oktay, Sumanth Murthy, Lucas Bordeaux, Luiza Moore, Maria O’Donovan, Anja Thieme, Aditya Nori, Marcel Gehrung, Javier Alvarez-Valle

Abstract

Timely detection of Barrett’s esophagus, the pre-malignant condition of esophageal adenocarcinoma, can improve patient survival rates. The Cytosponge-TFF3 test, a non-endoscopic minimally invasive procedure, has been used for diagnosing intestinal metaplasia in Barrett’s. However, it depends on pathologist’s assessment of two slides stained with H&E and the immunohistochemical biomarker TFF3. This resource-intensive clinical workflow limits large-scale screening in the at-risk population. Deep learning can improve screening capacity by partly automating Barrett’s detection, allowing pathologists to prioritize higher risk cases. We propose a deep learning approach for detecting Barrett’s from routinely stained H&E slides using diagnostic labels, eliminating the need for expensive localized expert annotations. We train and independently validate our approach on two clinical trial datasets, totaling 1,866 patients. We achieve 91.4% and 87.3% AUROCs on discovery and external test datasets for the H&E model, comparable to the TFF3 model. Our proposed semi-automated clinical workflow can reduce pathologists’ workload to 48% without sacrificing diagnostic performance.

Introduction

Esophageal adenocarcinoma (EAC) is characterized by a poor prognosis, primarily due to late-stage diagnosis. Identifying Barrett’s esophagus (BE), its precursor, is critical for early intervention. While the Cytosponge "pill-on-a-string" device has simplified cell collection, the subsequent diagnostic process remains a bottleneck. Pathologists must currently review multiple slides per patient, including standard H&E stains and specialized immunohistochemical (IHC) markers like TFF3. This manual review is time-consuming and costly, especially given that most screening cases are negative. Automating the identification of low-risk cases could significantly enhance screening capacity.

Methods: BE-TransMIL Architecture

The researchers developed BE-TransMIL, a weakly supervised framework utilizing Multiple Instance Learning (MIL). Unlike strongly supervised models requiring pixel-level annotations, this approach uses only slide-level diagnostic labels, significantly reducing the burden of data preparation.

The BE-TransMIL architecture for weakly supervised detection of Barrett’s esophagus.

The pipeline employs a ResNet50 encoder to generate feature embeddings from image tiles. These embeddings are processed by a Transformer-based architecture (TransMIL) to model spatial relationships across the slide. A learnable attention mechanism assigns scores to specific regions, highlighting areas most relevant to the diagnosis. This allows the model to focus on diagnostic hallmarks like goblet cells without explicit supervision.

Experimental Setup and Datasets

The model was validated using two large clinical trial datasets totaling 1,866 patients:

  1. Discovery Dataset (DELTA): 1,141 patients used for development and internal validation (80:20 split).
  2. External Test Dataset (BEST2): 725 patients from independent sites, used to evaluate the model's generalizability across different staining protocols and lab conditions.

Results and Interpretability

The H&E-based model achieved an AUROC of 91.4% on the discovery set and 87.3% on the external test set, performing comparably to models using more expensive TFF3 biomarker slides. This suggests that standard H&E staining may be sufficient for effective digital screening.

Performance metrics and attention heatmaps demonstrating the model's ability to identify diagnostic hallmarks.

A significant finding was the model's ability to autonomously identify "goblet cells," the clinical hallmark of BE. Attention heatmaps showed high correlation with TFF3 biomarker staining on adjacent slides, confirming that the AI focuses on biologically relevant features. In a simulated workflow, the system maintained high sensitivity while reducing the pathologist's manual review workload to 48% of cases, effectively triaging out clear negatives.

Discussion and Conclusion

This study demonstrates that deep learning can enable "biomarker-free" digital screening for Barrett’s esophagus using standard H&E slides. By triaging negative cases, the proposed workflow could reduce the need for expensive IHC staining by up to 63% and significantly decrease pathologist workload. While challenges remain regarding tissue sampling and stain variability, the high performance on external datasets suggests strong potential for clinical integration. Future work will focus on refining user interfaces for pathologist-AI interaction and leveraging large language models to improve training data quality from unstructured pathology reports.

Summary updated

BibTeX
@inproceedings{bouzid2024enabling,
  author = {Kenza Bouzid and Harshita Sharma and Sarah Killcoyne and Daniel C. Castro and Anton Schwaighofer and Max Ilse and Valentina Salvatelli and Ozan Oktay and Sumanth Murthy and Lucas Bordeaux and Luiza Moore and Maria O’Donovan and Anja Thieme and Aditya Nori and Marcel Gehrung and Javier Alvarez-Valle},
  title = {{Enabling large-scale screening of Barrett’s esophagus using weakly supervised deep learning in histopathology}},
  booktitle = {Nature Communications},
  year = {2024},
  doi = {10.1038/s41467-024-46174-2},
}
Figure