Cross-Lead Attention Transformers with GAN Oversampling for Robust ECG Arrhythmia Detection

Accurate detection of cardiac arrhythmias from electrocardiograms remains challenging for rare rhythm classes due to class imbalance and morphological variability. We present a hybrid deep learning framework combining per-lead convolutional encoders with a cross-lead transformer that models relationships across different lead signals through self-attention, accepting variable lead configurations. To address minority-class scarcity, a generative adversarial network synthesizes physiologically plausible beat segments for underrepresented arrhythmias. Attention-based visualizations localize influential waveform regions aligned with clinically meaningful structures. Post-training pruning and INT8 quantization enable efficient deployment with minimal performance loss. Extensive experiments on the MIT-BIH Arrhythmia Database across sixteen heartbeat classes from two-lead recordings yield exceptional results over ten independent runs: accuracy of 99.67%, F1-score of 99.66%, and AUC of 99.8%. External validation on the ECG5000 single-lead dataset and the St Petersburg INCART twelve-lead dataset confirms robust generalizability with F1-scores of 97.6% and 98% respectively. Our framework delivers accurate, interpretable, stable, and deployable arrhythmia detection across diverse clinical settings.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2026-03-17
DOI
https://doi.org/10.3390/electronics15061258
Primary Topic
ECG Monitoring and Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Cross-Lead Attention Transformers with GAN Oversampling for Robust ECG Arrhythmia Detection

Ahmed Tibermacine, Mustapha Habib, Ilyes Naidji, Abdelaziz Rabehi et al.
Electronics
ECG Monitoring and Analysis
article

Cross-Lead Attention Transformers with GAN Oversampling for Robust ECG Arrhythmia Detection

Ahmed Tibermacine, Mustapha Habib, Ilyes Naidji, Abdelaziz Rabehi, M’hamed Mancer, Imad Eddine Tibermacine, Lahcene Mamen
article en

Abstract

Accurate detection of cardiac arrhythmias from electrocardiograms remains challenging for rare rhythm classes due to class imbalance and morphological variability. We present a hybrid deep learning framework combining per-lead convolutional encoders with a cross-lead transformer that models relationships across different lead signals through self-attention, accepting variable lead configurations. To address minority-class scarcity, a generative adversarial network synthesizes physiologically plausible beat segments for underrepresented arrhythmias. Attention-based visualizations localize influential waveform regions aligned with clinically meaningful structures. Post-training pruning and INT8 quantization enable efficient deployment with minimal performance loss. Extensive experiments on the MIT-BIH Arrhythmia Database across sixteen heartbeat classes from two-lead recordings yield exceptional results over ten independent runs: accuracy of 99.67%, F1-score of 99.66%, and AUC of 99.8%. External validation on the ECG5000 single-lead dataset and the St Petersburg INCART twelve-lead dataset confirms robust generalizability with F1-scores of 97.6% and 98% respectively. Our framework delivers accurate, interpretable, stable, and deployable arrhythmia detection across diverse clinical settings.

ElectronicsVol. 15(6)
University of Biskra (DZ), Ziane Achour University of Djelfa (DZ), Sapienza University of Rome (IT), KTH Royal Institute of Technology (SE)
Openalex Percentile: Top 28%
ECG Monitoring and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Cross-Lead Attention Transformers with GAN Oversampling for Robust ECG Arrhythmia Detection — Ahmed Tibermacine, Mustapha Habib, et al. · Electronics (2026) | TGRS Research Map | TGRS