Deep learning based electrocardiographic screening for chronic kidney disease

Lauri Holmström, Matthew Christensen, Neal Yuan, J. Weston Hughes, John Theurer, Melvin Jujjavarapu, Pedram Fatehi, Alan C. Kwan, Roopinder K. Sandhu, Joseph E. Ebinger, Susan Cheng, James Zou, Sumeet S. Chugh, David OuyangmedRxiv 2022

Abstract

Undiagnosed chronic kidney disease (CKD) is a common, often asymptomatic disorder that contributes significantly to global morbidity and mortality. This study presents a deep learning model designed to screen for CKD using routinely acquired electrocardiograms (ECGs). Utilizing a primary cohort of 111,370 patients (247,655 ECGs) and an external validation cohort of 312,145 patients (896,620 ECGs), we developed a convolutional neural network (CNN) to predict CKD diagnosis within one year of an ECG recording. The model achieved an area under the curve (AUC) of 0.77 in internal testing and 0.71 in external validation for 12-lead ECGs. Notably, performance was highest in patients under 60 years of age (AUC 0.84) and remained robust using single-lead data (AUC 0.82), suggesting potential applications for consumer wearables in early disease detection.

Introduction

Chronic Kidney Disease (CKD) affects nearly 700 million people worldwide. Often labeled a "silent killer," the condition frequently progresses without symptoms until the later stages, when kidney damage becomes irreversible. Traditional screening methods—such as serum creatinine blood tests or urine albumin-to-creatinine ratios—are effective but invasive and often omitted from routine clinical encounters.

This research, conducted by teams from Cedars-Sinai and Stanford University, explores whether the electrocardiogram (ECG)—a ubiquitous, non-invasive, and inexpensive diagnostic tool—contains hidden signatures of renal dysfunction. By applying deep learning to raw ECG waveforms, the study aims to identify patients at risk of CKD before they present with clinical symptoms.

Methodology

Model Architecture and Training

The researchers developed a deep learning model based on a Convolutional Neural Network (CNN) to analyze 10-second ECG recordings sampled at 500 Hz. The model was trained to perform a binary classification task: predicting whether a patient would receive a CKD diagnosis within one year of the ECG recording.

To ensure the model's utility across different clinical and consumer settings, the team evaluated two input formats:

  1. Standard 12-lead ECGs: The clinical gold standard.
  2. Single-lead (Lead I) ECGs: Simulated data to mimic the output of modern consumer wearables like smartwatches.

Interpretability

To address the "black box" nature of deep learning, the team employed Local Interpretable Model-agnostic Explanations (LIME). This technique allowed researchers to identify which specific segments of the ECG waveform—such as the QRS complex or the PR interval—most heavily influenced the model’s predictions.

Data Sources

The study utilized two massive datasets to ensure robustness:

  • Internal Cohort (Cedars-Sinai): 247,655 ECGs from 111,370 patients (2005–2019).
  • External Validation Cohort (Stanford Healthcare): 896,620 ECGs from 312,145 patients (2005–2018). This external set served as a critical test of the model's generalizability across different healthcare systems and equipment.

Results

Diagnostic Performance

The model demonstrated strong discriminative ability for CKD across various stages and patient demographics:

  • Internal 12-lead Performance: Achieved an AUC of 0.77 for any-stage CKD.
  • External Validation: Maintained an AUC of 0.71, confirming that the model captured biological signals rather than site-specific artifacts.
  • Severity Correlation: Accuracy improved as the disease progressed, with an AUC of 0.75 for mild CKD rising to 0.78 for End-Stage Renal Disease (ESRD).

The "Youth Advantage"

One of the most striking findings was the model's performance in younger populations. In patients under 60 years old, the model achieved an AUC of 0.84 using 12-lead ECGs and 0.82 using single-lead data. Researchers hypothesize that in younger patients, the ECG signal is less likely to be confounded by age-related comorbidities, making the specific "signature" of CKD more prominent.

Wearable Potential

The transition from 12-lead to single-lead data resulted in only a marginal decrease in performance (AUC 0.74 internally; 0.70 externally). This suggests that AI-enabled screening could potentially be deployed via smartwatches, offering a low-friction method for population-level screening.

Discussion

Physiological Basis

CKD is known to cause physiological changes that affect cardiac electrical activity, including electrolyte imbalances (hyperkalemia, hypocalcemia) and structural changes like left ventricular hypertrophy. The LIME analysis confirmed that the model focused on the QRS complexes and PR intervals—areas of the waveform known to be affected by these renal-related alterations.

Clinical Implications

The ability to detect CKD through a non-invasive ECG could revolutionize early intervention. By identifying high-risk individuals during routine check-ups or via home monitoring, clinicians can initiate treatments—such as ACE inhibitors or SGLT2 inhibitors—that slow disease progression and reduce the risk of cardiovascular complications.

Limitations

Despite its promise, the study notes several limitations:

  • Retrospective Design: The model was developed using historical data; prospective clinical trials are necessary to evaluate its impact on patient outcomes.
  • Coding Bias: The use of ICD-9/10 codes for ground-truth diagnosis may introduce bias, as many early-stage CKD cases are notoriously under-coded in medical records.
  • Generalizability: While validated across two major centers, further testing in diverse socioeconomic and geographic populations is required to ensure equitable performance.

Conclusion

This study demonstrates that deep learning can extract clinically meaningful indicators of kidney disease from standard ECG waveforms. With particularly high accuracy in younger patients and the ability to function on single-lead data, this technology holds the potential to transform the ECG into a powerful, accessible screening tool for chronic kidney disease.

Summary updated

BibTeX
@misc{holmstrom2022deep,
  author = {Lauri Holmström and Matthew Christensen and Neal Yuan and J. Weston Hughes and John Theurer and Melvin Jujjavarapu and Pedram Fatehi and Alan C. Kwan and Roopinder K. Sandhu and Joseph E. Ebinger and Susan Cheng and James Zou and Sumeet S. Chugh and David Ouyang},
  title = {{Deep learning based electrocardiographic screening for chronic kidney disease}},
  year = {2022},
  doi = {10.1101/2022.03.01.22271473},
  howpublished = {medRxiv},
}
Figure