Abnormal Heart Sound Recognition using SVM and LSTM Models in Real-time Mode
Executive Summary
This study presents a real-time heart sound recognition system that combines classical digital signal processing (DSP) techniques with machine learning algorithms—specifically, Support Vector Machines (SVM) for normal/abnormal classification and Long Short-Term Memory (LSTM) neural networks for detailed abnormality categorization. The methodology leverages a novel segmentation approach based on FFT, Butterworth filtering, and Normalized Average Shannon Energy (NASE), followed by feature extraction using Dual-Tree Complex Wavelet Transform (DTCWT) and Mel Frequency Cepstral Coefficients (MFCCs). Evaluated on three public datasets (PhysioNet, GitHub, PASCAL), the system achieved up to 98.1% accuracy for normal/abnormal classification and up to 99.5% accuracy for multi-class abnormality detection, with segmentation computational times suitable for real-time applications. These results demonstrate the feasibility of automated, accurate, and efficient heart sound analysis for early cardiovascular disease screening.
Answer Machine Insights
Q: How accurate is the system at distinguishing normal from abnormal heart sounds?
The system achieved an overall accuracy of 98.1% using a single SVM and 96.0% using dual SVMs for normal/abnormal classification.
The results show that the proposed approach for normal/abnormal classification achieves an overall accuracy of 96.0% and 98.1%, sensitivity of 94.4% and 84.2%, and specificity of 64.9% and 98.4% for two and one support vector machines respectively among the state-of-the-art solutions.
Q: How many types of abnormal heart sounds can the system classify, and with what accuracy?
The system can classify up to six types of abnormal heart sounds, achieving up to 99.5% accuracy for five classes and 98.6% for six classes using the LSTM model.
The long short-term memory model is also a well-known efficient classifier for temporal data, and the results show the accuracy of 99.2%, 99.5%, 98.6%, and 99.4% for four, five, six, and seven classes.
Q: Is the segmentation method suitable for real-time applications?
Yes, the proposed segmentation method reduces computational time to 0.04 seconds per cardiac cycle, making it suitable for real-time use.
On average, the consumed time for segmenting one cardiac cycle is 0.49 seconds for mEWT and 0.04 for the proposed approach.
Q: What datasets were used for training and validation?
The PhysioNet, PASCAL, and Open-Access GitHub datasets were used for training, validation, and evaluation.
This research paper uses three different datasets to train, validate and evaluate the proposed system. The PhysioNet dataset is used for the Normal/Abnormal recognition phase, while PASCAL and Open-Access GitHub datasets are used for Abnormality classification.
Key Results
Normal/abnormal classification achieved up to 98.1% accuracy (single SVM) and 96.0% (dual SVMs) with sensitivity up to 94.4% and specificity up to 98.4%.
Abnormality type classification using LSTM reached up to 99.5% accuracy for five classes and 98.6% for six classes; segmentation computational time was reduced to 0.04 seconds per cardiac cycle.
Visual Evidence

Clinical Snapshot
Evidence Rating
Relevance
high Priority