Clinically applicable histopathological diagnosis system for gastric cancer detection using deep learning

Zhigang Song, Shuangmei Zou, Weixun Zhou, Yong Huang, Liwei Shao, Jing Yuan, Xiangnan Gou, Wei Jin, Zhanbo Wang, Xin Chen, Xiaohui Ding, Jinhong Liu, Chunkai Yu, Calvin Ku, Cancheng Liu, Zhuo Sun, Gang Xu, Yuefeng Wang, Xiaoqing Zhang, Dandan Wang, Shuhao Wang, Wei Xu, Richard Davis, Huaiyin Shi

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.

The system workflow includes a training phase using pixel-level annotated malignant and benign tissue patches and an inference phase utilizing the DeepLab v3 architecture to generate malignancy heatmaps.

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).

Performance metrics (AUC, Accuracy, Sensitivity, Specificity) across three different whole-slide scanners, demonstrating the model's robustness to hardware variations.

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

BibTeX
@inproceedings{song2020clinically,
  author = {Zhigang Song and Shuangmei Zou and Weixun Zhou and Yong Huang and Liwei Shao and Jing Yuan and Xiangnan Gou and Wei Jin and Zhanbo Wang and Xin Chen and Xiaohui Ding and Jinhong Liu and Chunkai Yu and Calvin Ku and Cancheng Liu and Zhuo Sun and Gang Xu and Yuefeng Wang and Xiaoqing Zhang and Dandan Wang and Shuhao Wang and Wei Xu and Richard Davis and Huaiyin Shi},
  title = {{Clinically applicable histopathological diagnosis system for gastric cancer detection using deep learning}},
  booktitle = {Nature Communications},
  year = {2020},
  doi = {10.1038/s41467-020-18147-8},
}
Figure