TL;DR
Screening for pre-existing heart diseases is highly effective when combining heart sounds (PCG) and electrical signals (ECG), but simultaneous datasets are rare and expensive to collect. This paper introduces a dual-CNN hybrid model that leverages transfer learning from large, independent PCG and ECG datasets to accurately screen for heart disease using a very limited amount of synchronized data.
What Problem Does This Paper Address?
Early diagnosis of pre-existing heart conditions, such as congenital heart diseases, is vital to prevent life-threatening complications like heart failure or sudden cardiac arrest. While clinicians traditionally use stethoscopes for initial auscultation, accurate interpretation requires significant expertise.
Automated screening using deep learning has emerged as a solution, but most existing models rely on a single modality—either phonocardiograms (PCG/heart sounds) or electrocardiograms (ECG). Because these two signals often convey mutually exclusive, complementary information, integrating them yields much higher diagnostic accuracy. However, devices that capture synchronized PCG and ECG data are expensive and rare, resulting in a severe shortage of multimodal datasets. This paper tackles this data scarcity bottleneck using a clever transfer learning strategy.
Methods
The authors propose a novel Dual-Convolutional Neural Network (CNN) architecture that integrates both data types through a multi-step pipeline:
- Scalogram Generation: Raw 1D PCG and ECG signals are converted into 2D time-frequency images (scalograms) using a Continuous Wavelet Transform (CWT) with Morlet wavelets. This preserves both localization and phase information.
- Pre-training (Transfer Learning): To circumvent the lack of synchronized data, the authors train two separate CNNs on large, completely independent datasets—one optimized solely for PCG classification and the other for ECG classification.
- Hybrid Classification: The feature extraction weights from these two single-modality networks are transferred to initialize a dual-path hybrid CNN. The outputs of these paths are concatenated and fed into a shared multilayer perceptron to make the final prediction.
- Optimal Thresholding: Medical datasets are notoriously imbalanced. Instead of using a standard 0.5 classification threshold, the authors compute an optimal threshold that maximizes the G-mean metric (the geometric mean of sensitivity and specificity) to ensure the model doesn't lean heavily toward the majority class.
The authors also contrast two evaluation frameworks: sample-wise (evaluating individual 3.5-second windows) and record-wise (aggregating window predictions across an entire patient recording).
Datasets
The models were trained and evaluated using three distinct data settings:
- Setting 1 (PCG-only): Subsets
training-bthroughfof the PhysioNet Challenge 2016 (PHY16) dataset, containing only PCG recordings. - Setting 2 (ECG-only): The PhysioNet Challenge 2017 (PHY17) dataset, containing only ECG recordings.
- Setting 3 (Synchronized PCG+ECG): The
training-asubset of the PHY16 dataset, which contains 407 synchronized PCG and ECG recordings (segmented into 3,496 simultaneous samples).
Key Insights and Ideas
- Modality Isolation for Pre-training: The core "aha moment" is that a multimodal network doesn't need to learn how to extract features from a multimodal dataset initially. Features learned from entirely different patient cohorts (one group providing only ECGs, another only PCGs) can be successfully combined later to interpret synchronized data.
- Record-wise Aggregation Beats Sample-wise: Evaluating the complete time-domain signal across an entire record provides a significant performance boost over evaluating isolated samples. This aggregation makes the system robust against localized noise or temporal distortions during signal acquisition.
- The Power of G-Mean Optimization: Tuning the classification threshold specifically to balance sensitivity and specificity proved essential. Without it, the inherent class imbalances in cardiac data heavily skew the model's reliability.
Key Results
The hybrid models consistently outperformed single-modality approaches, proving that the integration of heart sounds and electrical signals provides a superior diagnostic picture.
- Method A (With Transfer Learning & Optimal Thresholding): Achieved a Sensitivity of 87.72%, a Specificity of 87.5%, and an AUC of 93.75% (G-mean = 87.6%).
- Method D (No Transfer Learning): While it managed a higher peak Sensitivity (94.74%), its Specificity dropped to 75%, demonstrating that transfer learning provides vital stability when dealing with imbalanced, limited data.
- Both hybrid configurations significantly outperformed the baseline PCG-only (G-mean = 52.65%) and ECG-only (G-mean = 75.72%) models.
Limitations and Future Work
The primary limitation is the size of the synchronized dataset used for the final hybrid training (only 407 recordings from PHY16 training-a). While the transfer learning approach mitigates this, a larger synchronized dataset would help validate the model's true generalization capabilities.
For future work, the authors suggest expanding the pre-training phase using other large, public, single-modality online datasets to further refine the feature extraction paths before multimodal deployment.
Summary updated