DTF-STCANet: A Dual Time–Frequency Swin Transformer and ConvNeXt Attention Network for Heart Sound Classification
Executive Summary
This study introduces DTF-STCANet, a dual time–frequency deep learning architecture combining Swin Transformer and ConvNeXt backbones for automated heart sound classification using phonocardiogram (PCG) signals. The model leverages both spectrogram and continuous wavelet transform (CWT) representations, refined via channel attention, and employs a geometry-aware Weighted KNN classifier for final decision-making. Evaluated on the PhysioNet/CinC 2016 dataset (N=3541), DTF-STCANet achieved 99.29% accuracy, outperforming prior state-of-the-art methods, with robust cross-validation and statistical significance (p<0.05); its design minimizes false negatives, supporting early cardiovascular screening.
Answer Machine Insights
Q: How does DTF-STCANet compare to previous state-of-the-art heart sound classifiers?
DTF-STCANet outperformed all compared methods, achieving 99.29% accuracy, with balanced sensitivity and specificity, surpassing prior best models such as RAMM+NRBMI+SVM (98.80% accuracy).
Ours (DTF-STCANet + KNN) 99.29% accuracy with balanced sensitivity (99.01%) and specificity (98.94%). The improvement we saw seems to come from more than just architectural depth.
Q: What is the clinical significance of minimizing false negatives in this model?
Minimizing false negatives is crucial for early cardiovascular abnormality screening, as missed pathological cases may delay diagnosis and treatment.
From a clinical perspective, minimizing false negatives while maintaining high specificity is particularly important in early cardiovascular abnormality screening, where missed pathological cases may delay diagnosis and treatment.
Q: What evidence supports the model's stability and generalization?
Cross-validation (10-fold) and LOSO results show stable performance (accuracy 99.29% ± 0.35, 95% CI: [98.67–99.51]), and statistical significance (p < 0.05) between backbone-only and full model.
The proposed DTF-STCANet + KNN model achieved an accuracy of 99.29% ± 0.35 (95% CI: [98.67–99.51]), a sensitivity of 99.01% ± 0.45, a specificity of 98.94% ± 0.50, and an F1-score of 99.01% ± 0.40, indicating stable performance across folds.
Q: How does the attention mechanism contribute to discriminative feature extraction?
Channel attention selectively prioritizes discriminative features from dual-stream backbones, emphasizing pathological cues and suppressing noise, improving class separability.
The integration of attention mechanisms enables the model to perform adaptive feature recalibration by focusing on salient time–frequency regions.
Key Results
DTF-STCANet + Weighted KNN achieved 99.29% accuracy, 99.01% sensitivity, and 98.94% specificity on the PhysioNet/CinC 2016 dataset (N=3541).
Ablation studies show dual time-frequency fusion and geometry-aware classification reduce misclassification by 84.2% compared to single-stream models.
Visual Evidence

Figure 5. Training-validation accuracy change graph of the DTF-STCANet according to epoch.
Clinical Snapshot
Evidence Rating
Relevance
high Priority