Comparing Spectrogram Front-Ends for Abnormal Heart-Sound Detection with a Convolutional Neural Network
Executive Summary
This study systematically compares three spectrogram front-ends—vanilla log-mel, Per-Channel Energy Normalization (PCEN), and multi-resolution log-mel—for abnormal heart-sound detection using a fixed convolutional neural network (CNN) architecture on the PhysioNet/CinC 2016 dataset. All front-ends achieved high sensitivity (~0.95), but PCEN and multi-resolution spectrograms provided modest yet consistent improvements in specificity and the official PhysioNet modified accuracy metric (0.915 and 0.916 vs. 0.910 for vanilla). Grad-CAM analysis confirmed that the models focus on physiologically relevant low-frequency regions (S1/S2), supporting the validity of the learned representations for clinical screening.
Answer Machine Insights
Q: Does using PCEN or multi-resolution spectrograms improve abnormal heart-sound detection compared to vanilla log-mel?
Yes, both PCEN and multi-resolution front-ends consistently outperformed vanilla log-mel in specificity, F1, and modified accuracy, while maintaining high sensitivity.
Both PCEN and the Mutli-resolution improve on the regular vanilla baseline accross all the major metrics, including F1, specificty and the modified Physionet Accruacy. ... The multi-resolution front-end gets the best modified accuracy (0.916) and the best sensitivity (0.955), howver at the cost of extra computation and three input channels.
Q: What part of the heart sound do the models focus on when detecting abnormalities?
The models primarily focus on the low-frequency regions corresponding to the S1 and S2 heart sounds, which are physiologically meaningful for cardiac assessment.
Average the Grad-CAM heatmaps over all the abonramla nd normal cips showed that the model was mainly paying attention to the lower frequency band and the region of teh wave form that has teh S1 and teh S2 part of the heart beat.
Q: How does model architecture affect the benefit of advanced front-ends?
Shrinking the network architecture increased the performance gap between vanilla log-mel and the enhanced front-ends, indicating that PCEN and multi-resolution representations are especially beneficial for smaller models.
The gap between the plain log-mel baseline and the two enhanced front-ends widened in the smaller network, because the two-block CNN could no longer paper over an un-normalized, single-resolution input.
Key Results
PCEN and multi-resolution spectrogram front-ends achieved higher modified accuracy (0.915 and 0.916) than vanilla log-mel (0.910) on the PhysioNet 2016 test set.
All models maintained high sensitivity (~0.95), but enhanced front-ends reduced false positives, improving specificity (PCEN: 0.879, Multi-resolution: 0.877, Vanilla: 0.866).
Visual Evidence

Figure 10: Multi-resolution CNN. Grad-CAM attention overlaid on the waveform of a confident abnormal clip (P(abnormal) = 0.977). Attention is spread broadly across the recording rather than pinned to a few beats.
Clinical Snapshot
Evidence Rating
Relevance
high Priority