Related Experiment Video
Updated: Jun 6, 2026

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
Demographic-aware temporal graph attention for fair and accurate cardiac abnormality detection in 12-lead ECG
1Textile Department, Faculty of Technology and Education, Suez University, P.O. Box: 43221, Suez, Egypt. mohamed.naeem98@yahoo.com.
None:
Automated 12-lead ECG interpretation has achieved strong diagnostic accuracy through deep learning, yet systematic demographic disparities-particularly between male and female patients-undermine the equitable deployment of these systems in clinical practice. Existing fairness approaches treat bias as a post-hoc correction, frequently at the cost of diagnostic performance. This paper introduces DA-GAT-v2, a Demographic-Aware Graph Attention Network designed to simultaneously advance diagnostic accuracy and algorithmic fairness in multi-label cardiac abnormality detection. Three clinically motivated architectural innovations are integrated: a lead-wise Temporal Convolutional Encoder (TCE) replacing coarse statistical node features with 128-dimensional morphologically rich embeddings capturing sex- and age-specific PQRST characteristics; a dynamic α-Net that predicts patient-specific inter-lead graph topologies by adaptively balancing anatomical adjacency and signal correlation, reflecting demographic-dependent cardiac geometry; and Feature-wise Linear Modulation (FiLM) integrated into every graph attention layer, enabling independent feature-wise demographic conditioning with substantially greater expressiveness than prior scalar gating approaches. These innovations are optimized through a three-stage curriculum training strategy incorporating a composite fairness regularization loss combining equalized odds and demographic parity constraints. Evaluated on PTB-XL (21,507 recordings), DA-GAT-v2 achieves macro F1 of 0.8952 and AUROC of 0.9762, surpassing all compared baselines. The male-female diagnostic performance gap is reduced from 15.42% to 1.75%, with an equalized odds difference (EO) of 0.0423-well within the clinical acceptance threshold of 0.10. Cross-dataset validation on Chapman-Shaoxing (10,646 recordings) confirms generalization with a minimal F1 degradation of 0.0150. Ablation studies quantify each component's independent contribution, and attention maps reveal clinically coherent demographic-dependent lead prioritization. These results establish DA-GAT-v2 as a technically sound candidate for further clinical evaluation, demonstrating that diagnostic accuracy and demographic fairness in ECG AI are complementary objectives achievable through principled architectural design. Fairness evaluation is currently limited to sex and age subgroups owing to the absence of race and ethnicity metadata in both utilized datasets.
Related Concept Videos
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and the T...
Electrocardiogram Fundamentals
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin to...
Dysrhythmias V: Evaluating Dysrhythmias
Holter Monitor: 24-Hour Monitoring
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac muscle...
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...