Distinguishing infectivity in patients with pulmonary tuberculosis using deep learning

Front Public Health. 2023 Nov 27:11:1247141. doi: 10.3389/fpubh.2023.1247141. eCollection 2023.

Abstract

Introduction: This study aimed to develop and assess a deep-learning model based on CT images for distinguishing infectivity in patients with pulmonary tuberculosis (PTB).

Methods: We labeled all 925 patients from four centers with weak and strong infectivity based on multiple sputum smears within a month for our deep-learning model named TBINet's training. We compared TBINet's performance in identifying infectious patients to that of the conventional 3D ResNet model. For model explainability, we used gradient-weighted class activation mapping (Grad-CAM) technology to identify the site of lesion activation in the CT images.

Results: The TBINet model demonstrated superior performance with an area under the curve (AUC) of 0.819 and 0.753 on the validation and external test sets, respectively, compared to existing deep learning methods. Furthermore, using Grad-CAM, we observed that CT images with higher levels of consolidation, voids, upper lobe involvement, and enlarged lymph nodes were more likely to come from patients with highly infectious forms of PTB.

Conclusion: Our study proves the feasibility of using CT images to identify the infectivity of PTB patients based on the deep learning method.

Keywords: CT; deep learning; disease control and prevention; infectivity identification; pulmonary tuberculosis.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Deep Learning*
  • Humans
  • Patients
  • Technology
  • Tuberculosis, Pulmonary* / diagnostic imaging

Grants and funding

This study received support from the Hainan Province Science and Technology Special Fund (ZDYF2021SHFZ079), and the National Natural Science Foundation of China (81772923). The funding agencies did not participate in study design, data collection and analysis, the decision to publish, or manuscript preparation.