Hybrid 1D and 2D CNN-Transformer Architectures for Multilabel 12-Lead EKG Anomaly Detection
This study introduces two novel hybrid machine-learning architectures for multilabel anomaly detection in electrocardiograms (EKGs): a 1D modified ResNet combined with a transformer encoder and an equivalent 2D ResNet-Transformer hybrid. This work is among the first to utilize two separate CNN-transformer architectures tailored specifically for temporal and spatial features in multilabel EKG data. Our models address the challenges of imbalanced data and multilabel classification by leveraging the PTB-XL dataset, containing over 21,000 annotated samples across five diagnostic superclasses, namely myocardial infarction, conduction disturbances, hypertrophy, ST-T wave changes, and normal EKGs. We applied advanced data augmentation techniques to mitigate class imbalance, including the Multilabel Synthetic Minority Over-Sampling Technique (ML-SMOTE). Additionally, we employed digital signal processing to denoise the EKG signals and convert time-series data into time-frequency representations for 2D modeling. Experimental results demonstrate the effectiveness of our approach, with the 1D model achieving an area under the curve (AUC) of 91.5% and the 2D model achieving an AUC of 87.2%. These findings demonstrate the potential of specialized architectures for comprehensive multilabel EKG anomaly detection.
Authors
- Cleon Davis
- Ian DeTore
- John Samsundar
Institutions
- Johns Hopkins University (US)
- Johns Hopkins University Applied Physics Laboratory (US)
Publication Details
- Published
- 2025-03-19
- DOI
- https://doi.org/10.1109/ciss64860.2025.10944749
- Citations
- 1
- Primary Topic
- ECG Monitoring and Analysis
- Type
- article
- Field-Weighted Citation Impact
- 1.39