ML-Based Analysis of Phonocardiogram Signals for Heart Sound Classification
Executive Summary
This study evaluated five machine learning models—two Random Forest classifiers using aggregated MFCC features, a 1D CNN, a BiLSTM network with explicit timing features, and a DenseNet201 transfer learning approach—on the task of classifying phonocardiogram (PCG) signals as normal or abnormal. Data were collected from 40 participants (ages 10-30) and labeled by expert consensus. Deep learning models, particularly the BiLSTM (Test Acc: 0.7453, ROC AUC: 0.8046) and DenseNet201 (Test Acc: 0.749, ROC AUC: 0.79), outperformed Random Forests, with the BiLSTM showing superior generalization. The findings underscore the importance of temporal modeling in PCG analysis and suggest that sequence-based deep learning approaches are more robust for automated heart sound classification.
Answer Machine Insights
Q: Which model demonstrated the most robust and generalizable performance for PCG classification?
The BiLSTM model showed the most robust and generalizable performance, with high test accuracy and consistent validation metrics.
The BiLSTM approach (Code 4) seemed to have the most promising and potentially reliable methodology in the entire range of those evaluated in this study based on the concerted performance on the test and consistency of validation.
Q: What was the main limitation of the Random Forest models in this study?
Random Forest models failed to capture meaningful class separation due to the loss of temporal information in aggregated features.
It was found that with seemingly fair accuracy (around 60 percent), their ROC AUC scores were extremely low (less than 0.4), which shows that they have failed to learn a meaningful separation between normal and abnormal classes.
Q: How did the DenseNet201 transfer learning model perform compared to the BiLSTM?
DenseNet201 achieved the highest test accuracy but had a large gap between test and validation performance, raising concerns about overfitting and generalizability.
The highest test accuracy and a competitive test ROC AUC were obtained with the transfer learning method based on DenseNet201 in spectrograms (Code 5). Nevertheless, the large difference in performance between the test set and the validation set... makes the strength of this model doubtful.
Key Results
BiLSTM achieved a test accuracy of 74.53% and ROC AUC of 0.8046, outperforming other models.
Random Forest models using aggregated MFCCs had poor discrimination (Test ROC AUC < 0.4), while DenseNet201 achieved the highest test accuracy (74.9%) but showed signs of overfitting.
Visual Evidence

Analyzing raw PCG signals typically involves several preprocessing steps. Noise re- duction is often necessary, employing techniques like filtering or wavelet de-noising. Segmentation, the process of identifying the boundaries of S1, systole, S2, and diastole, is a critical step for many analysis methods. Various algorithms based on signal char- acteristics, Hidden Markov Models (HMMs), or deep learning have been developed for segmentation. Feature extraction aims to derive quantitative descriptors from the PCG signal that capture discriminative information. Common features include:
Clinical Snapshot
Evidence Rating
Relevance
high Priority