Use of a convolutional neural network for direct detection of acid-fast bacilli from clinical specimens

ABSTRACT Mycobacteria, including Mycobacterium tuberculosis (MTB) and non-tuberculosis mycobacteria (NTM), are important causes of infectious disease and cause significant mortality and morbidity globally. Fast detection is extremely important to reduce transmission and mortality associated with the...

Full description

Saved in:
Bibliographic Details
Main Authors: Paul English, Muir J. Morrison, Blaine Mathison, Elizabeth Enrico, Ryan Shean, Brendan O'Fallon, Deven Rupp, Katie Knight, Alexandra Rangel, Jeffrey Gilivary, Amanda Vance, Haleina Hatch, Leo Lin, David P. Ng, Salika M. Shakir
Format: Article
Language:English
Published: American Society for Microbiology 2025-08-01
Series:Microbiology Spectrum
Subjects:
Online Access:https://journals.asm.org/doi/10.1128/spectrum.00602-25
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850038027651383296
author Paul English
Muir J. Morrison
Blaine Mathison
Elizabeth Enrico
Ryan Shean
Brendan O'Fallon
Deven Rupp
Katie Knight
Alexandra Rangel
Jeffrey Gilivary
Amanda Vance
Haleina Hatch
Leo Lin
David P. Ng
Salika M. Shakir
author_facet Paul English
Muir J. Morrison
Blaine Mathison
Elizabeth Enrico
Ryan Shean
Brendan O'Fallon
Deven Rupp
Katie Knight
Alexandra Rangel
Jeffrey Gilivary
Amanda Vance
Haleina Hatch
Leo Lin
David P. Ng
Salika M. Shakir
author_sort Paul English
collection DOAJ
description ABSTRACT Mycobacteria, including Mycobacterium tuberculosis (MTB) and non-tuberculosis mycobacteria (NTM), are important causes of infectious disease and cause significant mortality and morbidity globally. Fast detection is extremely important to reduce transmission and mortality associated with these infectious agents. Manual smear microscopy is a cost-effective tool for diagnosing and monitoring of these organisms; however, it is labor-intensive and requires highly-trained personnel. We present the development of an artificial intelligence computer vision process using a deep convolutional neural network to detect acid-fast bacilli (AFB) from Kinyoun acid-fast stained slides. We collected 231 clinical specimens between August 2023 and June 2024. Following acid-fast staining, whole slide images (WSI) were digitized, and AFB organisms were manually annotated. A machine learning computer vision model was trained using 11,411 annotated organisms across 109 WSI. Model predictions were correlated with final culture-confirmed results. The final model estimated AFB density per 1000 x microscope field of view (FOV). Using a density threshold of ≥10−2 AFB/1000xFOV (corresponding to 1 + per Clinical and Laboratory Standards Institute (CLSI) guideline M48) to predict positive culture results, the model correctly classified 68% of validation slides, with a sensitivity of 79% and specificity of 63%. Manual AO compared to final culture read showed sensitivity of 76% and specificity of 96%. Although performance of our model was not sufficient to be clinically implemented in our laboratory, our study provides a framework for AI-based AFB detection and a publicly available data set to support future advancements in automated detection of AFB.IMPORTANCEWe present the development of an artificial intelligence model to detect acid-fast bacilli (AFB) directly from stained clinical smears. While the model’s current performance requires further improvement to be clinically useful in our lab, we detail our approach and share our expertly annotated data set to support future advancements in this area. By building on our work, researchers can develop better algorithms to improve the diagnosis of AFB, reducing the burden on laboratory staff and improving diagnostic speed and accuracy of these medically important organisms.
format Article
id doaj-art-d490d22920bc41eaa47ea023254e15d1
institution DOAJ
issn 2165-0497
language English
publishDate 2025-08-01
publisher American Society for Microbiology
record_format Article
series Microbiology Spectrum
spelling doaj-art-d490d22920bc41eaa47ea023254e15d12025-08-20T02:56:43ZengAmerican Society for MicrobiologyMicrobiology Spectrum2165-04972025-08-0113810.1128/spectrum.00602-25Use of a convolutional neural network for direct detection of acid-fast bacilli from clinical specimensPaul English0Muir J. Morrison1Blaine Mathison2Elizabeth Enrico3Ryan Shean4Brendan O'Fallon5Deven Rupp6Katie Knight7Alexandra Rangel8Jeffrey Gilivary9Amanda Vance10Haleina Hatch11Leo Lin12David P. Ng13Salika M. Shakir14ARUP Institute for Research and Innovation in Diagnostic and Precision Medicine, ARUP Laboratories, Salt Lake City, Utah, USAARUP Institute for Research and Innovation in Diagnostic and Precision Medicine, ARUP Laboratories, Salt Lake City, Utah, USAARUP Technical Operations Infectious Diseases, ARUP Laboratories, Salt Lake City, Utah, USAARUP Institute for Research and Innovation in Diagnostic and Precision Medicine, ARUP Laboratories, Salt Lake City, Utah, USAARUP Institute for Research and Innovation in Diagnostic and Precision Medicine, ARUP Laboratories, Salt Lake City, Utah, USAARUP Institute for Research and Innovation in Diagnostic and Precision Medicine, ARUP Laboratories, Salt Lake City, Utah, USAARUP Institute for Research and Innovation in Diagnostic and Precision Medicine, ARUP Laboratories, Salt Lake City, Utah, USAARUP Institute for Research and Innovation in Diagnostic and Precision Medicine, ARUP Laboratories, Salt Lake City, Utah, USAARUP Institute for Research and Innovation in Diagnostic and Precision Medicine, ARUP Laboratories, Salt Lake City, Utah, USAARUP Technical Operations Infectious Diseases, ARUP Laboratories, Salt Lake City, Utah, USAARUP Technical Operations Infectious Diseases, ARUP Laboratories, Salt Lake City, Utah, USAARUP Technical Operations Infectious Diseases, ARUP Laboratories, Salt Lake City, Utah, USAARUP Institute for Research and Innovation in Diagnostic and Precision Medicine, ARUP Laboratories, Salt Lake City, Utah, USAARUP Institute for Research and Innovation in Diagnostic and Precision Medicine, ARUP Laboratories, Salt Lake City, Utah, USAARUP Institute for Research and Innovation in Diagnostic and Precision Medicine, ARUP Laboratories, Salt Lake City, Utah, USAABSTRACT Mycobacteria, including Mycobacterium tuberculosis (MTB) and non-tuberculosis mycobacteria (NTM), are important causes of infectious disease and cause significant mortality and morbidity globally. Fast detection is extremely important to reduce transmission and mortality associated with these infectious agents. Manual smear microscopy is a cost-effective tool for diagnosing and monitoring of these organisms; however, it is labor-intensive and requires highly-trained personnel. We present the development of an artificial intelligence computer vision process using a deep convolutional neural network to detect acid-fast bacilli (AFB) from Kinyoun acid-fast stained slides. We collected 231 clinical specimens between August 2023 and June 2024. Following acid-fast staining, whole slide images (WSI) were digitized, and AFB organisms were manually annotated. A machine learning computer vision model was trained using 11,411 annotated organisms across 109 WSI. Model predictions were correlated with final culture-confirmed results. The final model estimated AFB density per 1000 x microscope field of view (FOV). Using a density threshold of ≥10−2 AFB/1000xFOV (corresponding to 1 + per Clinical and Laboratory Standards Institute (CLSI) guideline M48) to predict positive culture results, the model correctly classified 68% of validation slides, with a sensitivity of 79% and specificity of 63%. Manual AO compared to final culture read showed sensitivity of 76% and specificity of 96%. Although performance of our model was not sufficient to be clinically implemented in our laboratory, our study provides a framework for AI-based AFB detection and a publicly available data set to support future advancements in automated detection of AFB.IMPORTANCEWe present the development of an artificial intelligence model to detect acid-fast bacilli (AFB) directly from stained clinical smears. While the model’s current performance requires further improvement to be clinically useful in our lab, we detail our approach and share our expertly annotated data set to support future advancements in this area. By building on our work, researchers can develop better algorithms to improve the diagnosis of AFB, reducing the burden on laboratory staff and improving diagnostic speed and accuracy of these medically important organisms.https://journals.asm.org/doi/10.1128/spectrum.00602-25acid-fast bacillimycobacteriaartificial intelligencedigital pathologymicrobiologyobject detection
spellingShingle Paul English
Muir J. Morrison
Blaine Mathison
Elizabeth Enrico
Ryan Shean
Brendan O'Fallon
Deven Rupp
Katie Knight
Alexandra Rangel
Jeffrey Gilivary
Amanda Vance
Haleina Hatch
Leo Lin
David P. Ng
Salika M. Shakir
Use of a convolutional neural network for direct detection of acid-fast bacilli from clinical specimens
Microbiology Spectrum
acid-fast bacilli
mycobacteria
artificial intelligence
digital pathology
microbiology
object detection
title Use of a convolutional neural network for direct detection of acid-fast bacilli from clinical specimens
title_full Use of a convolutional neural network for direct detection of acid-fast bacilli from clinical specimens
title_fullStr Use of a convolutional neural network for direct detection of acid-fast bacilli from clinical specimens
title_full_unstemmed Use of a convolutional neural network for direct detection of acid-fast bacilli from clinical specimens
title_short Use of a convolutional neural network for direct detection of acid-fast bacilli from clinical specimens
title_sort use of a convolutional neural network for direct detection of acid fast bacilli from clinical specimens
topic acid-fast bacilli
mycobacteria
artificial intelligence
digital pathology
microbiology
object detection
url https://journals.asm.org/doi/10.1128/spectrum.00602-25
work_keys_str_mv AT paulenglish useofaconvolutionalneuralnetworkfordirectdetectionofacidfastbacillifromclinicalspecimens
AT muirjmorrison useofaconvolutionalneuralnetworkfordirectdetectionofacidfastbacillifromclinicalspecimens
AT blainemathison useofaconvolutionalneuralnetworkfordirectdetectionofacidfastbacillifromclinicalspecimens
AT elizabethenrico useofaconvolutionalneuralnetworkfordirectdetectionofacidfastbacillifromclinicalspecimens
AT ryanshean useofaconvolutionalneuralnetworkfordirectdetectionofacidfastbacillifromclinicalspecimens
AT brendanofallon useofaconvolutionalneuralnetworkfordirectdetectionofacidfastbacillifromclinicalspecimens
AT devenrupp useofaconvolutionalneuralnetworkfordirectdetectionofacidfastbacillifromclinicalspecimens
AT katieknight useofaconvolutionalneuralnetworkfordirectdetectionofacidfastbacillifromclinicalspecimens
AT alexandrarangel useofaconvolutionalneuralnetworkfordirectdetectionofacidfastbacillifromclinicalspecimens
AT jeffreygilivary useofaconvolutionalneuralnetworkfordirectdetectionofacidfastbacillifromclinicalspecimens
AT amandavance useofaconvolutionalneuralnetworkfordirectdetectionofacidfastbacillifromclinicalspecimens
AT haleinahatch useofaconvolutionalneuralnetworkfordirectdetectionofacidfastbacillifromclinicalspecimens
AT leolin useofaconvolutionalneuralnetworkfordirectdetectionofacidfastbacillifromclinicalspecimens
AT davidpng useofaconvolutionalneuralnetworkfordirectdetectionofacidfastbacillifromclinicalspecimens
AT salikamshakir useofaconvolutionalneuralnetworkfordirectdetectionofacidfastbacillifromclinicalspecimens