MSW-Transformer: Multi-Scale Shifted Windows Transformer Networks for 12-Lead ECG Classification
Not on the map. Why?
Abstract (arXiv)
Automatic classification of electrocardiogram (ECG) signals plays a crucial role in the early prevention and diagnosis of cardiovascular diseases. While ECG signals can be used for the diagnosis of various diseases, their pathological characteristics exhibit minimal variations, posing a challenge to automatic classification models. Existing methods primarily utilize convolutional neural networks to extract ECG signal features for classification, which may not fully capture the pathological feature differences of different diseases. Transformer networks have advantages in feature extraction for sequence data, but the complete network is complex and relies on large-scale datasets. To address these challenges, we propose a single-layer Transformer network called Multi-Scale Shifted Windows Transformer Networks (MSW-Transformer), which uses a multi-window sliding attention mechanism at different scales to capture features in different dimensions. The self-attention is restricted to non-overlapping local windows via shifted windows, and different window scales have different receptive fields. A learnable feature fusion method is then proposed to integrate features from different windows to further enhance model performance. Furthermore, we visualize the attention mechanism of the multi-window shifted mechanism to achieve better clinical interpretation in the ECG classification task. The proposed model achieves state-of-the-art performance on five classification tasks of the PTBXL-2020 12-lead ECG dataset, which includes 5 diagnostic superclasses, 23 diagnostic subclasses, 12 rhythm classes, 17 morphology classes, and 44 diagnosis classes, with average macro-F1 scores of 77.85%, 47.57%, 66.13%, 34.60%, and 34.29%, and average sample-F1 scores of 81.26%, 68.27%, 91.32%, 50.07%, and 63.19%, respectively.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 13 of its 46 references that are in the map. First posted on arXiv 21 Jun 2023.
Builds on
13 of 46 references.
References · 13
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 627
- 2021Gated Transformer Networks for Multivariate Time Series Classificationcited by 58
- 2017Cardiologist-Level Arrhythmia Detection with Convolutional Neural Networkscited by 53
- 2018Classification of 12-Lead ECG Signals with Bi-directional LSTM Networkcited by 8
- 2020Interpreting Deep Neural Networks for Single-Lead ECG Arrhythmia Classificationcited by 8
- 2017Beat by Beat: Classifying Cardiac Arrhythmias with Recurrent Neural Networkscited by 5
- 2018ECGNET: Learning where to attend for detection of atrial fibrillation with deep visual attentioncited by 4
Built on by
Citing papers per year: 2024: 1; 2025: 1; 2026: 2.
4 papers.
- 2024ECGMamba: Towards Efficient ECG Classification with BiSSMcited by 7
- 2025ECG-Expert-QA: A Benchmark for Evaluating Medical Large Language Models in Heart Disease Diagnosiscited by 6
- 2026ECG-NAT: A Self-supervised Neighborhood Attention Transformer for Multi-lead Electrocardiogram Classificationcited by 0
- 2026MSAIC-Net: A Multi-Scale Attention and Imbalance-Aware Contrastive Network for ECG-Based Myocardial Substrate Abnormality Detectioncited by 0
- 2026MSAIC-Net: A Multi-Scale Attention and Imbalance-Aware Contrastive Network for ECG-Based Myocardial Substrate Abnormality Detection4 Jun 2026
- 2026ECG-NAT: A Self-supervised Neighborhood Attention Transformer for Multi-lead Electrocardiogram Classification13 May 2026
- 2025ECG-Expert-QA: A Benchmark for Evaluating Medical Large Language Models in Heart Disease Diagnosis16 Feb 2025
- 2024ECGMamba: Towards Efficient ECG Classification with BiSSM14 Jun 2024