Back to Evidence Hub
Case Study cross-database-evaluation-of-class-imbalance-mitigation-strategies-for-normal-abnormal-heart-sound-classification
2026 Release

Cross-Database Evaluation of Class-Imbalance Mitigation Strategies for Normal/Abnormal Heart-Sound Classification

Executive Summary

This study systematically evaluated two common class-imbalance mitigation strategies—inverse-frequency class-weighted loss and weighted random oversampling—against a standard baseline for automated classification of normal versus abnormal phonocardiogram (PCG) recordings using ResNet-18 on Mel-spectrograms from the PhysioNet/CinC 2016 dataset. While all three approaches achieved high accuracy (0.912–0.928) under conventional pooled random splits, none generalized to unseen recording sources in a source-held-out (leave-one-database-out) protocol, with performance dropping to or below the majority-class baseline (accuracy 0.19–0.67). These findings highlight that strong within-distribution results may be driven by data leakage and source-specific information, underscoring the necessity of source- or subject-disjoint evaluation for clinically meaningful heart-sound classification.

“This study shows that AI models for heart sound analysis can look accurate if tested on familiar data, but they fail when faced with new sources, meaning current methods may not work reliably in real-world clinics.”

Answer Machine Insights

Q: Do class-imbalance mitigation strategies improve generalization to new recording sources?

No, neither class-weighted loss nor oversampling led to reliable improvements in cross-source generalization compared to the baseline.

Under source-held-out evaluation, performance dropped to or below the majority-class baseline for every held-out source (accuracy 0.19–0.67), and no method reliably improved cross-source performance.

Q: How does model performance differ between random splits and source-held-out evaluation?

Performance is substantially higher with random splits but drops dramatically with source-held-out evaluation, indicating overestimation of generalizability in standard practice.

Mean accuracy decreased from 0.912–0.928 under the pooled random split to 0.191–0.667 under source-held-out evaluation, and no model exceeded the majority-class baseline in any source-held-out fold.

Q: What is the main implication for future heart-sound classification studies?

Studies should use source-held-out or subject-disjoint evaluation to avoid misleadingly optimistic performance estimates.

These findings... highlight the importance of source-held-out or subject-disjoint evaluation when reporting heart-sound classification performance.

Key Results

  • Within-distribution (random split) accuracy for all models was high: 0.912–0.928 (95% CI 0.914–0.940).

  • Source-held-out (cross-database) accuracy dropped to 0.19–0.67, never exceeding the majority-class baseline.

Visual Evidence

Figure 1. Representative Mel-spectrogram model inputs from the PhysioNet/CinC 2016 dataset (Normal recording a0007  and Abnormal recording a0001, both from database training-a). Each panel shows a single 4-second recording after  preprocessing (2,000 Hz sampling; 64 Mel bands; maximum frequency 1,000 Hz; per-recording min–max normalization to [0,  1]), i.e., the representation supplied to the ResNet-18 prior to three-channel replication, resizing to 224 × 224, and ImageNet  normalization. Color denotes normalized spectral amplitude (0 = per-recording minimum, 1 = per-recording maximum). The  Normal recording shows regularly spaced heart-sound bursts, whereas the Abnormal recording shows less distinct periodicity  and more diffuse spectral energy.

Figure 1. Representative Mel-spectrogram model inputs from the PhysioNet/CinC 2016 dataset (Normal recording a0007 and Abnormal recording a0001, both from database training-a). Each panel shows a single 4-second recording after preprocessing (2,000 Hz sampling; 64 Mel bands; maximum frequency 1,000 Hz; per-recording min–max normalization to [0, 1]), i.e., the representation supplied to the ResNet-18 prior to three-channel replication, resizing to 224 × 224, and ImageNet normalization. Color denotes normalized spectral amplitude (0 = per-recording minimum, 1 = per-recording maximum). The Normal recording shows regularly spaced heart-sound bursts, whereas the Abnormal recording shows less distinct periodicity and more diffuse spectral energy.

Clinical Snapshot

Evidence Rating

Relevance

high Priority

Confidence

Supporting

Relativity Score

4/5
Rigor
3/5
Novelty
4/5
Impact

Semantic Graph Connections

Similar Methodology

A Deep Convolution Method for Hypertension Detection from Ballistocardiogram Signals with Heat-Map-Guided Data Augmentation

Similar Methodology

A Deep Learning Model for Prediction of Cardiovascular Disease Using Heart Sound

Similar Methodology

