南京医科大学学报(自然科学版)2026,Vol.46Issue(4):520-532,13.DOI:10.7655/NYDXBNSN250368
基于卷积神经网络的胃癌病理图像分类诊断与分级识别
Classification and grading recognition of gastric cancer pathological images based on convolutional neural networks
摘要
Abstract
Objective:To establish classification and grading models for gastric cancer pathological sections based on deep learning technology,and to evaluate the performance of these models.Methods:Classification and grading datasets for gastric cancer and non-cancerous tissues were collected from public online resources.Data augmentation was performed,and the dataset were divided into training,validation,and test sets.In the initial stage,17 convolutional neural network(CNN)architectures were constructed,and the initial training parameters were uniformly set to train these 17 models for the classification of gastric cancer and non-cancerous tissues.After training,the recognition accuracy on the test set and the training time were used as evaluation indicators to comprehensively assess the efficacy of different model architectures.Based on these indicators,the optimal architecture was selected for further optimization and training to construct the gastric cancer classification model.After the completion of the classification model,the gastric cancer grading model was built based on the foundation of the classification model.During the training of the gastric cancer grading model,17 grading networks were trained,and suitable base models were selected according to performance indicators.After the base model was determined,voting and stacking methods were applied for ensemble learning and compared with single models to explore the impact of ensemble learning on performance improvement and to construct the gastric cancer grading model.Results:In the training of the gastric cancer classification model,the Xception network was selected as the final classification model after comparison.After parameter adjustment and training,the final gastric cancer classification model achieved an accuracy of 98.13%,sensitivity of 98.11%,specificity of 98.11%,F1 score of 98.12%,and AUC of 0.998 on the test set.In the training of the gastric cancer grading model,the stacking method represented by random forest showed significant improvement compared to the voting method represented by hard voting.The ensemble model based on random forest was selected as the final grading model,with an accuracy of 95.06%,sensitivity of 94.77%,specificity of 98.36%,and F1 score of 94.82%.The area under the receiver operating characteristic(ROC-AUC)curve values were 0.999 for benign,0.981 for poorly differentiated tubular adenocarcinoma,0.990 for moderately differentiated tubular adenocarcinoma,and 0.995 for well-differentiated tubular adenocarcinoma.Conclusion:Both models demonstrated excellent recognition performance,proving the feasibility of using CNN to achieve high-precision classification and grading of gastric tumor pathological images.The transfer-learning and ensemble-learning framework was successfully applied to the grading of gastric tumor images and holds promise for integration into hospital intelligent diagnostic assistance systems.关键词
胃癌/精准医疗/卷积神经网络/集成学习/人工智能Key words
gastric cancer/precision medicine/convolutional neural network/ensemble learning/artificial intelligence分类
医药卫生引用本文复制引用
吴邦钰,王志霄,项景轩,孙立,马玲..基于卷积神经网络的胃癌病理图像分类诊断与分级识别[J].南京医科大学学报(自然科学版),2026,46(4):520-532,13.基金项目
国家自然科学基金(82102981) (82102981)
江苏高校"青蓝工程"(KY102R202412) (KY102R202412)
中国博士后科学基金第75批面上资助(2024M751224) (2024M751224)
南京市博士后项目[BSHNJ2023003(JC23)] (JC23)
北京希思科临床肿瘤学研究基金会(Y-Young2024-0152) (Y-Young2024-0152)
部省共建肿瘤个体化医学协调创新中心青年项目(2024CICCPMHR033) (2024CICCPMHR033)
胃癌免疫治疗专病队列研究(JZ214490202106052) (JZ214490202106052)
江苏省高等学校大学生创新创业训练计划(X2025103120042) (X2025103120042)