Automatic cough classification for tuberculosis screening in a real-world environment

Objective. The automatic discrimination between the coughing sounds produced by patients with tuberculosis (TB) and those produced by patients with other lung ailments. Approach. We present experiments based on a dataset of 1358 forced cough recordings obtained in a developing-world clinic from 16 patients with confirmed active pulmonary TB and 35 patients suffering from respiratory conditions suggestive of TB but confirmed to be TB negative. Using nested cross-validation, we have trained and evaluated five machine learning classifiers: logistic regression (LR), support vector machines, k-nearest neighbour, multilayer perceptrons and convolutional neural networks. Main Results. Although classification is possible in all cases, the best performance is achieved using LR. In combination with feature selection by sequential forward selection, our best LR system achieves an area under the ROC curve (AUC) of 0.94 using 23 features selected from a set of 78 high-resolution mel-frequency cepstral coefficients. This system achieves a sensitivity of 93% at a specificity of 95% and thus exceeds the 90% sensitivity at 70% specificity specification considered by the World Health Organisation (WHO) as a minimal requirement for a community-based TB triage test. Significance. The automatic classification of cough audio sounds, when applied to symptomatic patients requiring investigation for TB, can meet the WHO triage specifications for the identification of patients who should undergo expensive molecular downstream testing. This makes it a promising and viable means of low cost, easily deployable frontline screening for TB, which can benefit especially developing countries with a heavy TB burden.

[1]  Jie Ma,et al.  A systematic review shows no performance benefit of machine learning over logistic regression for clinical prediction models. , 2019, Journal of clinical epidemiology.

[2]  Sriram Chellappan,et al.  TussisWatch: A Smart-Phone System to Identify Cough Episodes as Early Symptoms of Chronic Obstructive Pulmonary Disease and Congestive Heart Failure , 2019, IEEE Journal of Biomedical and Health Informatics.

[3]  N. Arinaminpathy,et al.  Guidance for Studies Evaluating the Accuracy of Tuberculosis Triage Tests. , 2019, The Journal of infectious diseases.

[4]  L. T. DeCarlo On the meaning and use of kurtosis. , 1997 .

[5]  Johannes B Reitsma,et al.  Case-control and two-gate designs in diagnostic accuracy studies. , 2005, Clinical chemistry.

[6]  Renard Xaviero Adhi Pramono,et al.  A Cough-Based Algorithm for Automatic Diagnosis of Pertussis , 2016, PloS one.

[7]  Esther Rodríguez-Villegas,et al.  Automatic Cough Detection in Acoustic Signal using Spectral Features , 2019, 2019 41st Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC).

[8]  Cecilia Mascolo,et al.  Exploring Automatic Diagnosis of COVID-19 from Crowdsourced Respiratory Sound Data , 2020, KDD.

[9]  S. Haranath,et al.  Cough sound analysis and objective correlation with spirometry and clinical diagnosis , 2020 .

[10]  Geoffrey E. Hinton,et al.  ImageNet classification with deep convolutional neural networks , 2012, Commun. ACM.

[11]  Néstor Becerra Yoma,et al.  Telephone Channel Compensation in Speaker Verification Using a Polynomial Approximation in the Log-Filter-Bank Energy Domain , 2012, IEEE Transactions on Audio, Speech, and Language Processing.

[12]  Kensall D. Wise,et al.  A high sensitivity polysilicon diaphragm condenser microphone , 1998, Proceedings MEMS 98. IEEE. Eleventh Annual International Workshop on Micro Electro Mechanical Systems. An Investigation of Micro Structures, Sensors, Actuators, Machines and Systems (Cat. No.98CH36176.

[13]  Kazuya Takeda,et al.  Models and analysis of vocal emissions for biomedical applications : 3rd International workshop ... , 2003 .

[14]  Thomas Niesler,et al.  COVID-19 cough classification using machine learning and global smartphone recordings , 2021, Computers in Biology and Medicine.

[15]  Hiroshi Yamashita,et al.  An Interior Point Method with a Primal-Dual Quadratic Barrier Penalty Function for Nonlinear Optimization , 2003, SIAM J. Optim..

[16]  S. Liska,et al.  Feasibility, acceptability, and cost of tuberculosis testing by whole-blood interferon-gamma assay , 2006, BMC infectious diseases.

[17]  Jhing-Fa Wang,et al.  Environmental Sound Classification using Hybrid SVM/KNN Classifier and MPEG-7 Audio Low-Level Descriptor , 2006, The 2006 IEEE International Joint Conference on Neural Network Proceedings.

[18]  G. Redding,et al.  Chronic wet cough: Protracted bronchitis, chronic suppurative lung disease and bronchiectasis , 2008, Pediatric pulmonology.

[19]  Thomas Niesler,et al.  Deep Neural Network Based Cough Detection Using Bed-Mounted Accelerometer Measurements , 2021, ICASSP 2021 - 2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP).

