深度学习辅助痰涂片抗酸杆菌分割模型构建与多中心验证
Deep Learning-Assisted Construction and Multicenter Validation of an AFB Segmentation Model on Sputum Smears
DOI: 10.12677/acm.2026.1641434, PDF,   
作者: 徐小斐:青岛大学医学院,山东 青岛;孙有湘, 王宏伟, 李 静, 王 清*:青岛大学附属医院检验科,山东 青岛;张齐波:青岛市公共卫生临床中心(高新院区)检验科,山东 青岛;高绪栋, 李培静:青岛海泰新光科技股份有限公司,山东 青岛
关键词: 抗酸杆菌痰涂片语义分割多中心验证深度学习Acid-Fast Bacilli Sputum Smear Semantic Segmentation Multicenter Validation Deep Learning
摘要: 目的:构建并验证一种面向痰涂片抗酸杆菌(Acid-Fast Bacilli, AFB)像素级识别的深度学习分割模型,评价其在多中心场景下的泛化能力、稳定性与临床可应用性。方法:基于4家医疗中心319例患者数据,纳入5647张含目标像素级标注图像块,采用分阶段消融策略开展模型构建与优化。在统一训练框架下,依次比较多中心训练策略、负样本混入比例、编码器容量、注意力机制和输入分辨率;通过同中心测试、多中心验证、5折交叉验证及留一中心交叉验证(LOCO)进行综合评估。结果:最优配置为U-Net + ResNet50 + scSE + DiceBCE + Strong增强 + 512 × 512,测试集Dice为0.8760,IoU为0.7794,多中心Dice为0.8579。5折交叉验证Dice为0.8741 ± 0.0019,LOCO Dice为0.8591 ± 0.0124,泛化差距为1.50%。数据策略显示,简单多中心混合训练未形成稳定增益;负样本按1:1~1:3比例直接混入会降低泛化性能。单张图像推理约0.18 s。结论:在多中心痰涂片AFB分割任务中,以系统消融驱动的模型构建路径可同时获得较高精度、较低泛化差距和可接受推理效率,可为结核病实验室镜检流程的标准化与智能化提供技术支持。
Abstract: Objective: To develop and validate a deep learning–based segmentation model for pixel-level recognition of Acid-Fast Bacilli (AFB) in sputum smear images, and to evaluate its generalization ability, robustness, and clinical applicability across multi-center settings. Methods: Based on data from 319 patients across four medical centers, a total of 5,647 annotated image patches containing target bacilli were collected. A staged ablation strategy was adopted for model construction and optimization. Within a unified training framework, we systematically compared multi-center training strategies, the proportion of negative sample mixing, encoder capacity, attention mechanisms, and input resolution. Model performance was comprehensively evaluated through intra-center testing, multi-center validation, five-fold cross-validation, and Leave-One-Center-Out (LOCO) validation. Results: The optimal configuration (U-Net + ResNet50 + scSE + DiceBCE + Strong Augmentation, 512 × 512) achieved a Dice coefficient of 0.8760 and an IoU of 0.7794 on the test set. Multi-center Dice was 0.8579. Five-fold cross-validation yielded a Dice of 0.8741 ± 0.0019, while LOCO validation achieved 0.8591 ± 0.0124, with a performance drop of less than 1.50%. Data strategy analysis showed that simple multi-center data mixing did not yield stable improvements, and incorporating negative samples at a ratio of 1:1 - 1:3 reduced model performance. The inference time per image was approximately 0.18 s. Conclusion: In multi-center AFB sputum smear segmentation tasks, a systematically ablation-driven model development strategy can achieve high accuracy, minimal generalization loss, and acceptable inference efficiency, thereby providing technical support for the standardization and intelligent transformation of laboratory diagnostic workflows for tuberculosis.
文章引用:徐小斐, 孙有湘, 王宏伟, 李静, 张齐波, 王清, 高绪栋, 李培静. 深度学习辅助痰涂片抗酸杆菌分割模型构建与多中心验证 [J]. 临床医学进展, 2026, 16(4): 1924-1934. https://doi.org/10.12677/acm.2026.1641434

参考文献

[1] 周林, 刘二勇, 孟庆琳, 等. 《WS 288—2017肺结核诊断》标准实施后肺结核诊断质量评估分析[J]. 中国防痨杂志, 2020, 42(9): 910-915.
[2] 中国医学科学院病原生物学研究所, 中国疾病预防控制中心, 中国科学院地理科学与资源研究所. 全国结核分枝杆菌潜伏感染率估算专家共识[J]. 中国防痨杂志, 2022, 44(1): 4-8.
[3] 谢芳晖, 梁丽, 赵霞, 等. 肺结核患者痰标本采集的研究进展[J]. 中国防痨杂志, 2022, 44(9): 978-982.
[4] 中国防痨协会非结核分枝杆菌病分会. 非结核分枝杆菌病分子生物学诊断专家共识[J]. 中国防痨杂志, 2025, 47(8): 961-975.
[5] 曹玉红, 徐海, 刘荪傲, 等. 基于深度学习的医学影像分割研究综述[J]. 计算机应用, 2021, 41(8): 2273-2287.
[6] 李增辉, 王伟. 基于深度学习的医学图像分割方法研究进展[J]. 电子科技, 2024, 37(1): 72-80.
[7] Ronneberger, O., Fischer, P. and Brox, T. (2015) U-Net: Convolutional Networks for Biomedical Image Segmentation. In: Navab, N., Hornegger, J., Wells, W.M., et al., Eds., Medical Image Computing and Computer-Assisted InterventionMICCAI 2015, Springer, 234-241. [Google Scholar] [CrossRef
[8] 张洪静, 褚洪迁, 孙照刚, 等. 我国结核病体外诊断科技成果创新转化现状分析[J]. 中国防痨杂志, 2024, 46(7): 743-749.
[9] 傅可言, 朱邦政, 叶健. 间质性肺疾病合并结核分枝杆菌感染的研究进展[J]. 中国防痨杂志, 2024, 46(7): 823-829.
[10] Del Carpio, C., Dianderas, E., Zimic, M., Sheen, P., Coronel, J., Lavarello, R., et al. (2019) An Algorithm for Detection of Tuberculosis Bacilli in Ziehl-Neelsen Sputum Smear Images. International Journal of Electrical and Computer Engineering, 9, 2968-2981. [Google Scholar] [CrossRef
[11] Fu, H.T., Tu, H.Z., Lee, H.S., et al. (2022) Evaluation of an AI-Based TB AFB Smear Screening System for Laboratory Diagnosis on Routine Practice. Sensors, 22, Article No. 8497. [Google Scholar] [CrossRef] [PubMed]
[12] 夏辉, 赵雁林. 基于舌拭子的结核分枝杆菌复合群核酸检测方法在肺结核诊断和筛查中的应用前景与挑战[J]. 中国防痨杂志, 2025, 47(8): 976-980.
[13] 王苑柠, 杜宗敏. CRISPR/Cas分子诊断技术在结核分枝杆菌耐药性检测中的研究进展[J]. 中国防痨杂志, 2025, 47(5): 666-672.