Comparative Analysis of CNN and Transformer Architectures with Heart Cycle Normalization for Automated Phonocardiogram Classification
Executive Summary
This study systematically compares two convolutional neural networks (CNNs) and two zero-shot BEATs transformer models for automated heart murmur detection from phonocardiogram (PCG) recordings, using both fixed-length windowing and a novel heart cycle normalization technique. Evaluated on the PhysioNet2022 dataset with 10-fold cross-validation, the CNN with fixed-length windowing achieved the highest AUROC (0.795), while heart cycle normalization improved the BEATs transformer's performance (AUROC from 0.657 to 0.701). The findings provide evidence-based guidance for selecting model architectures and preprocessing strategies in clinical PCG analysis, highlighting trade-offs between accuracy and computational efficiency.
Answer Machine Insights
Q: Which model achieved the best overall classification performance?
The CNN with fixed-length windowing achieved the best overall performance with an AUROC of 0.795.
The CNN model with fixed-length window size achieves an AUROC of 0.795, with a precision of 0.811 and a recall of 0.392.
Q: How did heart cycle normalization affect the BEATs transformer model?
Heart cycle normalization improved the BEATs transformer's AUROC from 0.657 to 0.701 and MCC from 0.322 to 0.362.
Conversely, the BEATs-kNN approach shows improved performance with cycle normalization, increasing AUROC from 0.657 to 0.701 and MCC from 0.322 to 0.362.
Q: What limitation did the heart cycle normalization method face?
Only 51.7% of audio samples could be used due to incomplete heart cycle annotations in the dataset.
This approach achieves physiological alignment at the cost of data utilization efficiency - only 51.7% of the audio samples contain sufficient annotated cycles for processing.
Q: What is the main clinical implication of this study?
Automated heart sound classification systems can be optimized for both accuracy and efficiency, supporting scalable cardiac screening, especially in resource-limited settings.
These findings highlight the potential of automated classification systems to enhance cardiac diagnostics and improve patient care.
Key Results
CNN with fixed-length windowing achieved AUROC 0.795 ± 0.049, precision 0.811, recall 0.392.
BEATs transformer with heart cycle normalization improved AUROC from 0.657 to 0.701.
Visual Evidence

Fig. 2: Validation confusion matrices for CNN and BEATs models, for fixed and cycle window methods: (a) CNN with fixed-length window, (b) BEATs with fixed-length window, (c) CNN with cycle normalization, and (d) BEATs with cycle normalization. CNN models shown at epoch 60, BEATs models after single epoch extraction. All values represent means across 10-fold cross-validation with their standard deviations.
Clinical Snapshot
Evidence Rating
Relevance
medium Priority