Hybrid vision transformer framework for congenital heart disease diagnosis
Executive Summary
This study introduces a hybrid vision transformer (H-ViTs) framework that combines depthwise separable convolutional neural networks (CNNs) and vision transformers for the diagnosis of congenital heart disease (CHD) using pediatric phonocardiogram (PCG) recordings. The model processes Mel spectrogram representations of heart sounds, extracting local features via CNNs and modeling global dependencies with transformers. Evaluated on the large, expert-annotated ZCHSound dataset (N=1,259), the H-ViTs model achieved 95% accuracy and an AUC of 0.97 for binary CHD classification, outperforming conventional machine learning baselines, though multi-class performance was limited by class imbalance. The findings suggest that hybrid CNN–ViT architectures can enable accurate, scalable, and operator-independent CHD screening from heart sounds, particularly in resource-limited settings.
Answer Machine Insights
Q: How does the hybrid vision transformer model perform compared to previous methods on the same dataset?
The proposed model outperformed conventional machine learning baselines previously reported on the ZCHSound dataset, achieving higher accuracy, precision, recall, and F1-score for binary classification.
Our reported results are better than conventional ML models and those results reported in11.
Q: What is the main limitation of the model in multi-class CHD classification?
The main limitation is reduced performance for minority CHD subtypes due to significant class imbalance in the dataset.
This discrepancy is primarily driven by the significant class imbalance in the dataset, where subtypes such as PDA and PFO have far fewer recordings than ASD or VSD.
Q: What preprocessing was applied to the heart sound recordings?
Heart sound recordings were converted into Mel spectrograms, resampled, normalized, and segmented into 5-second windows to enhance feature representation and noise robustness.
We preprocessed the heart sounds into Mel spectrograms... Audio recordings were resampled at 16 kHz, normalized, and divided into fixed-length 5-second segments.
Q: What is the clinical significance of this model for resource-limited settings?
The model enables accurate, automated CHD screening from heart sounds, reducing reliance on expensive imaging and specialist interpretation, which is especially valuable in resource-limited environments.
These attributes render PCGs particularly valuable in resource-limited settings where access to conventional diagnostic modalities is limited.
Key Results
Binary CHD classification achieved 95% accuracy and an AUC of 0.97 on the ZCHSound dataset.
Multi-class classification performance was lower, with AUCs ranging from 0.76 (PDA) to 0.85 (VSD), primarily due to class imbalance.
Visual Evidence

Figure 9. ROC-AUC results for binary and multi-class classification.
Research Tags
Clinical Snapshot
Evidence Rating
Relevance
high Priority