Respiratory disease detection in lung auscultation with convolutional neural networks and CVAE augmentation
DOI:
https://doi.org/10.26641/2307-0404.2024.3.313569Keywords:
pulmonary diseases, lung sounds, deep learning, convolutional neural network, conditional variational auto encoderAbstract
The main purpose of this work was to investigate the possibility of detecting respiratory diseases in audio recordings of lung auscultation using modern deep learning tools, as well as to explore the possibility of using data augmentation by generating synthetic spectral representations of audio samples. The ICBHI (International Conference on Biomedical and Health Informatics) dataset was used for training, validation and augmentation. The dataset includes lung auscultations of 126 different subjects, there are a total of 920 sounds, of which 810 have signs of chronic diseases, 75 of non-chronic diseases and 35 with no pathology. The stage of data preprocessing includes discretization to 4kHz frequency, as well as filtering of frequency bands that do not carry information value for the task. In the next step, each sample was transformed into a frequency spectrum and Melspectrograms were generated. To solve the problem of class imbalance, the required number of synthetic spectrograms generated by convolutional variation autoencoders was added. At the stage of building the model, the methods of classical convolutional neural networks were used. The quality of the obtained algorithm was evaluated using a 10-fold cross-validation. Also, to assess the generalization of the proposed method, experiments were performed with the split of audio recordings into training and test sets using patient grouping. Qualitative evaluation of the model was performed using sensitivity, specificity, F1-score and Cohen’s kappa. A score of 98.45% F1-score was achieved for the 5-class classification problem which can contribute to the development of ways to synthesize and augment sensitive medical data. In addition, a cons of existing methods in the generalization of the obtained predictions were revealed, which opens the way for further research in the direction of clinical respiratory diseases detection.
References
Abbas A, Fahim A. An automated computerized auscultation and diagnostic system for pulmonary diseases. J Med Syst. 2010;34:1149-55. doi: https://doi.org/10.1007/s10916-009-9334-1
Fraiwan L, Hassanin O, Fraiwan M, Khassa-wneh B, Ibnian AM, Alkhodari M. Automatic identification of respiratory diseases from stethoscopic lung sound signals using ensemble classifiers. Biocybern Biomed Eng. 2021;41(1):1-14. doi: https://doi.org/10.1016/j.bbe.2020.11.003
Fraiwan M, Fraiwan L, Alkhodari M, Hassanin O. Recognition of pulmonary diseases from lung sounds using convolutional neural networks and long short-term memory. J Ambient Intell Humaniz Comput. 2021;13(10):1-13. doi: https://doi.org/10.1007/s12652-021-03184-y
Gibson GJ, Loddenkemper R, Lundback B, Sibil-le Y. Respiratory health and disease in Europe: The new European lung white book. Eur Respir J. 2013;42(3):559-63. doi: https://doi.org/10.1183/09031936.00105513
Kim Y, Hyon Y, Jung SS, Lee S, Yoo G, Chung C, et al. Respiratory sound classification for crackles, wheezes, and rhonchi in the clinical field using deep learning. Sci Rep. 2021;11(1):1-11. doi: https://doi.org/10.1038/s41598-021-96724-7
Kingma DP, Welling M. Stochastic gradient vb and the variational auto-encoder. In: Second International Conference on Learning Representations. 2014. p. 121.
Lema GF, Berhe YW, Gebrezgi AH, Getu AA. Evidence-based perioperative management of a child with upper respiratory tract infections (urtis) undergoing elective surgery: A systematic review. Int J Surg Open. 2018;12:17-24. doi: https://doi.org/10.1016/j.ijso.2018.05.002
Ma Y, Xu X, Li Y. LungRN+ NL: An improved adventitious lung sound classification using non-local block resnet neural network with mixup data augmen-tation. In: Interspeech; 2020. doi: https://doi.org/10.21437/Interspeech.2020-2487
Minami K, Lu H, Kim H, Mabu S, Hirano Y, Kido S. Automatic classification of large-scale respiratory sound dataset based on convolutional neural net¬work. In: 2019 19th International Conference on Control, Automation and Systems (ICCAS). 2019. p. 804-7. doi: https://doi.org/10.23919/ICCAS47443.2019.8971689
Monaco A, Amoroso N, Bellantuono L, Pantaleo E, Tangaro S, Bellotti R. Multi-time-scale features for accurate respiratory sound classification. Appl Sci. 2020;10(23):8606. doi: https://doi.org/10.3390/app10238606
Pham L, Phan H, Palaniappan R, Mertins A, McLoughlin I. Cnn-moe based framework for classifi-cation of respiratory anomalies and lung disease detection. IEEE J Biomed Health Inform. 2021;25(8):2938-47. doi: https://doi.org/10.1109/JBHI.2021.3064237
Priftis KN, Hadjileontiadis LJ, Everard ML. Breath Sounds. Springer; 2018. 319 р. doi: https://doi.org/10.1007/978-3-319-71824-8
Reyes B, Charleston-Villalobos S, Gonza´lez-Camarena R, Aljama-Corrales T. Assessment of time–frequency representation techniques for thoracic sounds analysis. Comput Methods Programs Biomed. 2014;114(3):276-90. doi: https://doi.org/10.1016/j.cmpb.2014.02.016
Rocha BM, Filos D, Mendes L, Serbes G, Ulukaya S, Kahya YP, et al. An open access database for the evaluation of respiratory sound classification algorithms. Physiol Meas. 2019;40(3):035001. doi: https://doi.org/10.1088/1361-6579/ab03ea
Sarkar M, Bhardwaz R, Madabhavi I, Modi M. Physical signs in patients with chronic obstructive pulmonary disease. Lung India. 2019;36(1):38-47. doi: https://doi.org/10.4103/lungindia.lungindia_145_18
Tasar B, Yaman O, Tuncer T. Accurate respiratory sound classification model based on piccolo pattern. Appl Acoust. 2022;188:108589. doi: https://doi.org/10.1016/j.apacoust.2021.108589
Wu YS, Liao CH, Yuan SM. Automatic auscultation classification of abnormal lung sounds in critical patients through deep learning models. In: 2020 3rd IEEE International Conference on Knowledge Innovation and Invention. 2020. p. 9-11. doi: https://doi.org/10.1109/ICKII50300.2020.9318880
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2024 Medicni perspektivi

This work is licensed under a Creative Commons Attribution 4.0 International License.
Submitting manuscript to the journal "Medicni perspektivi" the author(s) agree with transferring copyright from the author(s) to publisher (including photos, figures, tables, etc.) editor, reproducing materials of the manuscript in the journal, Internet, translation into other languages, export and import of the issue with the author’s article, spreading without limitation of their period of validity both on the territory of Ukraine and other countries. This and other mutual duties of the author and all co-authors separately and editorial board are secured by written agreement by special form to use the article, the sample of which is presented on the site.
Author signs a written agreement and sends it to Editorial Board simultaneously with submission of the manuscript.



