An explainable algorithm for detecting drug-induced QT-prolongation at risk of torsades de pointes (TdP) regardless of heart rate and T-wave morphology

Torsade de points (TdP), a life-threatening arrhythmia that can increase the risk of sudden cardiac death, is associated with drug-induced QT-interval prolongation on the electrocardiogram (ECG). While many modern ECG machines provide automated measurements of the QT-interval, these automated QT values are usually correct only for a noise-free normal sinus rhythm, in which the T-wave morphology is well defined. As QT-prolonging drugs often affect the morphology of the T-wave, automated QT measurements taken under these circumstances are easily invalidated. An additional challenge is that the QT-value at risk of TdP varies with heart rate, with the slower the heart rate, the greater the risk of TdP. This paper presents an explainable algorithm that uses an understanding of human visual perception and expert ECG interpretation to automate the detection of QT-prolongation at risk of TdP regardless of heart rate and T-wave morphology. It was tested on a large number of ECGs (n=5050) with variable QT-intervals at varying heart rates, acquired from a clinical trial that assessed the effect of four known QT-prolonging drugs versus placebo on healthy subjects. The algorithm yielded a balanced accuracy of 0.97, sensitivity of 0.94, specificity of 0.99, F1-score of 0.88, ROC (AUC) of 0.98, precision-recall (AUC) of 0.88, and Matthews correlation coefficient (MCC) of 0.88. The results indicate that a prolonged ventricular repolarisation area can be a significant risk predictor of TdP, and detection of this is potentially easier and more reliable to automate than measuring the QT-interval distance directly. The proposed algorithm can be visualised using pseudo-colour on the ECG trace, thus intuitively 'explaining' how its decision was made, which results of a focus group show may help people to self-monitor QT-prolongation, as well as ensuring clinicians can validate its results.

[1]  Markel Vigo,et al.  Pseudo-colouring an ECG enables lay people to detect QT-interval prolongation regardless of heart rate , 2020, PloS one.

[2]  B. Darpö,et al.  Spectrum of drugs prolonging QT interval and the incidence of torsades de pointes , 2001 .

[3]  Snehal Kothari,et al.  Comparison of 5 methods of QT interval measurements on electrocardiograms from a thorough QT/QTc study: effect on assay sensitivity and categorical outliers. , 2011, Journal of electrocardiology.

[4]  Nigel Harris,et al.  QT measurement for TU fused ECG morphology as exhibited during hypoglycaemia , 1998, Proceedings of the 20th Annual International Conference of the IEEE Engineering in Medicine and Biology Society. Vol.20 Biomedical Engineering Towards the Year 2000 and Beyond (Cat. No.98CH36286).

[5]  P. Bonate,et al.  Assessment of QTc Prolongation for Non‐Cardiac‐Related Drugs from a Drug Development Perspective , 1999, Journal of clinical pharmacology.

[6]  Kimberly Crimin,et al.  Dynamic Beat-to-Beat Modeling of the QT-RR Interval Relationship: Analysis of QT Prolongation during Alterations of Autonomic State versus Human Ether a-go-go-Related Gene Inhibition , 2005, Journal of Pharmacology and Experimental Therapeutics.

[7]  N. El-Sherif,et al.  TU Alternans, Long QTU, and Torsade de Pointes: Clinical and Experimental Observations , 1992 .

[8]  N. El-Sherif,et al.  Quinidine-induced long QTU interval and torsade de pointes: role of bradycardia-dependent early afterdepolarizations. , 1989, Journal of the American College of Cardiology.

[9]  Caroline Jay,et al.  Evaluating the Impact of Pseudo-Colour and Coordinate System on the Detection of Medication-induced ECG Changes , 2019, CHI.

[10]  M. Ackerman,et al.  Diagnostic accuracy of screening electrocardiograms in long QT syndrome I. , 2001, Pediatrics.

[11]  P. Vardas,et al.  Mechanisms, Risk Factors, and Management of Acquired Long QT Syndrome: A Comprehensive Review , 2012, TheScientificWorldJournal.

[12]  Walter J. Scheirer,et al.  Visual Psychophysics for Making Face Recognition Algorithms More Explainable , 2018, ECCV.

[13]  Sudeep Sarkar,et al.  Comparison of Edge Detectors: A Methodology and Initial Study , 1998, Comput. Vis. Image Underst..

[14]  S. Chism,et al.  Drug-induced long QT syndrome and Torsade de Pointes. , 2004, The Journal of the Arkansas Medical Society.

[15]  G. Isbister,et al.  Drug induced QT prolongation: the measurement and assessment of the QT interval in clinical practice. , 2013, British journal of clinical pharmacology.

