[Paper Review] Feature Extraction for Machine Learning Based Crackle Detection in Lung Sounds from a Health Survey
This paper proposes a low-dimensional, computationally efficient machine learning pipeline for automated crackle detection in lung sounds using a large health survey dataset. By extracting a 5-dimensional feature vector combining time- and frequency-domain features and training an SVM with RBF kernel, the method achieves 86% precision and 84% recall, outperforming previous approaches and enabling real-time deployment on standard hardware.
In recent years, many innovative solutions for recording and viewing sounds from a stethoscope have become available. However, to fully utilize such devices, there is a need for an automated approach for detecting abnormal lung sounds, which is better than the existing methods that typically have been developed and evaluated using a small and non-diverse dataset. We propose a machine learning based approach for detecting crackles in lung sounds recorded using a stethoscope in a large health survey. Our method is trained and evaluated using 209 files with crackles classified by expert listeners. Our analysis pipeline is based on features extracted from small windows in audio files. We evaluated several feature extraction methods and classifiers. We evaluated the pipeline using a training set of 175 crackle windows and 208 normal windows. We did 100 cycles of cross validation where we shuffled training sets between cycles. For all the division between training and evaluation was 70%-30%. We found and evaluated a 5-dimenstional vector with four features from the time domain and one from the spectrum domain. We evaluated several classifiers and found SVM with a Radial Basis Function Kernel to perform best. Our approach had a precision of 86% and recall of 84% for classifying a crackle in a window, which is more accurate than found in studies of health personnel. The low-dimensional feature vector makes the SVM very fast. The model can be trained on a regular computer in 1.44 seconds, and 319 crackles can be classified in 1.08 seconds. Our approach detects and visualizes individual crackles in recorded audio files. It is accurate, fast, and has low resource requirements. It can be used to train health personnel or as part of a smartphone application for Bluetooth stethoscopes.
Motivation & Objective
- To develop an automated, scalable method for detecting crackles in lung sounds recorded via stethoscope in a large-scale health survey.
- To overcome limitations of prior methods that rely on small, non-diverse datasets and manual annotation.
- To design a low-resource, real-time solution suitable for training healthcare personnel or integration into smartphone-based Bluetooth stethoscope applications.
- To evaluate feature extraction methods and classifiers for optimal performance in crackle detection using cross-validation.
Proposed method
- The method processes lung sound audio files by dividing them into small, fixed-length windows for analysis.
- A 5-dimensional feature vector is extracted per window, comprising four time-domain features (e.g., zero-crossing rate, energy, entropy, kurtosis) and one frequency-domain feature (e.g., spectral centroid).
- The pipeline uses 100-fold cross-validation with randomized 70%-30% training-testing splits to ensure robust evaluation.
- Support Vector Machine (SVM) with a Radial Basis Function (RBF) kernel is selected as the optimal classifier based on performance comparison.
- The model is trained on 175 crackle windows and 208 normal windows, with all training sets shuffled across cycles.
- The system enables visualization of individual crackles within audio files and supports real-time inference.
Experimental results
Research questions
- RQ1What is the optimal combination of time- and frequency-domain features for detecting crackles in lung sounds?
- RQ2How does the performance of different classifiers compare in detecting crackles on a large, diverse health survey dataset?
- RQ3Can a low-dimensional feature vector enable high-accuracy, low-resource crackle detection suitable for real-time deployment?
- RQ4How does the proposed method compare to existing approaches in terms of precision and recall on expert-annotated data?
Key findings
- The proposed 5-dimensional feature vector, combining four time-domain and one frequency-domain feature, achieved the best detection performance.
- The SVM with RBF kernel outperformed all other classifiers, achieving 86% precision and 84% recall in crackle classification.
- The model can be trained in just 1.44 seconds on a standard computer, demonstrating high computational efficiency.
- The system classifies 319 crackles in 1.08 seconds, confirming its suitability for real-time applications.
- The method's accuracy exceeds that reported in studies involving health personnel, indicating strong clinical potential.
- The low-dimensional feature space and efficient classifier enable deployment on low-resource devices like smartphones.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.