Abstract
Gastric cancer remains a leading cause of cancer-related mortality worldwide. Accurate histopathological diagnosis is essential but hampered by a global shortage of pathologists. We present a deep learning system developed using 2,123 pixel-level annotated whole-slide images (WSIs). The system achieves near-perfect sensitivity (99.6%) and maintains high performance across multiple medical centers and scanner types, demonstrating its potential as a clinical "safety net" to prevent diagnostic errors.
Introduction
Gastric cancer is the third leading cause of cancer death globally. Histopathology is the gold standard for diagnosis, but the increasing workload on pathologists leads to fatigue and potential misdiagnosis. AI systems offer a solution, yet many fail in clinical settings due to "domain shift"—variations in slide preparation and scanning hardware. This study introduces a robust, clinically applicable system designed to bridge this gap.
Methods and System Architecture
The researchers employed a DeepLab v3 architecture, a convolutional neural network (CNN) optimized for semantic segmentation. Unlike models using weak labels, this system was trained on 2,123 WSIs with meticulous pixel-level annotations by expert pathologists, resulting in a training set of 11 million patches.
To ensure robustness, the team used aggressive data augmentation, including random rotations and color jittering. During inference, the model calculates malignancy probabilities for every pixel. The final slide-level diagnosis is derived from the top 1,000 highest-probability pixels, ensuring high sensitivity even for small malignant clusters.
Results and Robustness
The model was evaluated on a real-world dataset of 3,212 WSIs. It achieved a sensitivity of 99.6% and an average specificity of 80.6%. Crucially, the system demonstrated hardware independence, maintaining high AUC scores across three different commercial scanners (KFBio, Ventana, and Hamamatsu).
In multicentre testing involving 1,582 WSIs from Peking Union Medical College Hospital and the Cancer Hospital of the Chinese Academy of Medical Sciences, the system maintained AUCs between 0.990 and 0.996, proving its ability to generalize to different hospital environments.
Clinical Impact and Limitations
A key finding was the system's role as a "safety net." In experiments with junior pathologists working under time pressure, AI assistance stabilized diagnostic accuracy, preventing errors caused by haste. The system is also highly efficient, processing a whole slide in 25 to 54 seconds, making it suitable for real-time clinical integration.
Limitations include occasional false negatives in rare, sparse cell types like signet ring cell carcinoma and false positives triggered by poor slide quality (e.g., tissue folds or overstaining). Future work will focus on improving handling of these edge cases and expanding the system to other organ types.
Summary updated