A Framework for AI-Assisted Detection of Patent Ductus Arteriosus from Neonatal Phonocardiogram

Similar Methodology

A review of global experience with digital auscultation: human auditory system vs machine analysis of auscultatory sounds

Similar Methodology

Abnormal Heart Sound Classification and Model Interpretability: A Transfer Learning Approach with Deep Learning

Similar Methodology

Abnormal Heart Sound Recognition using SVM and LSTM Models in Real-time Mode

Similar Methodology

Accuracy of deep learning-based heart sound analysis as screening tool for congenital heart disease: A diagnostic meta-analysis

Similar Methodology

Accurate and Low-Cost Cardiac Disorder Detection from Wearable Phonocardiogram Signals Using Hybrid Feature Selection and Machine Learning

Similar Methodology

Advancing cardiovascular screening: deep learning-based heart-sound classification using SMOTE and temporal modeling

Similar Methodology

Agreement of artificial intelligence equipped stethoscopes with known echocardiogram results in screening emergency department patients for audible murmurs

Similar Methodology

AI-Enabled Digital Stethoscope for Early Detection of Congenital Heart Disease: Prospective Study

Similar Methodology

Algorithm for predicting valvular heart disease from heart sounds in an unselected cohort

Similar Methodology

An empirical comparison of deep CNN architectures for heart sound classification from phonocardiogram signals

Similar Methodology

Atrial Fibrillation Detection Based on a Residual CNN Using BCG Signals

Similar Methodology

AudioFuse: Unified Spectral-Temporal Learning Via A Hybrid VIT-1D CNN Architecture for Phonocardiogram Classification

Similar Methodology

Augmented detection of septal defects using advanced optical coherence tomography network-processed phonocardiogram

Similar Methodology

AuscuTSLM: Patient-Level Multimodal Question Answering from Multi-Site Auscultation Recordings

Similar Methodology

Automated Classification of Normal and Abnormal Heart Sounds using Support Vector Machines

Similar Methodology

Automated Detection of Chronic Heart Failure from Heart Sound Signals Using Integrated Learning Models

Similar Methodology

Automatic Detection and Classification of Cardiovascular Disorders Using Phonocardiogram and Convolutional Vision Transformers

Similar Methodology

BUET multi-disease heart sound dataset: A comprehensive auscultation dataset for developing computer-aided diagnostic systems

Similar Methodology

Cardio-Dense: Diagnosis of Cardiac Abnormalities Based on Phonocardiogram Using Improved Swin Transformer Through Lightweight Dense Blocks

Similar Methodology

Cardiovascular Disease Recognition Based on Heartbeat Segmentation and Selection Process

Similar Methodology

CaReCoS: A Spectrogram based Visual Benchmark for Cardiac, Respiratory and Cough Sounds

Similar Methodology

Classifying Abnormalities In Heart Beat Sound

Similar Methodology

CLEAR: Clinical LLM Embedding and Attention-based Reconstruction

Similar Methodology

CNN and Bidirectional GRU-Based Heartbeat Sound Classification Architecture for Elderly People

Similar Methodology

Comparative Analysis of CNN and Transformer Architectures with Heart Cycle Normalization for Automated Phonocardiogram Classification

Similar Methodology

Comparative modeling of mixed cardiopulmonary sounds in a low-resource paired dataset: Discrimination, calibration, and operating-point behavior

Similar Methodology

Comparing Spectrogram Front-Ends for Abnormal Heart-Sound Detection with a Convolutional Neural Network

Similar Methodology

Congenital heart disease classification using phonocardiograms: a scalable screening tool for diverse environments

Similar Methodology

Coronary Artery Disease Detection Based on a Novel Multi-Modal Deep-Coding Method Using ECG and PCG Signals

Similar Methodology

Cross-Dataset Generalization in Phonocardiogram Murmur Classification: A Benchmark Study of Domain-Conditional Performance and the Role of Multi-Representation Fusion

Similar Methodology

Cross-Domain Transfer Learning for PCG Diagnosis Algorithm

Similar Methodology

Cuffless Blood Pressure Estimation from Phonocardiogram Signals Using Deep Learning with Adaptive Feature Recalibration

Similar Methodology

Deep learning-driven automated detection of canine cardiac murmurs via digital wireless stethoscope auscultation

Similar Methodology

Deep Learning for Heart Sound Abnormality of Infants: Proof-of-Concept Study of 1D and 2D Representations

Similar Methodology

Detecção de sopro cardíaco utilizando uma rede neural convolucional

