基于域对抗网络的乳腺癌病理图像跨倍率识别方法
Cross-Magnification Recognition of Breast Cancer Histopathological Images Based on a Domain-Adversarial Network
DOI: 10.12677/csa.2026.1611347, PDF,    科研立项经费支持
作者: 汪文涛:淮北理工学院电子与信息工程学院,安徽 淮北
关键词: 乳腺癌;病理图像;域对抗网络;无监督域适应;放大倍率;Breast Cancer; Histopathological Image; Domain-Adversarial Network; Unsupervised Domain Adaptation; Magnification
摘要: 乳腺癌病理图像在不同放大倍率下的组织形态与纹理特征存在差异,模型训练与测试在倍率不一致时易发生域漂移、导致性能下降;且现有研究多以图像为单位随机划分训练集与测试集,同一患者的病理图像信息会被同时使用,导致分类性能被高估。针对上述问题,本文提出一种基于域对抗网络的乳腺癌病理图像跨倍率识别方法。本方法将BreakHis的4个放大倍率(40×, 100×, 200×, 400×)视为4个域,构建12组有向跨域任务,并以患者为单位划分源域训练池、目标域无标签训练池与目标域测试池,三池互不相交。模型以ImageNet预训练后的ResNet50为特征提取器,并联良恶性分类器与域判别器,再通过极小极大博弈学习域不变特征,并对域对抗权重采用渐进式退火。实验结果表明:本方法平均准确率、精确率、召回率、F1分数和AUC分别为77.03%、78.65%、86.55%、81.90%和80.23%,整体优于多核最大均值差异(MMD)与深度协方差对齐(CORAL);较源域基线,准确率、F1和AUC分别提高6.95、4.24和5.60个百分点;在3个随机种子的重复实验中准确率标准差仅为0.75个百分点,表明其稳健性良好;t-SNE可视化显示跨域特征经对齐后明显聚拢,同时良恶性仍保持可分。实验结果表明,本方法能有效缓解跨倍率域漂移,可为病理图像跨倍率识别与模型泛化能力评估提供参考。
Abstract: Histopathological images of breast cancer differ in tissue morphology and texture across magnification levels. When the magnification used for model training and testing is inconsistent, domain shift is prone to occur and the performance degrades. Moreover, existing studies mostly split the training and test sets randomly at the image level, so that the histopathological image information of the same patient is used simultaneously, leading to overestimated classification performance. To address the above problems, this paper proposes a cross-magnification recognition method for breast cancer histopathological images based on a domain-adversarial network. The method treats the four magnification levels of BreakHis (40×, 100×, 200×, 400×) as four domains, constructs 12 directed cross-domain tasks, and partitions the source-domain training pool, the target-domain unlabeled training pool, and the target-domain test pool at the patient level, with the three pools being mutually disjoint. The model adopts a ResNet50 pretrained on ImageNet as the feature extractor, to which a benign-malignant classifier and a domain discriminator are connected in parallel; it then learns domain-invariant features through a minimax game and applies progressive annealing to the domain-adversarial weight. The experimental results show that the proposed method achieves average accuracy, precision, recall, F1 score, and AUC of 77.03%, 78.65%, 86.55%, 81.90%, and 80.23%, respectively, overall outperforming multi-kernel maximum mean discrepancy (MMD) and deep covariance alignment (CORAL). Compared with the source-domain baseline, the accuracy, F1, and AUC are improved by 6.95, 4.24, and 5.60 percentage points, respectively. In the repeated experiments with three random seeds, the standard deviation of accuracy is only 0.75 percentage points, indicating good robustness. The t-SNE visualization shows that the cross-domain features clearly cluster after alignment while the benign and malignant samples remain separable. These results demonstrate that the proposed method can effectively alleviate the cross-magnification domain shift and provide a reference for the cross-magnification recognition of histopathological images and the evaluation of model generalization.
文章引用:汪文涛. 基于域对抗网络的乳腺癌病理图像跨倍率识别方法[J]. 计算机科学与应用, 2026, 16(11): 319-329. https://doi.org/10.12677/csa.2026.1611347

