Cough Audio Recognition for Early Detection of Respiratory Diseases: Algorithm Development and Validation Study
Wensheng Sun1, Jiahao Zou1, Na Yin1
1School of Communication Engineering, Hangzhou Dianzi University, Hangzhou, China.
Background:
Coughing is a common clinical symptom and a protective respiratory reflex closely associated with various respiratory system diseases. The acoustic characteristics of cough sounds are influenced by underlying pathological factors, with distinct acoustic signatures corresponding to different etiologies. Through rigorous analysis of these sounds, rapid identification and preliminary diagnosis of related conditions may be achieved. This approach holds great potential for broad application in mobile health and ubiquitous health platforms.
Objective:
This study aimed to explore the application of acoustic analysis of cough sounds in the diagnosis of respiratory diseases to enhance the diagnostic efficiency of health care professionals.
Methods:
In this study, we conducted extensive data collection, including voluntary cough audio recordings from patients diagnosed with respiratory diseases (eg, chronic obstructive pulmonary disease, lung cancer, COVID-19, and pneumonia) and from healthy participants. A total of 2610 audio samples were collected. We incorporated a channel attention mechanism (CAM) into the final convolutional block of each residual block in the ResNet18 neural network, thereby constructing the CAM-ResNet18 neural network model. The recorded cough audio samples were converted into spectrograms to form the input dataset for model training. The CAM-ResNet18 model was trained on the training set of this dataset, with iterative parameter adjustments until convergence was achieved. Finally, spectrograms from the test set were fed into the pretrained model for accurate classification of the cough-related conditions.
Results:
Experimental results on the collected audio dataset demonstrate that the proposed CAM-ResNet18 model achieves an accuracy of 83.9% and an average F1-score of 82.52% in classifying 5 types of cough sounds. In comparison, the traditional ResNet18 model achieves an accuracy of 78.16% and an average F1-score of 78.29%, indicating a clear performance improvement with the integration of the CAM.
Conclusions:
The experimental results validate the effectiveness of the proposed method, highlighting its significant potential for application in clinical diagnosis.
Related Concept Videos
Respiratory System Abnormal Finding II: Palpation and Auscultation
Palpation Findings
During a respiratory assessment, palpation can reveal several vital abnormalities:
Respiratory Assessment: Purpose and Indications
Objectives and Importance:
The primary goal of respiratory assessment is to evaluate patients at early risk of clinical deterioration. Since respiratory distress often precedes other signs of declining health, breathing patterns and sounds become a...
Common Respiratory Disorders
Upper respiratory disorders impact the airways above the vocal cords, encompassing areas like the nose, sinuses, and throat. Various conditions fall under this category, including the common cold and allergic rhinitis. These disorders can stem from several causes,...
Physical Assessment of the Respiratory Tract IV: Auscultation
Breath Sounds
Breath sounds are categorized into vesicular, bronchovesicular, and bronchial.
Assessment of Respiration
Subjective Assessment: Nurses interview the patient to gather information directly during the subjective assessment. It includes questions about the individual's medical history, medications, and symptoms, focusing on past respiratory conditions like asthma or COPD,...
Chronic Obstructive Pulmonary Disease-IV: Assessement and Diagnostic Studies
Medical History

