Abstract
Our research presents an AI-based predictive model for H. pylori infection, which significantly enhances clinical efficiency and diagnostic accuracy. Currently, we are conducting multi-center validation to enhance the model's generalization capability.
Introduction
Helicobacter pylori (H. pylori) infection is a primary causative agent for chronic gastritis and gastric cancer, affecting nearly half the global population. In clinical practice, pathologists typically identify these bacteria using Hematoxylin and Eosin (H&E) stained gastric biopsies. However, the microscopic nature of the bacteria and their frequent obscuration by gastric debris make manual identification labor-intensive and prone to low sensitivity. While Immunohistochemistry (IHC) is the diagnostic "gold standard," its high cost and time requirements limit accessibility. This study addresses the need for an AI-driven tool capable of achieving IHC-level precision using standard, low-cost H&E slides.
Methods and Materials
The researchers developed a diagnostic framework utilizing Multi-Instance Learning (MIL). In this approach, a whole-slide image (WSI) is treated as a "bag" containing numerous image patches ("instances"), allowing the model to detect sparse signals of infection across large tissue samples.
Technical Pipeline
- Preprocessing: WSIs were filtered using the Otsu method and sliced into 256×256 pixel patches at 20× magnification.
- Feature Extraction: A ResNet50 model, pretrained on ImageNet, was used to convert visual patches into numerical feature vectors.
- Model Architectures: Three state-of-the-art MIL architectures were compared:
- AB-MIL: Uses an attention mechanism to weight patch importance.
- DS-MIL (Dual-Stream): Employs a dual-stream architecture to identify key instances.
- Trans-MIL: A Transformer-based model designed to capture long-range correlations between patches.
Dataset and Evaluation
The study utilized 1,020 WSIs from 817 patients at Zhongda Hospital, China. The dataset included 530 H. pylori-positive and 490 negative images, all labeled based on IHC staining results. The data was split 3:1:1 for training, validation, and testing. A separate set of 100 cases was used for a head-to-head comparison with human pathologists of varying experience levels.
Results
The AI models demonstrated high diagnostic performance, consistently outperforming human experts in sensitivity and overall accuracy.
Model Performance
- DS-MIL: Achieved the best overall results with 89.7% accuracy and an AUC of 0.949.
- Trans-MIL: Showed the highest sensitivity (95.2%), making it an excellent candidate for clinical screening tools.
Human vs. AI Comparison
In the evaluation against human pathologists, the DS-MIL model (89.7% accuracy) significantly outperformed all levels of expertise:
- Junior Pathologists: 67.0% accuracy (p < 0.001)
- Intermediate Pathologists: 73.9% accuracy (p < 0.001)
- Senior Pathologists: 81.7% accuracy (p = 0.019)
Notably, while senior pathologists maintained high specificity, their sensitivity was only 68.5%, compared to 94.3% for the DS-MIL model. This suggests that AI can drastically reduce the rate of missed diagnoses.
Discussion and Conclusion
Heatmap analysis indicated that the AI model identifies infection not only by detecting the bacteria but also by recognizing secondary morphological signs, such as acute inflammatory cell infiltration and mucosal damage. This ability to pick up on the "footprints" of infection enhances its robustness.
Despite these results, the study's single-center nature necessitates further multi-center validation to ensure the model's generalizability across different scanners and staining protocols. Future research will focus on developing multimodal AI systems that integrate image data with clinical symptoms and endoscopy reports to provide a comprehensive diagnostic solution.
Summary updated