Related Experiment Video
Updated: Jan 26, 2026

Author Spotlight: AI-Driven Trypanosome Species Detection from Microscopic Images
Published on: October 27, 2023
Development and Validation of a Deep-Learning Model to Screen for Hyperkalemia From the Electrocardiogram
Conner D Galloway1, Alexander V Valys1, Jacqueline B Shreibati1
1AliveCor Inc, Mountain View, California.
Insights
A deep-learning model can screen for hyperkalemia, a common and dangerous complication in chronic kidney disease (CKD) patients, using only electrocardiograms (ECGs). This AI-powered tool shows promise for earlier detection and improved patient outcomes.
Area of Science:
- Nephrology
- Cardiology
- Artificial Intelligence
- Medical Diagnostics
Background:
- Hyperkalemia is a frequent and potentially fatal complication in patients with chronic kidney disease (CKD).
- Current monitoring of serum potassium levels is often underutilized, despite hyperkalemia being asymptomatic and linked to fatal arrhythmias.
- Noninvasive screening methods for hyperkalemia are needed to improve early detection in CKD patients.
Purpose of the Study:
- To evaluate the diagnostic performance of a deep-learning model for detecting hyperkalemia using electrocardiograms (ECGs) in patients with CKD.
- To assess the potential of artificial intelligence (AI) in noninvasively screening for hyperkalemia.
Main Methods:
- A deep convolutional neural network (DNN) was trained on over 1.5 million ECGs from a large patient cohort.
- The DNN model utilized 2 or 4 ECG leads to detect hyperkalemia (serum potassium ≤5.5 mEq/L).
- Model performance was validated retrospectively on over 60,000 CKD patients with contemporaneous ECG and serum potassium measurements.
Main Results:
- The deep-learning model demonstrated strong performance in detecting hyperkalemia across multiple validation datasets.
- Area under the receiver operating characteristic curve (AUC) ranged from 0.853 to 0.883 using only two ECG leads.
- At a high sensitivity operating point (90%), the model achieved sensitivities between 88.9% and 91.3% with specificities ranging from 54.7% to 63.2%.
Conclusions:
- A deep-learning model utilizing ECG data can effectively screen for hyperkalemia in patients with chronic kidney disease.
- AI-driven analysis of ECGs offers a promising, noninvasive approach for hyperkalemia detection.
- Further prospective studies are warranted to confirm these findings and explore clinical implementation.
Importance:
For patients with chronic kidney disease (CKD), hyperkalemia is common, associated with fatal arrhythmias, and often asymptomatic, while guideline-directed monitoring of serum potassium is underused. A deep-learning model that enables noninvasive hyperkalemia screening from the electrocardiogram (ECG) may improve detection of this life-threatening condition.
Objective:
To evaluate the performance of a deep-learning model in detection of hyperkalemia from the ECG in patients with CKD.
Design, Setting, And Participants:
A deep convolutional neural network (DNN) was trained using 1 576 581 ECGs from 449 380 patients seen at Mayo Clinic, Rochester, Minnesota, from 1994 to 2017. The DNN was trained using 2 (leads I and II) or 4 (leads I, II, V3, and V5) ECG leads to detect serum potassium levels of 5.5 mEq/L or less (to convert to millimoles per liter, multiply by 1) and was validated using retrospective data from the Mayo Clinic in Minnesota, Florida, and Arizona. The validation included 61 965 patients with stage 3 or greater CKD. Each patient had a serum potassium count drawn within 4 hours after their ECG was recorded. Data were analyzed between April 12, 2018, and June 25, 2018.
Exposures:
Use of a deep-learning model.
Main Outcomes And Measures:
Area under the receiver operating characteristic curve (AUC) and sensitivity and specificity, with serum potassium level as the reference standard. The model was evaluated at 2 operating points, 1 for equal specificity and sensitivity and another for high (90%) sensitivity.
Results:
Of the total 1 638 546 ECGs, 908 000 (55%) were from men. The prevalence of hyperkalemia in the 3 validation data sets ranged from 2.6% (n = 1282 of 50 099; Minnesota) to 4.8% (n = 287 of 6011; Florida). Using ECG leads I and II, the AUC of the deep-learning model was 0.883 (95% CI, 0.873-0.893) for Minnesota, 0.860 (95% CI, 0.837-0.883) for Florida, and 0.853 (95% CI, 0.830-0.877) for Arizona. Using a 90% sensitivity operating point, the sensitivity was 90.2% (95% CI, 88.4%-91.7%) and specificity was 63.2% (95% CI, 62.7%-63.6%) for Minnesota; the sensitivity was 91.3% (95% CI, 87.4%-94.3%) and specificity was 54.7% (95% CI, 53.4%-56.0%) for Florida; and the sensitivity was 88.9% (95% CI, 84.5%-92.4%) and specificity was 55.0% (95% CI, 53.7%-56.3%) for Arizona.
Conclusions And Relevance:
In this study, using only 2 ECG leads, a deep-learning model detected hyperkalemia in patients with renal disease with an AUC of 0.853 to 0.883. The application of artificial intelligence to the ECG may enable screening for hyperkalemia. Prospective studies are warranted.
Related Concept Videos
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
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...
In Vitro Drug Release Testing: Overview, Development and Validation
Reliability and Validity
Data Validation
Nursing assessment guides are generally based on holistic models rather than medical...
Data Validation
Key parameters for method validation include:

