NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deep Learning-Based Open Source Toolkit for Eosinophil Detection in Pediatric Eosinophilic Esophagitis

Juming Xiong, Yilin Liu, Ruining Deng, Regina N Tyree, Hernan Correa, Girish Hiremath, Yaohong Wang, Yuankai HuoarXiv 2023

TL;DR

Open-EoE is an open-source, Docker-based toolkit designed to automate the detection and counting of eosinophils in whole slide images (WSIs) for diagnosing pediatric Eosinophilic Esophagitis (EoE). By combining three state-of-the-art deep learning models through an ensemble voting strategy, the toolkit achieves a 91.2% diagnostic accuracy, significantly reducing the manual workload for pathologists while maintaining high clinical consistency.

What Problem Does This Paper Address?

Eosinophilic Esophagitis (EoE) is a chronic, immune-mediated esophageal disease. To diagnose it, pathologists must manually inspect esophageal tissue biopsies under a microscope to find the peak count of eosinophils (Eos) per high-power field (HPF). A threshold of $\ge 15$ Eos/HPF is the widely accepted standard for diagnosis.

However, this manual process is incredibly labor-intensive, time-consuming, and highly susceptible to human error. Because eosinophils are often distributed unevenly in small patches across a biopsy, different pathologists (or even the same pathologist at different times) can arrive at different counts. This lack of standardization creates a critical barrier to reliable diagnosis, which this paper aims to solve using automated digital pathology.

Methods

The authors developed Open-EoE, an end-to-end pipeline packaged into a single-line Docker command to ensure ease of deployment and reproducibility across different operating systems.

Figure 1: This figure shows the overview of the Open-EoE Toolkit. The inputs are original WSIs at 40× magnification, while the outputs are the maximum Eos count number and the Eos detected bounding boxes that can ovelay on the original WSIs.

The pipeline consists of four major steps:

  1. Preprocessing: Whole slide images (WSIs) at 40× magnification are tiled into $512 \times 512$ pixel patches.
  2. Object Detection: The patches are processed by three distinct deep learning architectures: Faster R-CNN, Mask R-CNN, and CenterNet. These models are implemented via the open-source MMDetection platform.
  3. WSI-Level Aggregation: The bounding boxes predicted at the patch level are mapped back to their original coordinates on the full WSI.
  4. Ensemble Learning: To optimize performance, a voting mechanism filters the predictions. An object is considered a valid eosinophil only if two or more models agree on its detection. Non-maximum suppression (NMS) is then applied to refine the final bounding boxes.

To mimic the clinical diagnostic process, the toolkit uses a circular virtual sliding window (550 $\mu$m diameter, matching a standard $0.24 \text{ mm}^2$ HPF) to scan the WSI and locate the area with the maximum density of eosinophils.

Figure 2: This figure shows the detailed pipline of the Open-EoE toolkit. First, the WSI is cut to patches. Second, the patch images are loaded in three deep learning models for training or prediction. Third, the results predicted by each model are aggregated to WSI-level. Fourth, the results of three WSI-level are ensembled. Finally, the maximum value of Eos in HPF is determined and compare with the clinical count.

Datasets

The models were trained and evaluated using the PediatricEoE dataset from the Vanderbilt University Medical Center:

  • Training/Validation/Testing Patches: A subset of 10,953 image patches extracted from 50 WSIs was used for initial model development. This included 6,921 annotations for standard "Eos" and 4,032 annotations for "papillae Eos". The data was split into training, validation, and test sets using a standard 7:1:2 ratio.
  • Clinical Evaluation Dataset: A larger, independent testing set consisting of 289 WSIs from 183 patients (totaling over 500,000 image patches) was used to evaluate the toolkit's ability to predict patient-level diagnoses against official pathologist records.

Key Insights and Ideas

  • The Power of Consensus: Individual object detection models frequently suffer from false positives, misidentifying non-Eos cellular structures as eosinophils. The ensemble voting strategy successfully mitigates this issue, as false positives from one model are filtered out by the disagreement of the other two.
  • Bridging AI and Clinical Metrics: Instead of relying solely on standard computer vision metrics like Average Precision (AP), the authors translated the model's object coordinates into a clinically meaningful metric (Eos/HPF) using a circular sliding window. This makes the tool directly interpretable for medical professionals.
Figure 3: This figure displays four cases that the different prediction result from each method compared to the manual detection. Each row indicates a different example patches.Each column indicates Eos detection result from the specific method. The arrows indicate the inconsistent detection results of each method

Key Results

  • Object Detection Performance: The ensemble method outperformed all individual models, achieving the highest Average Precision (AP) of 39.5% and an $AP_{50}$ of 76.3% (see Table 2 in the paper).
  • Diagnostic Accuracy: When evaluating the clinical threshold of $\ge 15$ Eos/HPF on the 289-WSI test set, the ensemble toolkit achieved a diagnostic accuracy of 91.2%. This surpassed the individual performances of Faster R-CNN (89.6%), Mask R-CNN (88.5%), and CenterNet (90.7%).

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@misc{xiong2023deep,
  author = {Juming Xiong and Yilin Liu and Ruining Deng and Regina N Tyree and Hernan Correa and Girish Hiremath and Yaohong Wang and Yuankai Huo},
  title = {{Deep Learning-Based Open Source Toolkit for Eosinophil Detection in Pediatric Eosinophilic Esophagitis}},
  year = {2023},
  eprint = {2308.06333},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.06333},
}
Figure