Cross-Dataset Generalization in Phonocardiogram Murmur Classification: A Benchmark Study of Domain-Conditional Performance and the Role of Multi-Representation Fusion
Executive Summary
This benchmark study systematically evaluated the cross-dataset generalization of eleven machine learning and deep learning models for phonocardiogram (PCG) murmur classification, focusing on both classical and advanced multi-representation fusion architectures (notably, the four-branch PCG-MambaConformer). Models were trained on the pediatric CirCor DigiScope dataset and tested, without fine-tuning, on two external datasets: the heterogeneous PhysioNet/CinC 2016 (adult/mixed) and the homogeneous Yaseen 2018 (valvular, curated). Internal AUROC was high for deep models (0.82–0.90), but external performance diverged: the best AUROC on the heterogeneous dataset was 0.738 (EfficientNet-B0), while PCG-MambaConformer achieved near-perfect AUROC (0.985) on the homogeneous dataset, with balanced sensitivity and specificity only in this curated setting. Adversarial domain adaptation improved transfer only to the homogeneous target. The study highlights that internal accuracy is a poor predictor of real-world generalization, and that multi-representation fusion can enable robust transfer only under favorable, homogeneous conditions, underscoring the necessity of multi-metric external evaluation and prospective clinical validation before deployment.
Answer Machine Insights
Q: How well do models trained on one PCG dataset generalize to others?
Generalization is highly dependent on the similarity and homogeneity of the target dataset; models performed well on a curated, homogeneous dataset but poorly on a heterogeneous, real-world dataset.
On the heterogeneous CinC dataset, the best AUROC was 0.738 and none of the nine deep models reached a sensitivity and a specificity both of at least 0.80 at any of the three thresholds examined. On the homogeneous external dataset, PCG-MambaConformer reached an AUROC of 0.985 (sensitivity 0.718, specificity 0.995 at the 0.5 threshold)...
Q: Does model complexity or internal accuracy predict external performance?
No; models with similar internal AUROC showed widely varying external performance, and increased model complexity did not close the transfer gap.
Internal AUROC was similar across deep models (approximately 0.82–0.90) and largely independent of parameter count... Internal performance was a weak indicator of external performance: models with similar internal AUROC behaved very differently on the external datasets.
Q: What is the effect of multi-representation fusion on cross-dataset transfer?
Multi-representation fusion (PCG-MambaConformer) enabled balanced, high AUROC transfer only to the homogeneous target; on heterogeneous data, it did not outperform simpler models.
Among all approaches, only PCG-MambaConformer achieved a balanced operating point on the homogeneous external dataset, with an AUROC of 0.985 (95% CI 0.977–0.992), sensitivity 0.718 (0.685–0.748), and specificity 0.995 (0.972–0.999).
Q: Can domain adaptation or ensembling solve the cross-dataset generalization problem?
Adversarial domain adaptation improved performance only on the homogeneous target and reduced it on the heterogeneous target; ensembling did not outperform the best single model.
Adversarial adaptation improved performance on the homogeneous target but reduced it on the heterogeneous target... Multi-architecture ensembling did not resolve the cross-dataset problem.
Q: What are the clinical implications of these findings?
Current PCG classifiers cannot be assumed to generalize to new populations or devices without external, multi-metric validation and calibration; internal accuracy alone is insufficient for clinical deployment.
These findings support multi-metric external evaluation on independent data, followed by prospective clinical validation, before any clinical use is considered.
Key Results
Internal AUROC for deep models ranged from 0.82–0.90, but external AUROC dropped to 0.738 on the heterogeneous dataset and reached 0.985 on the homogeneous dataset only for the fusion model.
PCG-MambaConformer achieved balanced sensitivity (0.718) and specificity (0.995) on the homogeneous external dataset, but no model achieved both sensitivity and specificity ≥0.80 on the heterogeneous dataset at any threshold.
Visual Evidence

Figure 8. Two-dimensional t-SNE projection of the pre-fusion features of PCG-MambaConformer for all three datasets: (A) colored by dataset; (B) colored by class (normal versus abnormal). The homogeneous Yaseen recordings form compact, class-pure clusters, whereas the heterogeneous CinC recordings overlap with the internal distribution and show mixed classes.
Clinical Snapshot
Evidence Rating
Relevance
high Priority