参考文献

[1] 郑荣寿, 陈茹, 韩冰峰, 等. 2022年中国恶性肿瘤流行情况分析[J]. 中华肿瘤杂志, 2024, 46(3): 221-231.
[2] Litjens, G., Kooi, T., Bejnordi, B.E., Setio, A.A.A., Ciompi, F., Ghafoorian, M., et al. (2017) A Survey on Deep Learning in Medical Image Analysis. Medical Image Analysis, 42, 60-88.
https://doi.org/10.1016/j.media.2017.07.005
[3] 张雪芹, 李天任. 基于Cycle-GAN和改进DPN网络的乳腺癌病理图像分类[J]. 浙江大学学报(工学版), 2022, 56(4): 727-735.
[4] 刘世博, 范明, 厉力华. 基于深度网络模型融合的乳腺病理图像分类研究[J]. 杭州电子科技大学学报(自然科学版), 2024, 44(5): 57-64.
[5] Dosovitskiy, A., Beyer, L., Kolesnikov, A., et al. (2021) An Image Is Worth 16×16 Words: Transformers for Image Recognition at Scale. arXiv:2010.11929.
[6] 张建新, 高程阳, 孙鉴, 等. 混合监督学习的乳腺癌全切片病理图像分类[J]. 中国图象图形学报, 2024, 29(9): 2825-2836.
[7] 杨芳, 邹迎, 丁雪妍, 等. 多层级深度特征融合的乳腺癌病理图像分类[J]. 光电子·激光, 2025, 36(2): 185-192.
[8] Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., et al. (2021) Swin Transformer: Hierarchical Vision Transformer Using Shifted Windows. 2021 IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, 10-17 October 2021, 10012-10022.
https://doi.org/10.1109/iccv48922.2021.00986
[9] Zhou, B., Khosla, A., Lapedriza, A., Oliva, A. and Torralba, A. (2016) Learning Deep Features for Discriminative Localization. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, 27-30 June 2016, 2921-2929.
https://doi.org/10.1109/cvpr.2016.319
[10] Hao, S., Jia, Y., Liu, J., Wang, Z., Liu, C., Ji, Z., et al. (2024) ST-Double-Net: A Two-Stage Breast Tumor Classification Model Based on Swin Transformer and Weakly Supervised Target Localization. IEEE Access, 12, 117921-117933.
https://doi.org/10.1109/access.2024.3445954
[11] 刘建伟, 孙正康, 罗雄麟. 域自适应学习研究进展[J]. 自动化学报, 2014, 40(8): 1576-1600.
[12] Ganin, Y., Ustinova, E., Ajakan, H., et al. (2016) Domain-Adversarial Training of Neural Networks. Journal of Machine Learning Research, 17, 1-35.
[13] He, K., Zhang, X., Ren, S. and Sun, J. (2016) Deep Residual Learning for Image Recognition. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, 27-30 June 2016, 770-778.
https://doi.org/10.1109/cvpr.2016.90
[14] Spanhol, F.A., Oliveira, L.S., Petitjean, C. and Heutte, L. (2016) A Dataset for Breast Cancer Histopathological Image Classification. IEEE Transactions on Biomedical Engineering, 63, 1455-1462.
https://doi.org/10.1109/tbme.2015.2496264
[15] Gretton, A., Borgwardt, K.M., Rasch, M.J., et al. (2012) A Kernel Two-Sample Test. Journal of Machine Learning Research, 13, 723-773.
[16] Long, M., Cao, Y., Wang, J., et al. (2015) Learning Transferable Features with Deep Adaptation Networks. Proceedings of the 32nd International Conference on Machine Learning (ICML), 37, 97-105.
[17] Sun, B. and Saenko, K. (2016) Deep CORAL: Correlation Alignment for Deep Domain Adaptation. In: Hua, G. and Jégou, H., Eds., Lecture Notes in Computer Science, Springer International Publishing, 443-450.
https://doi.org/10.1007/978-3-319-49409-8_35