PLOS Digital Health (Jun 2024)
Detecting QT prolongation from a single-lead ECG with deep learning.
Abstract
For a number of antiarrhythmics, drug loading requires a 3-day hospitalization with continuous monitoring for QT-prolongation. Automated QT monitoring with wearable ECG monitors would enable out-of-hospital care. We therefore develop a deep learning model that infers QT intervals from ECG Lead-I-the lead that is often available in ambulatory ECG monitors-and use this model to detect clinically meaningful QT-prolongation episodes during Dofetilide drug loading. QTNet-a deep neural network that infers QT intervals from Lead-I ECG-was trained using over 3 million ECGs from 653 thousand patients at the Massachusetts General Hospital and tested on an internal-test set consisting of 633 thousand ECGs from 135 thousand patients. QTNet is further evaluated on an external-validation set containing 3.1 million ECGs from 667 thousand patients at another healthcare institution. On both evaluations, the model achieves mean absolute errors of 12.63ms (internal-test) and 12.30ms (external-validation) for estimating absolute QT intervals. The associated Pearson correlation coefficients are 0.91 (internal-test) and 0.92 (external-validation). Finally, QTNet was used to detect Dofetilide-induced QT prolongation in a publicly available database (ECGRDVQ-dataset) containing ECGs from subjects enrolled in a clinical trial evaluating the effects of antiarrhythmic drugs. QTNet detects Dofetilide-induced QTc prolongation with 87% sensitivity and 77% specificity. The negative predictive value of the model is greater than 95% when the pre-test probability of drug-induced QTc prolongation is below 25%. These results show that drug-induced QT prolongation risk can be tracked from ECG Lead-I using deep learning.