Similar Methodology

Development and validation of AI-Enhanced auscultation for valvular heart disease screening through a multi-centre study

Similar Methodology

Diagnostic Performance of a Deep Learning Model Using Phonocardiogram and Single‐Lead ECG Signals for Detecting Moderate‐or‐Greater Aortic Stenosis: Multicenter External Validation

Similar Methodology

Diffusion-Based Heart Sound Generation: Evaluation with Physiological Signal Metrics, Classifiers, and Expert Listening

Similar Methodology

Distinguishing Septal Heart Defects from the Valvular Regurgitation Using Intelligent Phonocardiography

Similar Methodology

DTF-STCANet: A Dual Time–Frequency Swin Transformer and ConvNeXt Attention Network for Heart Sound Classification

Similar Methodology

Enhancing cardiovascular diagnostics using fused capsule network for heartbeat sound classification

Similar Methodology

Enhancing heart sound signal denoising: unveiling the impact of time-frequency transformation in U-Net performance

Similar Methodology

Entropy-Based Phonocardiogram Classification Using Continuous and Synchrosqueezed Wavelet Transforms: A Systematic Comparison

Similar Methodology

From convolutions to transformers: a comparative analysis of deep learning models for heart sound classification

Similar Methodology

Heart Abnormality Classification Using PCG and ECG Recordings

Similar Methodology

Heart Murmur Quality Detection Using Deep Neural Networks with Attention Mechanism

Similar Methodology

Heart Sound Classification Using Harmonic and Percussive Spectral Features from Phonocardiograms with a Deep ANN Approach

Similar Methodology

Heartbeat sound classification using a hybrid adaptive neuro-fuzzy inferences system (ANFIS) and artificial bee colony

Similar Methodology

Heartbeat Sound Signal Classification Using Deep Learning

Similar Methodology

Hierarchical Ensemble Learning with Feature-Specific Classifiers for Heart Sound Classification

Similar Methodology

HM-Swin: Hierarchical Multiscale Swin Transformer Network with Attention Fusion for Heart Sound Classification

Similar Methodology

HSD-Net: a dual-branch CNN-BiLSTM network with hybrid cepstral fusion for heart sound classification

Similar Methodology

HTCTA: A Hybrid Transformer Based Temporal Attention Mechanism for Early Diagnosis of Cardiovascular Abnormalities from PCG Signals

Similar Methodology

Hybrid quantum fusion network for multimodal cardiac abnormality detection

Similar Methodology

Hybrid vision transformer framework for congenital heart disease diagnosis

Similar Methodology

Identification of Abnormal Heart Sounds

Similar Methodology

Identification of decompensation episodes in chronic heart failure patients based solely on heart sounds

Similar Methodology

Identification of People in a Household Using Ballistocardiography Signals Through Deep Learning

Similar Methodology

Improved accuracy of PCG signal classification for myocardial infarction biomarker using automatic feature selection and boosting process

Similar Methodology

Improved Detection of Valvular Cardiac Abnormalities Using Phonocardiogram Signals by Explainable AI

Similar Methodology

Improving Heart Sound Diagnosis with a Combined CNN-LSTM and Dual-Attention Deep Learning Model

Similar Methodology

Joint heart sound denoising using DTCWT and Adaptive Sparsity-assisted signal smoothing algorithm

Similar Methodology

KLASIFIKASI SUARA JANTUNG MENGGUNAKAN CONVOLUTIONAL NEURAL NETWORK 1 DIMENSI (CNN 1D) DENGAN PITCH SHIFTING DAN TRANSFORMASI FFT PADA DATASET TERBATAS

Similar Methodology

Класифікація серцевих ритмів на основі аудіосигналів методами глибокого навчання

Similar Methodology

Kullback–Leibler divergence in feature selection: a methodology for improved detection of heart valve disorders

Similar Methodology

MCHeart: Multi-Channel-Based Heart Signal Processing Scheme for Heart Noise Detection Using Deep Learning

Similar Methodology

ML-Based Analysis of Phonocardiogram Signals for Heart Sound Classification

Similar Methodology

Modality-agnostic late fusion of electrocardiogram, phonocardiogram and photoplethysmogram signals for cardiovascular disease detection

Similar Methodology

Multi-class valvular heart disease classification and severity detection with enhanced accuracy using convolutional neural network

Similar Methodology

Multiscale Phonocardiogram Signal Analysis with Attention-Based Deep Feature Learning for Automated Cardiovascular Disease Prediction

Similar Methodology

Noise-Robust Contrastive Learning with an MFCC-Conformer for Coronary Artery Disease Detection

Similar Methodology

Normal-abnormal heart sound classification using MFCC-based acoustic features and gradient boosting

Similar Methodology

Patient-Level Multimodal Question Answering from Multi-Site Auscultation Recordings

Similar Methodology

Phonocardiogram Classification Through Averaging Transforms and Domain-Balanced Cross-Mix Approaches

Similar Methodology

Phonocardiogram (PCG) Murmur Detection Based on the Mean Teacher Method

Similar Methodology

Phonocardiogram Signal Processing for Automatic Diagnosis of Congenital Heart Disorders through Fusion of Temporal and Cepstral Features

Similar Methodology

Phonocardiography-based mitral valve prolapse detection using an artificial neural network

Similar Methodology

Prediction of heart sound using the xLSTM method for hypertrophic cardiomyopathy

Similar Methodology

Prior-aligned frequency-domain explanations for heart sound classification: a scale-consistent attribution approach

Similar Methodology

Rational and design of the digital diagnosis of cardiac sounds in paediatric patients (DI_SOUND) study

Similar Methodology

Recognition RNN Based Heartbeat Sound Analysis with Django Integration

Similar Methodology

Recurrent vs Non-Recurrent Convolutional Neural Networks for Heart Sound Classification

Similar Methodology

RED-RHD (Rice Early Detection – Rheumatic Heart Disease): AI-Based Adaptive Multi-Regional System for Early Detection and Murmur Classification of Rheumatic Heart Disease

Similar Methodology

Research on Segmentation and Classification of Heart Sound Signals Based on Deep Learning

Similar Methodology

Robust Biometric Verification Using Phonocardiogram Fingerprinting and a Multilayer-Perceptron-Based Classifier

Similar Methodology

Robust heart murmur detection for AI digital stethoscopes: An evaluation protocol using the PhysioNet 2016 open PCG dataset

Similar Methodology

Segmantasyon yapmadan patolojik kalp sesi kayıtlarının tespiti için bir örüntü sınıflandırma algoritması

Similar Methodology

Segmentation of Heart Sound Signal Based on Multi-Scale Feature Fusion and Multi-Classification of Congenital Heart Disease

Similar Methodology

Segmentation of Phonocardiograms Signal

Similar Methodology

Segmented vs. Non-Segmented Heart Sound Classification: Impact of Feature Extraction and Machine Learning Models

Similar Methodology

Selection of Heart Sound Segments for Synchronous Classification of Multi-channel Heart Sounds

Similar Methodology

Sonus Health: Calibrated Heart-Murmur Detection from Smartphone-Based Veterinary Auscultation

Similar Methodology

SSC-UNet: UNet with Self-Supervised Contrastive Learning for Phonocardiography Noise Reduction

Similar Methodology

STFT-Based Multiclass Heart Sound Classification Using BiLSTM and CNN-BiLSTM Models

Similar Methodology

Strong Fused Performance Can Mask Branch Collapse in a Dual-View Heart-Sound Classifier: A Three-Part Diagnostic Protocol

Similar Methodology

The Diagnosis of Heart Diseases Based on PCG Signals using MFCC Coefficients and SVM Classifier

Similar Methodology

THE ROLE OF AUSCULTATION IN THE DIAGNOSTICS OF CARDIOVASCULAR DISEASES: CLINICAL AND DIAGNOSTIC SIGNIFICANCE OF HEART TONE, ADDITIONAL TONE AND AUSCULTATIVE SIGNIFICANCE

Similar Methodology

The Vote Hides the Failure: Aggregation Choice and Noise Robustness in Heart Murmur Detection

Similar Methodology

Topseg: A Multi-Scale Topological Framework for Data-Efficient Heart Sound Segmentation

Similar Methodology

Transfer Learning Benchmark for Cardiovascular Disease Recognition

Similar Methodology

Transfer Learning Models for Detecting Six Categories of Phonocardiogram Recordings

Similar Methodology

TriFusion-PCGNet: A Hybrid Multi-Branch Deep Learning Network for Energy-Aware Normal/Abnormal Heart Sound Classification

Similar Methodology

Uncertainty quantification-based DMEFNet for reliable modelling of heart sound signals

Similar Methodology

Unsupervised Feature Learning for Heart Sounds Classification Using Autoencoder

Similar Methodology

ValveHealthNet: a light deep learning model for accurate valvular heart disorder detection