Visual abstractsVisuals
ResearchDiagnostic Pathology · Aug 4, 2026

Attention-based multiple-instance learning enables whole-slide pathology classification of esophageal squamous cell carcinoma versus esophageal adenocarcinoma with quantitative explainability

Wang Y, Yu L, Nanding A, Jin K, Zhang Y, Shao W, et al
Pathology & Laboratory MedicineGastroenterology & HepatologyOncologyAdult

Study type: Observational study: it can show a link, but not prove that one thing causes another.

Read the full paper free at PubMed Central ↗

Abstract

Background Accurate histological subtyping of esophageal cancer is critical for treatment selection and prognostication. Whole-slide images (WSIs) provide rich morphological information, but they are extremely large and lack region-level annotations. We evaluated an interpretable deep learning pipeline for classifying esophageal squamous cell carcinoma (ESCC) and esophageal adenocarcinoma (EAC) using WSIs. Methods This retrospective study included 139 hematoxylin-and-eosin-stained WSIs from 139 patients (58 with EAC and 81 with ESCC). To differentiate EAC from ESCC, tissue tiles were generated and fixed-length embeddings were extracted using the original frozen Google ViT. During model fitting, each slide was represented by a randomly sampled bag of 128 tile embeddings and slide-level prediction was performed using an attention-gated multiple-instance learning model. We employed focal loss and weighted sampling strategies and evaluated internal performance using stratified fivefold cross-validation. The five original MIL checkpoints were applied to a balanced 50-case non-TCGA public cohort with an internal-only Platt mapping and post hoc full-cohort threshold optimization. Results The mean AUC was high in the training sets (0.98 ± 0.01) and internal validation folds (0.95 ± 0.05), with the best validation fold exhibiting an AUC of 0.99 and an accuracy of 96.4%. Neither normalized attention entropy (p = 0.364) nor maximum attention (p = 0.423) differed significantly between histologies. In post hoc full-cohort threshold optimization, internally calibrated external scores achieved apparent 80.0% accuracy and balanced accuracy, with adenocarcinoma sensitivity of 76.0% and ESCC sensitivity of 84.0% . Conclusions This model demonstrated potential as an interpretable slide-level screening approach for ESCC versus EAC classification, but the external operating threshold was domain dependent. Prospective multicenter validation using a prespecified cutoff is required.

Topics

Humans; Esophageal Neoplasms; Multiple-Instance Learning Algorithms; Esophageal Squamous Cell Carcinoma; Adenocarcinoma; Retrospective Studies; Female; Image Interpretation, Computer-Assisted; Male; Middle Aged; Aged

DOI: 10.1186/s13000-026-01814-7 · PubMed: 43046261

Cite this article

Wang Y, Yu L, Nanding A, Jin K, Zhang Y, Shao W. Attention-based multiple-instance learning enables whole-slide pathology classification of esophageal squamous cell carcinoma versus esophageal adenocarcinoma with quantitative explainability. Diagn Pathol. 2026. doi:10.1186/s13000-026-01814-7

RIS (EndNote, Zotero, Mendeley)BibTeX

Spotted a mistake? Suggest a correction

Similar articles

Gastroenterology · Apr 20, 2026 · Research · Gastroenterology & Hepatology, Oncology

Achalasia and Risk of Esophageal Squamous Cell Carcinoma and Adenocarcinoma in a Multinational Study

Nat Med · Jul 24, 2023 · Clinical trial · Oncology, Gastroenterology & Hepatology

Neoadjuvant adebrelimab in locally advanced resectable esophageal squamous cell carcinoma: a phase 1b trial

Nat Med · Feb 2, 2023 · Randomized trial · Oncology Visual abstract

Serplulimab plus chemotherapy improved survival for patients with advanced esophageal squamous cell carcinoma

Nat Med · Jul 10, 2025 · Clinical trial · Oncology, Gastroenterology & Hepatology

A bispecific antibody-drug conjugate targeting EGFR and HER3 in metastatic esophageal squamous cell carcinoma: a phase 1b trial

BMC Med · Mar 3, 2026 · Randomized trial · Oncology Visual abstract

Combining immunotherapy with metronomic chemotherapy increased complete tumor disappearance in advanced esophageal cancer patients