Abstract
Celiac disease prevalence and diagnosis have increased substantially in recent years. The current gold standard for celiac disease confirmation is visual examination of duodenal mucosal biopsies. An accurate computer-aided biopsy analysis system using deep learning can help pathologists diagnose celiac disease more efficiently. In this study, we trained a deep learning model to detect celiac disease on duodenal biopsy images. Our model uses a state-of-the-art residual convolutional neural network to evaluate patches of duodenal tissue and then aggregates those predictions for whole-slide classification. We tested the model on an independent set of 212 images and evaluated its classification results against reference standards established by pathologists. Our model identified celiac disease, normal tissue, and nonspecific duodenitis with accuracies of 95.3%, 91.0%, and 89.2%, respectively. The area under the receiver operating characteristic curve was greater than 0.95 for all classes. We have developed an automated biopsy analysis system that achieves high performance in detecting celiac disease on biopsy slides. Our system can highlight areas of interest and provide preliminary classification of duodenal biopsies prior to review by pathologists. This technology has great potential for improving the accuracy and efficiency of celiac disease diagnosis.
Introduction
Celiac disease (CD) is an autoimmune disorder triggered by gluten, and its prevalence is rising globally. The current gold standard for confirming a CD diagnosis is the microscopic examination of duodenal biopsies by a pathologist. However, this manual review process is time-consuming and subject to significant inter-observer variability. As active case-finding increases the volume of biopsies, pathologists face a growing workload. This study addresses this bottleneck by creating an automated, computer-aided image analysis system that can pre-screen and highlight areas of interest on whole-slide images (WSIs), thereby improving diagnostic efficiency and accuracy.
Methodology
The researchers utilized a deep learning approach, specifically a Residual Neural Network (ResNet-50), adapted for digital pathology. Because whole-slide images are far too massive (billions of pixels) to feed directly into a neural network, the authors employed a multi-stage pipeline.
Sliding Window and Data Processing
A "sliding window" technique was used to extract smaller, 224x224 pixel patches from the slides. To neutralize staining differences between slides, RGB color channels were normalized. During training, the data was heavily augmented using color jittering, rotation, and flipping to ensure model robustness.
Whole-Slide Inference
The model predicts the class of each individual patch. To filter out noise, confidence thresholds were applied. A specific heuristic was then used to aggregate these patch predictions into a final slide-level diagnosis: if more than 25% of patches indicate "nonspecific duodenitis," the slide receives that label; otherwise, the majority class determines the final classification.
Datasets
The study utilized a proprietary dataset from the Dartmouth-Hitchcock Medical Center (DHMC) consisting of 1,230 whole-slide images from 1,048 patients. The slides were categorized into three classes: Normal, Celiac Disease, and Nonspecific Duodenitis. The data was split into 790 slides for training, 228 for development, and an independent test set of 212 slides. Crucially, there was no patient overlap between the training and test sets to ensure a fair evaluation.
Results
On the independent test set, the model achieved impressive performance across all categories. It identified celiac disease with 95.3% accuracy (93.5% F1 score), normal tissue with 91.0% accuracy (87.2% F1 score), and nonspecific duodenitis with 89.2% accuracy (81.0% F1 score).
The Area Under the Curve (AUC) was greater than 0.95 for all three classes, demonstrating high discriminative power. Furthermore, the system is computationally efficient, with inference taking only about 15 seconds per whole-slide image using a single GPU, making it highly viable for real-time clinical workflows.
Discussion and Conclusion
Interpretability analysis using Class Activation Mapping (CAM) confirmed that the model independently learned to identify hallmark histological features of celiac disease, such as villous atrophy and intraepithelial lymphocytosis, without explicit supervision. The model struggled most with the "nonspecific duodenitis" class, which is a catch-all category that often contains fragments of normal tissue, presenting a challenge for patch-level classifiers.
While the results are promising, the study is currently limited by its single-center data source. Future work will focus on multi-institutional data collection to improve generalizability across different staining protocols and scanners. Ultimately, this automated biopsy analysis system has the potential to significantly reduce diagnostic variability and improve the efficiency of celiac disease diagnosis in clinical practice.
Summary updated