Abstract
Despite the potentials of artificial intelligence (AI) in healthcare, very little work focuses on the extraction of clinical information or knowledge discovery from clinical measurements. Here we propose a novel deep learning model, CResNet, to extract characteristics in electrocardiogram (ECG) and explore its usage in knowledge discovery. Utilizing a 12-lead ECG dataset (n = 2,322,513) collected from over 1.5 million unique subjects in primary care, we performed three independent medical tasks: (i) cardiac abnormality diagnosis, (ii) gender identification, and (iii) hypertension screening. We achieved AUC scores of 0.998, 0.964, and 0.839 for each task, respectively. We provide interpretation of salient morphologies and identified key ECG leads that achieve high performance, such as V5 for gender and V1 for hypertension. Our model demonstrates cardiologist-level accuracy with interpretability, facilitating clinical knowledge discovery for traits not readily available to human interpreters.
Introduction
Artificial intelligence has shown great promise in healthcare, yet many models function as "black boxes," hindering clinical trust and regulatory transparency. Furthermore, traditional ECG interpretation is often limited to known cardiac disorders, potentially overlooking visually imperceptible information that could indicate broader systemic health issues. This paper introduces CResNet, an interpretable deep learning model designed to bridge the gap between high-performance AI and clinical utility, enabling the discovery of new physiological markers for gender and hypertension directly from heart traces.
Methods: The Isolation-Integration Strategy
The researchers developed Channel-wise Deep Residual Networks (CResNet) using a novel "isolation-integration" architecture. In the Isolation Stage, each of the 12 ECG leads is processed independently through its own residual blocks, ensuring the model learns lead-specific features without premature weight sharing. In the Integration Stage, these features are combined using a Bidirectional Long Short-Term Memory (BiLSTM) network to capture complex inter-lead relationships. For interpretability, the team utilized a refined Grad-CAM approach to generate heatmaps, highlighting the specific ECG segments (e.g., P-waves, T-waves) and leads that drove the model's predictions.
Datasets and Study Design
The study utilized the massive CODE Dataset, containing over 2.3 million ECGs from 1.5 million unique subjects in primary care settings. This real-world data supported three independent medical tasks: cardiac abnormality diagnosis, gender identification, and hypertension screening.
Key Insights: Uncovering Hidden Signatures
CResNet revealed distinct electrical signatures for conditions not typically diagnosed via ECG:
- Gender Identification: The model identified gender with an AUC of 0.964, primarily focusing on the V5 lead. This suggests that biological sex leaves a distinct electrical footprint in specific cardiac regions.
- Hypertension Screening: The model identified V1 as the dominant lead for hypertension, specifically focusing on T-waves. This provides a potential new biomarker for a condition that usually requires manual blood pressure measurement.
- Medical Validation: For conditions like Atrial Fibrillation (AF), the model's attention aligned with medical intuition, such as the absence of P-waves, while also identifying subtle morphologies often missed by human eyes.
Key Results and Performance
The model achieved state-of-the-art results across all three tasks. In cardiac abnormality diagnosis, CResNet reached an AUC of 0.998, matching or exceeding the performance of senior cardiologists.
For gender identification, performance was highest in younger patients (AUC 0.979). While hypertension screening (AUC 0.839) is not a replacement for traditional methods, it represents a powerful opportunistic screening tool for a "silent killer."
Conclusion
This research moves medical AI closer to becoming a scientific partner rather than just a diagnostic tool. By identifying which leads are dominant for specific tasks, the study suggests that high-accuracy monitoring could eventually be achieved using simplified wearable devices. Future work will aim to expand the model's scope to rarer abnormalities and improve the visualization of borderline decisions.
Summary updated