[16]  Li Zhang,et al.  Inaccurate electrocardiographic interpretation of long QT: the majority of physicians cannot recognize a long QT when they see one. , 2005, Heart rhythm.

[17]  Norman Stockbridge,et al.  Comprehensive T wave Morphology Assessment in a Randomized Clinical Study of Dofetilide, Quinidine, Ranolazine, and Verapamil , 2015, Journal of the American Heart Association.

[18]  M. Lehmann,et al.  Prolonged QT Interval Diagnosis Suppression by a Widely Used Computerized ECG Analysis System , 2013, Circulation. Arrhythmia and electrophysiology.

[19]  A Murray,et al.  Comparison of automatic QT measurement techniques in the normal 12 lead electrocardiogram. , 1995, British heart journal.

[20]  S. Niwano,et al.  Importance of morphological changes in T-U waves during bepridil therapy as a predictor of ventricular arrhythmic event. , 2010, Circulation journal : official journal of the Japanese Circulation Society.

[21]  D. Zipes Proarrhythmic effects of antiarrhythmic drugs. , 1987, The American journal of cardiology.

[22]  C. Funck-Brentano,et al.  Influence of dofetilide on QT-interval duration and dispersion at various heart rates during exercise in humans. , 1996, Circulation.

[23]  A. Wilde,et al.  The Measurement of the QT Interval , 2014, Current cardiology reviews.

[24]  B. Tyl,et al.  Improvement and limitation of the reliability of automated QT measurement by recent algorithms. , 2011, Journal of electrocardiology.

[25]  P. Kirchhof,et al.  Giant T-U waves precede torsades de pointes in long QT syndrome: a systematic electrocardiographic analysis in patients with acquired and congenital QT prolongation. , 2009, Journal of the American College of Cardiology.

[26]  L. Angelkov,et al.  Emotional stress as a cause of syncope and torsade de pointes in patients with long QT syndrome. , 2015, Vojnosanitetski pregled.

[27]  Q Xue,et al.  Algorithms for computerized QT analysis. , 1998, Journal of electrocardiology.

[28]  K Shimomura,et al.  Differential Response of QTU Interval to Exercise, Isoproterenol, and Atrial Pacing in Patients with Congenital Long QT Syndrome , 1991, Pacing and clinical electrophysiology : PACE.

[29]  T. Nakayama,et al.  Automated versus Manual Measurement of the QT Interval and Corrected QT Interval , 2011, Annals of noninvasive electrocardiology : the official journal of the International Society for Holter and Noninvasive Electrocardiology, Inc.

[30]  C. Shubkin,et al.  Recent advances in the understanding and management of long QT syndrome , 2014, Current opinion in pediatrics.

[31]  I. Khan Clinical and therapeutic aspects of congenital and acquired long QT syndrome. , 2002, The American journal of medicine.

[32]  Wan Xiangkui,et al.  A T-wave alternans assessment method based on least squares curve fitting technique , 2016 .

[33]  Michael Glikson,et al.  The morphology of the QT interval predicts torsade de pointes during acquired bradyarrhythmias. , 2007, Journal of the American College of Cardiology.

[34]  Takaya Saito,et al.  The Precision-Recall Plot Is More Informative than the ROC Plot When Evaluating Binary Classifiers on Imbalanced Datasets , 2015, PloS one.

[35]  Fabio Badilini,et al.  Comparison of automated interval measurements by widely used algorithms in digital electrocardiographs , 2018, American heart journal.

[36]  M. Boutjdir,et al.  Acquired Long QT Syndrome and Electrophysiology of Torsade de Pointes , 2019, Arrhythmia & electrophysiology review.

[37]  Thomas Serre,et al.  How Deep is the Feature Analysis underlying Rapid Visual Categorization? , 2016, NIPS.

[38]  Matthias Bethge,et al.  How Sensitive Is the Human Visual System to the Local Statistics of Natural Images? , 2013, PLoS Comput. Biol..

[39]  Arthur J Moss,et al.  Long QT syndrome: from channels to cardiac arrhythmias. , 2005, The Journal of clinical investigation.

[40]  J. Struijk,et al.  Electrocardiographic Tpeak-Tend interval and risk of cardiovascular morbidity and mortality: Results from the Copenhagen ECG study. , 2016, Heart rhythm.

[41]  A. Adamson,et al.  Machine Learning and Health Care Disparities in Dermatology. , 2018, JAMA dermatology.

[42]  Joan López-Moliner,et al.  quickpsy: An R Package to Fit Psychometric Functions for Multiple Groups , 2016, R J..