[20]  Alimuddin Zumla,et al.  The global tuberculosis epidemic and progress in care, prevention, and research: an overview in year 3 of the End TB era. , 2018, The Lancet. Respiratory medicine.

[21]  M. Joloba,et al.  Direct susceptibility testing for multi drug resistant tuberculosis: A meta-analysis , 2009, BMC infectious diseases.

[22]  Rytis Maskeliunas,et al.  Detecting Parkinson's disease with sustained phonation and speech signals using machine learning techniques , 2019, Pattern Recognit. Lett..

[23]  M. Egger,et al.  Tuberculosis in Cape Town: An age-structured transmission model. , 2016, Epidemics.

[24]  A. Konstantinos Diagnostic tests Testing for tuberculosis , 2010 .

[25]  Oliver Chiu-sing Choy,et al.  An efficient MFCC extraction method in speech recognition , 2006, 2006 IEEE International Symposium on Circuits and Systems.

[26]  Xingqun Qi,et al.  Comparison of Support Vector Machine and Softmax Classifiers in Computer Vision , 2017, 2017 Second International Conference on Mechanical, Control and Computer Engineering (ICMCCE).

[27]  J. Korpáš,et al.  Analysis of the cough sound: an overview. , 1996, Pulmonary pharmacology.

[28]  H. Pasterkamp,et al.  Respiratory sounds. Advances beyond the stethoscope. , 1997, American journal of respiratory and critical care medicine.

[29]  Mohamed Moustafa Azmy Feature extraction of heart sounds using velocity and acceleration of MFCCs based on support vector machines , 2017, 2017 IEEE Jordan Conference on Applied Electrical Engineering and Computing Technologies (AEECT).

[30]  P D van Helden,et al.  Detection of tuberculosis by automatic cough sound analysis , 2018, Physiological measurement.

[31]  Tom Fawcett,et al.  An introduction to ROC analysis , 2006, Pattern Recognit. Lett..

[32]  Udantha R. Abeyratne,et al.  Cough sound analysis for diagnosing croup in pediatric patients using biologically inspired features , 2017, 2017 39th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC).

[33]  L. Bekker,et al.  HIV prevalence and determinants of loss-to-follow-up in adolescents and young adults with tuberculosis in Cape Town , 2019, PloS one.

[34]  Guo-Zheng Li,et al.  Audio signals encoding for cough classification using convolutional neural networks: A comparative study , 2015, 2015 IEEE International Conference on Bioinformatics and Biomedicine (BIBM).

[35]  G. Theron,et al.  The South African Tuberculosis Care Cascade: Estimated Losses and Methodological Challenges , 2017, The Journal of infectious diseases.

[36]  Madhurananda Pahar,et al.  Coding and Decoding Speech using a Biologically Inspired Coding System , 2020, 2020 IEEE Symposium Series on Computational Intelligence (SSCI).

[37]  Brian Tracey,et al.  Cough detection algorithm for monitoring patient recovery from pulmonary tuberculosis , 2011, 2011 Annual International Conference of the IEEE Engineering in Medicine and Biology Society.

[38]  Jilong Kuang,et al.  CoughGAN: Generating Synthetic Coughs that Improve Respiratory Disease Classification* , 2020, 2020 42nd Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC).

[39]  Juliana A. Knocikova,et al.  Wavelet analysis of voluntary cough sound in patients with respiratory diseases. , 2008, Journal of physiology and pharmacology : an official journal of the Polish Physiological Society.

[40]  Buket D. Barkana,et al.  Voiced/Unvoiced Decision for Speech Signals Based on Zero-Crossing Rate and Energy , 2008, SCSS.

[41]  Udantha R. Abeyratne,et al.  Automatic Croup Diagnosis Using Cough Sound Recognition , 2019, IEEE Transactions on Biomedical Engineering.

