paper-with-me

홈 › Papers

ECG-NAT: A Self-supervised Neighborhood Attention Transformer for Multi-lead Electrocardiogram Classification

2026-05-13 · Mahsa Gazeran, Sayvan Soleymanbaigi, Fatemeh Daneshfar, Amjad Seyedi, Fardin Akhlaghian Tab arxiv

Electrocardiogram (ECG) arrhythmia classification remains challenging due to signal variability, noise, limited labeled data, and the difficulty in achieving both accuracy and efficiency in models. While self-supervised learning reduces label dependency, most methods target either global contextual features or local morphological patterns, but rarely implement hierarchical multi-scale feature extraction. ECG signals require architectures that simultaneously capture fine-grained beat-level morphology and broader rhythm-level dependencies with computational efficiency. To overcome this limitation, this paper proposes the Electrocardiogram Neighborhood Attention Transformer (ECG-NAT), a novel self-supervised learning approach tailored for multi-lead ECG classification. Our two-stage approach begins with generative pretraining, using a masked autoencoder to reconstruct partially masked ECG signals across multiple diverse datasets, enabling the model to learn robust, domain-invariant representations from unlabeled data. This is followed by discriminative fine-tuning with a dual-loss function that combines supervised contrastive and cross-entropy losses, aligning representation learning with label prediction. The hierarchical attention mechanism efficiently captures multi-scale temporal features from localized beat morphology to broader rhythm patterns at low computational cost. ECG-NAT achieves robust performance on benchmark datasets, with 88.1\% accuracy using only 1\% labeled data, demonstrating strong efficacy in low-resource settings. The framework combines superior classification performance with computational efficiency, making it practical for real-time ECG diagnosis. The code will be made available upon acceptance at: https://github.com/Mahsagazeran/ECG-NAT.

📄 PDF Abstract BibTeX arXiv:2605.13194

Code (0)

등록된 구현이 없습니다.

Tasks

Self-Supervised LearningComputational EfficiencyRepresentation LearningECG Classification

Similar Papers 제목 키워드 기반

SDLFormer: A Sparse and Dense Locality-enhanced Transformer for Accelerated MR Image Reconstruction

2023-08-08 · Rahul G. S., Sriprabha Ramnarayanan, Mohammad Al Fahim, Keerthi Ram 외

Transformers have emerged as viable alternatives to convolutional neural networks owing to their ability to learn non-local region relationships in the spatial domain. The self-attention mechanism of the transformer enab…

Computational EfficiencyImage ReconstructionSelf-Supervised LearningSSIM

Neighborhood Attention Transformer

2022-04-14 · CVPR 2023 1 · Ali Hassani, Steven Walton, Jiachen Li, Shen Li 외

We present Neighborhood Attention (NA), the first efficient and scalable sliding-window attention mechanism for vision. NA is a pixel-wise operation, localizing self attention (SA) to the nearest neighboring pixels, and …

image-classificationImage ClassificationObject DetectionSemantic Segmentation

Dilated Neighborhood Attention Transformer

2022-09-29 · Ali Hassani, Humphrey Shi

Transformers are quickly becoming one of the most heavily applied deep learning architectures across modalities, domains, and tasks. In vision, on top of ongoing efforts into plain transformers, hierarchical transformers…

Image ClassificationInstance SegmentationObject DetectionPanoptic Segmentation+2

What Improves the Generalization of Graph Transformers? A Theoretical Dive into the Self-attention and Positional Encoding

2024-06-04 · Hongkang Li, Meng Wang, Tengfei Ma, Sijia Liu 외

Graph Transformers, which incorporate self-attention and positional encoding, have recently emerged as a powerful architecture for various graph learning tasks. Despite their impressive performance, the complex non-conve…

Graph LearningNode Classification

GTC: GNN-Transformer Co-contrastive Learning for Self-supervised Heterogeneous Graph Representation

2024-03-22 · Yundong Sun, Dongjie Zhu, Yansong Wang, Zhaoshuo Tian

Graph Neural Networks (GNNs) have emerged as the most powerful weapon for various graph tasks due to the message-passing mechanism's great local information aggregation ability. However, over-smoothing has always hindere…

Contrastive LearningGraph Representation LearningRepresentation Learning