Automated interpretation of twelve-lead electrocardiograms has long struggled with a fundamental challenge: cardiovascular diseases rarely occur in isolation, and standard deep learning models treat each diagnostic label independently. Now, researchers from Southwest Medical University have developed a dual-graph neural network framework that explicitly models both the spatial relationships between ECG recording leads and the semantic correlations between co-occurring heart conditions, achieving superior performance compared to mainstream cardiac AI systems.

Published in Frontiers in Cardiovascular Medicine, the architecture addresses three critical bottlenecks in automated ECG analysis: physiological coupling between the twelve recording leads, clinical dependencies among conditions that frequently appear together, and the sparse distribution of diagnostic abnormalities within standard ten-second recordings.

Encoding Clinical Knowledge Into Network Architecture

The research team—Hao Chen, Yi-feng Huang, Lu-pin Yang, Yong Liu, and Hu-qiang He—designed a system that moves beyond treating multi-lead recordings as independent parallel inputs. Their Disease-aware Dual Relational Graph Modeling module uses a 64-dimensional shared embedding space to capture how leads relate spatially and how diseases correlate clinically, while a Pathology-aware Temporal Evidence Aggregation module specifically targets brief diagnostic intervals rather than diluting critical evidence across entire cardiac cycles.

The framework combines multi-scale temporal embedding through three parallel convolutional layers with a four-layer hybrid Transformer-Mamba encoder featuring eight-head self-attention blocks. Input specifications process twelve leads sampled at 5,000 points per ten-second record, compressed to 1,250 temporal tokens with 128-feature dimensions.

Testing on the public PTB-XL benchmark dataset—21,430 recordings from 18,637 patients across five diagnostic superclasses (normal ECG, myocardial infarction, ST-T segment changes, conduction disturbances, and hypertrophy)—the system achieved the highest scores across accuracy, precision, recall, F1-score, macro-averaged AUROC, and macro-averaged AUPRC compared to classical recurrent networks, general temporal architectures like TimeMixer and iTransformer, and specialized cardiac models including ProtoECGNet and ECG-STAR.

Real-World Clinical Validation

The team validated their approach on 7,891 twelve-lead recordings from 571 unique patients at The Affiliated Hospital of Southwest Medical University, with independent physician annotators achieving a Cohen's kappa coefficient of 0.71 for inter-rater reliability. The clinical dataset was partitioned into 6,313 training records from 457 patients, 789 validation records from 57 patients, and 789 test records from 57 patients.

Ablation studies revealed that the Disease-aware Dual Relational Graph Modeling module produced immediate performance gains across all metrics, with especially pronounced improvements on the noisy clinical dataset. The temporal evidence aggregation module improved baseline performance but performed optimally when processing features downstream of the relational graph components, confirming these architectural elements provide complementary discriminative value.

Training on dual NVIDIA GeForce RTX 4090 workstations using AdamW optimization over 100 epochs with batch size 32, the researchers found that a graph embedding dimension of 64 maintained stable classification performance across both datasets.

Implications for Cardiac AI Development

The dual-graph architecture establishes a technical paradigm shift for structured medical signal analysis, demonstrating measurable advantages over approaches that expect models to implicitly learn physiological relationships from data alone. The framework's explicit encoding of spatial lead geometry and disease co-occurrence patterns addresses a critical workflow bottleneck in cardiology by automating multi-label ECG interpretation with reduced diagnostic variability.

For patients, improved automated interpretation with higher sensitivity for co-occurring cardiovascular conditions may accelerate diagnostic workflows and support more consistent clinical decision-making across healthcare settings with varying cardiology expertise, though clinical validation studies demonstrating impact on patient outcomes and integration into existing electronic health record systems remain necessary before widespread deployment.

Sources

  1. Medical-oriented multi-label diagnosis of twelve-lead ECG signals via disease-aware relational modeling and pathology-aware temporal evidence aggregation — Frontiers in Cardiovascular Medicine
  2. Dual-Graph Neural Network Improves Multi-Label Cardiovascular Diagnosis — bioengineer.org