HM-Swin: Hierarchical Multiscale Swin Transformer Network with Attention Fusion for Heart Sound Classification
Executive Summary
This study introduces HM-Swin, a hierarchical multiscale Swin Transformer network with an attention fusion module for automated heart sound (PCG) classification. The model leverages MFCC-based image representations of heart sounds, extracting multiscale features via a Swin Transformer backbone and refining them with adaptive channel and spatial attention mechanisms. Evaluated on PhysioNet2016 and PhysioNet2022 datasets, HM-Swin achieved state-of-the-art accuracies of 98.32% and 90.56%, respectively, outperforming both transformer-based and hybrid models while using significantly fewer parameters, highlighting its efficiency and scalability for clinical screening applications.
Answer Machine Insights
Q: How does HM-Swin compare to previous state-of-the-art models in heart sound classification accuracy?
HM-Swin outperforms all compared models, achieving 98.32% accuracy on PhysioNet2016 and 90.56% on PhysioNet2022, with improvements of up to 7.32% and 21.56% over prior transformer-based methods.
The proposed hierarchical HM-Swin achieves a notable accuracy of 98.32%, representing an improvement of 7.32% over Swin-T, which achieves 91.0%, and an enhancement of 5.32% and 4.92% over PCTMF-Net (93.0%) and DCv-Swin (93.4%), respectively.
Q: What is the computational efficiency of HM-Swin compared to other models?
HM-Swin achieves higher accuracy with only 12.96 million parameters, which is less than half the parameter count of many competing models.
The proposed HM-Swin model exhibits remarkable efficiency, requiring only 12.96 million parameters while achieving significantly higher performance.
Q: What datasets were used and how was validation performed?
PhysioNet2016 and PhysioNet2022 PCG datasets were used, with subject-wise 10-fold cross-validation and a held-out test set to prevent data leakage.
A 10-fold cross-validation procedure is applied exclusively to the 90% portion allocated for training and validation, whereas the remaining 10% is held out as an independent test set and used only for the final performance evaluation.
Key Results
Achieved 98.32% accuracy on PhysioNet2016 and 90.56% weighted accuracy on PhysioNet2022, surpassing all compared state-of-the-art models.
Model requires only 12.96 million parameters, significantly less than other transformer and hybrid models (e.g., ViT-Large at 303M, Dual-Transformer at 172M).
Clinical Snapshot
Evidence Rating
Relevance
high Priority