Angular Gaussian Supervised Contrastive Learning for Long-Tailed Electrocardiogram Arrhythmia Diagnosis

📅 2026-07-16
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the challenge of insufficient performance in detecting rare yet clinically critical arrhythmias in electrocardiogram (ECG) diagnosis, caused by long-tailed label distributions. To this end, the authors propose the AG-SCL framework, which uniquely integrates anisotropic angular Gaussian contrastive learning, adaptive logit adjustment, and tail-aware data augmentation. The method models full-class covariance uncertainty within a unit-normalized embedding space while preserving morphological features in the QRS-dominant frequency band (7–25 Hz). By incorporating bounded state-specific prior calibration and a multi-label long-tailed learning architecture, AG-SCL significantly enhances sensitivity to rare and morphologically unstable rhythms. Evaluated on the PTB-XL and Noc-ECG datasets, the approach achieves balanced accuracies of 0.838 and 0.918, respectively—demonstrating state-of-the-art macro-performance while maintaining high specificity.
📝 Abstract
Long-tailed label distributions reduce the reliability of deep learning for electrocardiogram (ECG) arrhythmia diagnosis, particularly for clinically important but rare abnormalities. Existing rebalancing and logit adjustment methods mainly address class frequency while overlooking direction-dependent morphological variability across ECG classes. This study proposes Angular Gaussian Supervised Contrastive Learning (AG-SCL) for long-tailed multi-label ECG diagnosis. AG-SCL integrates three components into a unified framework: an Angular Gaussian contrastive branch that models full-covariance class uncertainty on unit-normalized embeddings, Adaptive Logit Adjustment that learns bounded label-state-specific prior corrections instead of fixed frequency-based margins, and tail-aware augmentation that generates morphology-preserving views while protecting the 7-25 Hz QRS-dominant band. The method was evaluated on the public PTB-XL benchmark and a nocturnal ECG dataset comprising 1317 hours of recordings from 141 subjects. AG-SCL achieved the best macro-level performance on both datasets. On PTB-XL, it obtained a balanced accuracy of 0.838, sensitivity of 0.709, specificity of 0.968, mean average precision of 0.495, and TPR at 5% FPR of 0.778. On Noc-ECG, the corresponding values were 0.918, 0.889, 0.947, 0.488, and 0.900. The largest gains occurred in rare or morphologically unstable rhythm classes, while ablation studies confirmed the contributions of full-covariance modelling, Adaptive Logit Adjustment, and tail-aware augmentation. AG-SCL improves long-tailed ECG diagnosis by combining prior calibration with anisotropic representation learning, enhancing sensitivity to rare arrhythmias while maintaining clinically relevant specificity. Our code is available at: https://github.com/Open-EXG/AG-SCL-for-Long-Tailed-ECG.
Problem

Research questions and friction points this paper is trying to address.

long-tailed learning
electrocardiogram arrhythmia diagnosis
class imbalance
morphological variability
rare abnormalities
Innovation

Methods, ideas, or system contributions that make the work stand out.

Angular Gaussian contrastive learning
long-tailed ECG diagnosis
adaptive logit adjustment
full-covariance modeling
tail-aware augmentation
🔎 Similar Papers
No similar papers found.
Jin Dai
Jin Dai
Momenta USA Inc.
Autonomous SystemsCyber-physical SystemsRoboticsControl and Decision-making Theory
Q
Qiuzhen Zhang
Department of Neurology and Neurological Rehabilitation, Shanghai Yangzhi Rehabilitation Hospital, School of Medicine, Tongji University, Shanghai, 201619, China
Chenyun Dai
Chenyun Dai
Shanghai Jiao Tong University
EMGEEGHuman-machine interfaceStimulation
D
Danmei Lan
Department of Neurology and Neurological Rehabilitation, Shanghai Yangzhi Rehabilitation Hospital, School of Medicine, Tongji University, Shanghai, 201619, China
C
Can Han
School of Biomedical Engineering, Shanghai Jiao Tong University, Shanghai, 200030, China