[42]  Iva Salom,et al.  Multilayer graphene condenser microphone , 2015 .

[43]  Frank Knoefel,et al.  Feature extraction for the differentiation of dry and wet cough sounds , 2011, 2011 IEEE International Symposium on Medical Measurements and Applications.

[44]  Mahmood Al-khassaweneh,et al.  A signal processing approach for the diagnosis of asthma from cough sounds , 2013, Journal of medical engineering & technology.

[45]  Alain Rakotomamonjy,et al.  Optimizing Area Under Roc Curve with SVMs , 2004, ROCAI.

[46]  Vikrant Bhateja,et al.  Pre-Processing and Classification of Cough Sounds in Noisy Environment using SVM , 2019, 2019 4th International Conference on Information Systems and Computer Networks (ISCON).

[47]  Srikanth Raj Chetupalli,et al.  Coswara - A Database of Breathing, Cough, and Voice Sounds for COVID-19 Diagnosis , 2020, INTERSPEECH.

[48]  T. Higenbottam Chronic cough and the cough reflex in common lung diseases. , 2002, Pulmonary pharmacology & therapeutics.

[49]  Sophia Ananiadou,et al.  Stochastic Gradient Descent Training for L1-regularized Log-linear Models with Cumulative Penalty , 2009, ACL.

[50]  Jilong Kuang,et al.  DeepLung: Smartphone Convolutional Neural Network-Based Inference of Lung Anomalies for Pulmonary Patients , 2019, INTERSPEECH.

[51]  Josef Kittler,et al.  Pattern recognition : a statistical approach , 1982 .

[52]  W. Robertson,et al.  Comparing audio compression using wavelets with other audio compression schemes , 1999, Engineering Solutions for the Next Millennium. 1999 IEEE Canadian Conference on Electrical and Computer Engineering (Cat. No.99TH8411).

[53]  J. Nadel,et al.  Role of autonomic nervous system and the cough reflex in the increased responsiveness of airways in patients with obstructive airway disease. , 1967, The Journal of clinical investigation.

[54]  Charles X. Ling,et al.  Using AUC and accuracy in evaluating learning algorithms , 2005, IEEE Transactions on Knowledge and Data Engineering.

[55]  H. Sotoudeh,et al.  Artificial Intelligence Empowers Radiologists to Differentiate Pneumonia Induced by COVID-19 versus Influenza Viruses , 2020, Acta informatica medica : AIM : journal of the Society for Medical Informatics of Bosnia & Herzegovina : casopis Drustva za medicinsku informatiku BiH.

[56]  Pablo Casaseca-de-la-Higuera,et al.  Robust Detection of Audio-Cough Events Using Local Hu Moments , 2019, IEEE Journal of Biomedical and Health Informatics.

[57]  I. Pavord,et al.  Prevalence, pathogenesis, and causes of chronic cough , 2008, The Lancet.

[58]  L. Gabbasova,et al.  Global tuberculosis report (2014) , 2014 .

[59]  Don H. Johnson,et al.  Signal-to-noise ratio , 2006, Scholarpedia.

[60]  Thomas Brunschwiler,et al.  Nocturnal Cough and Snore Detection in Noisy Environments Using Smartphone-Microphones , 2019, 2019 IEEE International Conference on Healthcare Informatics (ICHI).

[61]  Tareq Abed Mohammed,et al.  Understanding of a convolutional neural network , 2017, 2017 International Conference on Engineering and Technology (ICET).

[62]  Ah Chung Tsoi,et al.  Face recognition: a convolutional neural-network approach , 1997, IEEE Trans. Neural Networks.

[63]  Ashley Woodcock,et al.  Objective Cough Frequency, Airway Inflammation, and Disease Control in Asthma. , 2016, Chest.

[64]  Peter Wittenburg,et al.  ELAN: a Professional Framework for Multimodality Research , 2006, LREC.

[65]  M. O'Sullivan,et al.  Machine learning based linear and nonlinear noise estimation , 2018, IEEE/OSA Journal of Optical Communications and Networking.

[66]  Daniel Chamberlain,et al.  Use of cough sounds for diagnosis and screening of pulmonary disease , 2017, 2017 IEEE Global Humanitarian Technology Conference (GHTC).