[43]  A Murray,et al.  Accuracy of four automatic QT measurement techniques in cardiac patients and healthy subjects. , 1996, Heart.

[44]  Curt P. Langlotz,et al.  Geographic Distribution of US Cohorts Used to Train Deep Learning Algorithms. , 2020, JAMA.

[45]  D. Roden,et al.  Incidence and clinical features of the quinidine-associated long QT syndrome: implications for patient care. , 1986, American heart journal.

[46]  A. Treloar,et al.  Competence of psychiatric clinicians in interpreting electrocardiograms and QT intervals: can they do this? Does it matter? , 2008 .

[47]  Snehal Kothari,et al.  Intra- and interreader variability in QT interval measurement by tangent and threshold methods in a central electrocardiogram laboratory. , 2009, Journal of electrocardiology.

[48]  G K Isbister,et al.  Drug-induced QT prolongation and torsades de pointes: evaluation of a QT nomogram. , 2007, QJM : monthly journal of the Association of Physicians.

[49]  A. Murray,et al.  Influence of T wave amplitude on automatic QT measurement , 1995, Computers in Cardiology 1995.

[50]  J. Cummings,et al.  Quinidine Syncope: Paroxysmal Ventricular Fibrillation Occurring during Treatment of Chronic Atrial Arrhythmias , 1964, Circulation.

[51]  D. Chicco,et al.  The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation , 2020, BMC Genomics.

[52]  J. Morganroth Focus on issues in measuring and interpreting changes in the QTc interval duration , 2001 .

[53]  Po-Hsuan Cameron Chen,et al.  How to Read Articles That Use Machine Learning: Users' Guides to the Medical Literature. , 2019, JAMA.

[54]  R. Califf,et al.  Cardiac repolarization: current knowledge, critical gaps, and new approaches to drug development and patient management. , 2002, American heart journal.

[55]  A. Moss,et al.  QT Interval: How to Measure It and What Is “Normal” , 2006, Journal of cardiovascular electrophysiology.

[56]  A. Jaiswal,et al.  Dofetilide induced torsade de pointes: mechanism, risk factors and management strategies. , 2014, Indian heart journal.

[57]  C Antzelevitch,et al.  Cellular basis for the normal T wave and the electrocardiographic manifestations of the long-QT syndrome. , 1998, Circulation.

[58]  Joel Morganroth,et al.  How to Obtain and Analyze Electrocardiograms in Clinical Trials , 1999 .

[59]  A. C. Hunt Accuracy of popular automatic QT Interval algorithms assessed by a 'Gold Standard' and comparison with a Novel method: computer simulation study , 2005, BMC cardiovascular disorders.

[60]  H. Kalantari,et al.  Underestimated and unreported prolonged QTc by automated ECG analysis in patients on methadone: can we rely on computer reading? , 2015, Acta cardiologica.

[61]  Arthur A M Wilde,et al.  Accurate electrocardiographic assessment of the QT interval: teach the tangent. , 2008, Heart rhythm.

[62]  D. G. Altman,et al.  GRIPP2 reporting checklists: tools to improve reporting of patient and public involvement in research , 2017, Research Involvement and Engagement.

[63]  S. Swiryn,et al.  Torsade de pointes due to quinidine: observations in 31 patients. , 1984, American heart journal.

[64]  Jeffrey M. Hausdorff,et al.  Physionet: Components of a New Research Resource for Complex Physiologic Signals". Circu-lation Vol , 2000 .

[65]  J Vicente,et al.  Differentiating Drug‐Induced Multichannel Block on the Electrocardiogram: Randomized Study of Dofetilide, Quinidine, Ranolazine, and Verapamil , 2014, Clinical pharmacology and therapeutics.

[66]  H. Wellens,et al.  Computer-Interpreted Electrocardiograms: Benefits and Limitations. , 2017, Journal of the American College of Cardiology.

[67]  James T. Enns,et al.  High-speed visual estimation using preattentive processing , 1996, TCHI.

[68]  Nenad Sarapa,et al.  Investigating the effect of sotalol on the repolarization intervals in healthy young individuals. , 2008, Journal of electrocardiology.

[69]  Ben J M Hermans,et al.  The development and validation of an easy to use automatic QT-interval algorithm , 2017, PloS one.

[70]  A. Camm,et al.  Drug induced QT prolongation and torsades de pointes , 2003, Heart.

[71]  James T. Enns,et al.  Visualizing real-time multivariate data using preattentive processing , 1995, TOMC.

[72]  M. Malik,et al.  Interobserver Reproducibility of QT Interval Measurement and QT Dispersion in Patients After Acute Myocardial Infarction , 1996 .