Distinguishing nontuberculous mycobacterial lung disease and Mycobacterium tuberculosis lung disease on X-ray images using deep transfer learning

BMC Infect Dis. 2023 Jan 19;23(1):32. doi: 10.1186/s12879-023-07996-5.

Abstract

Background: Nontuberculous mycobacterial lung disease (NTM-LD) and Mycobacterium tuberculosis lung disease (MTB-LD) have similar clinical characteristics. Therefore, NTM-LD is sometimes incorrectly diagnosed with MTB-LD and treated incorrectly. To solve these difficulties, we aimed to distinguish the two diseases in chest X-ray images using deep learning technology, which has been used in various fields recently.

Methods: We retrospectively collected chest X-ray images from 3314 patients infected with Mycobacterium tuberculosis (MTB) or nontuberculosis mycobacterium (NTM). After selecting the data according to the diagnostic criteria, various experiments were conducted to create the optimal deep learning model. A performance comparison was performed with the radiologist. Additionally, the model performance was verified using newly collected MTB-LD and NTM-LD patient data.

Results: Among the implemented deep learning models, the ensemble model combining EfficientNet B4 and ResNet 50 performed the best in the test data. Also, the ensemble model outperformed the radiologist on all evaluation metrics. In addition, the accuracy of the ensemble model was 0.85 for MTB-LD and 0.78 for NTM-LD on an additional validation dataset consisting of newly collected patients.

Conclusions: In previous studies, it was known that it was difficult to distinguish between MTB-LD and NTM-LD in chest X-ray images, but we have successfully distinguished the two diseases using deep learning methods. This study has the potential to aid clinical decisions if the two diseases need to be differentiated.

Keywords: Chest X-ray image; Deep learning; Intersection over detected bounding-box; Mycobacterium tuberculosis lung disease; Nontuberculous mycobacterial lung disease.

MeSH terms

  • Humans
  • Lung Diseases*
  • Machine Learning
  • Mycobacterium Infections, Nontuberculous* / diagnostic imaging
  • Mycobacterium Infections, Nontuberculous* / drug therapy
  • Mycobacterium tuberculosis*
  • Nontuberculous Mycobacteria
  • Pneumonia*
  • Retrospective Studies
  • X-Rays