BEACON: Histopathology-based spatial profiling of immune and molecular features predicts cancer risk in Barrett’s oesophagus

Published in medRxiv (preprint), 2025

BEACON spatial profiling

Most patients with Barrett’s oesophagus never progress to adenocarcinoma, yet surveillance is applied broadly, which leads to overtreatment of a low-risk majority. Progression is driven by a combination of genomic and microenvironmental factors, but existing predictive models rarely capture both, and almost never from the routine specimens that are already collected in clinical practice.

BEACON (Barrett Esophagus DNA content Abnormality and immune ecology for cancer Outcome) addresses this gap. It is a spatially aware framework that recovers a molecular readout and an immune-ecological readout from the same H&E slide, then integrates the two spatially for risk stratification. This page describes the preprint version of the work; the full pipeline is openly available.

Framework

BEACON is built from three components:

  1. DACOR (DNA content abnormality recognition) — a multiple-instance learning model that predicts DNA content abnormality (aneuploidy) directly from H&E whole-slide images, using a fine-tuned REMEDIS foundation model as the tile feature extractor.
  2. Spatial immune ecology — paired cell classification and tissue segmentation models (CellViT-plus-plus and SegFormer) that support a suite of spatial statistics: density, Ripley’s L, Moran’s I, Getis-Ord Gi*, Morisita-Horn, k-nearest-neighbour distance, and the G-function, all computed relative to epithelial structures.
  3. Risk stratification — a penalised logistic regression (LASSO) model integrating the molecular readout, immune ecology metrics, and epithelial morphology into a single progression risk classification.

The models were developed on the BEAR dataset: 777 Barrett’s oesophagus biopsies with matched flow cytometry DNA content data, scanned at two institutions, with a discovery cohort from MD Anderson and an independent test cohort from Northwestern.

Key findings

  • DACOR predicted DNA content abnormality with 0.825 AUC in the independent test cohort.
  • DNA content abnormal regions showed increased lymphoplasmacytic inflammation relative to normal regions (p = 0.006).
  • Patients classified as DNA content abnormal by DACOR showed significantly increased cancer progression (p = 0.0001).
  • Among DNA content abnormal patients, progressors showed increased plasma cell clustering adjacent to abnormal epithelium compared with non-progressors.
  • The integrated model stratified DNA content abnormal patients into high- and low-risk groups with 0.817 AUC.

Together this shows that a molecular abnormality and its surrounding immune response can be read from the same routine slide, and that where the immune response sits relative to the abnormal epithelium carries risk information beyond the abnormality itself.

Code and models

  • GitHub repository — full inference and fine-tuning pipeline, with Docker images for each stage
  • Zenodo archive — fine-tuned model weights (DACOR, CellViT, SegFormer, LASSO risk model) and manual annotations
  • Preprint — medRxiv, 2025

The base REMEDIS model is not redistributed here; it is available from PhysioNet on registration. Code is released under GPL-3.0.

Meeting presentations

Grant

Recommended citation: Ercan, Caner, et al. "Histopathology-based spatial profiling of immune and molecular features predicts cancer risk in Barrett's esophagus." medRxiv (2025): 2025.11.11.25339952.
Download Paper