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.
The pipeline consists of four major steps:
- Preprocessing: Whole slide images (WSIs) at 40× magnification are tiled into $512 \times 512$ pixel patches.
- 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.
- WSI-Level Aggregation: The bounding boxes predicted at the patch level are mapped back to their original coordinates on the full WSI.
- 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.
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.
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