Analysis of an adaptive lead weighted ResNet for multiclass classification of 12-lead ECGs

Background Twelve lead ECGs are a core diagnostic tool for cardiovascular diseases. Here, we describe and analyse an ensemble deep neural network architecture to classify 24 cardiac abnormalities from 12 lead ECGs. Method We proposed a squeeze and excite ResNet to automatically learn deep features from 12-lead ECGs, in order to identify 24 cardiac conditions. The deep features were augmented with age and gender features in the final fully connected layers. Output thresholds for each class were set using a constrained grid search. To determine why the model made incorrect predictions, two expert clinicians independently interpreted a random set of 100 misclassified ECGs concerning Left Axis Deviation. Results Using the bespoke weighted accuracy metric, we achieved a 5-fold crossvalidation score of 0.684, and sensitivity and specificity of 0.758 and 0.969, respectively. We scored 0.520 on the full test data, and ranked 2nd out of 41 in the official challenge rankings. On a random set of misclassified ECGs, agreement between two clinicians and training labels was poor (clinician 1: κ = −0.057, clinician 2: κ = −0.159). In contrast, agreement between the clinicians was very high (κ = 0.92). Discussion The proposed prediction model performed well on the validation and hidden test data in comparison to models trained on the same data. We also discovered considerable inconsistency in training labels, which is likely to hinder development of more accurate models. Submitted to: Physiological Measurement

[1]  Jian Sun,et al.  Deep Residual Learning for Image Recognition , 2015, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[2]  Thomas B. Schön,et al.  Automatic diagnosis of the 12-lead ECG using a deep neural network , 2020, Nature Communications.

[3]  S. Salerno,et al.  Competency in Interpretation of 12-Lead Electrocardiograms: A Summary and Appraisal of Published Evidence , 2003, Annals of Internal Medicine.

[4]  Masoumeh Haghpanahi,et al.  Cardiologist-level arrhythmia detection and classification in ambulatory electrocardiograms using a deep neural network , 2019, Nature Medicine.

[5]  N. Estes Computerized interpretation of ECGs: supplement not a substitute. , 2013, Circulation. Arrhythmia and electrophysiology.

[6]  David C. Wong,et al.  Adaptive Lead Weighted ResNet Trained With Different Duration Signals for Classifying 12-lead ECGs , 2020, 2020 Computing in Cardiology.

[7]  Andrew Zisserman,et al.  Turning a Blind Eye: Explicit Removal of Biases and Variation from Deep Neural Network Embeddings , 2018, ECCV Workshops.

[8]  A Laupacis,et al.  Prevalence, age distribution, and gender of patients with atrial fibrillation. Analysis and implications. , 1995, Archives of internal medicine.

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

[10]  S. Mariani,et al.  A Wide and Deep Transformer Neural Network for 12-Lead ECG Classification , 2020, 2020 Computing in Cardiology.

[11]  Frank Bogun,et al.  Accuracy of electrocardiogram interpretation by cardiologists in the setting of incorrect computer analysis. , 2006, Journal of electrocardiology.

[12]  Ruqiang Yan,et al.  Deep Discriminative Domain Generalization with Adversarial Feature Learning for Classifying ECG Signals , 2021, 2021 Computing in Cardiology (CinC).

[13]  J. L. Willems,et al.  The diagnostic performance of computer programs for the interpretation of electrocardiograms. , 1992, The New England journal of medicine.

[14]  K. Ellenbogen,et al.  Nonspecific intraventricular conduction delay: Definitions, prognosis, and implications for cardiac resynchronization therapy. , 2015, Heart rhythm.

[15]  Xingzhi Sun,et al.  Identification of 27 abnormalities from multi-lead ECG signals: an ensembled SE_ResNet framework with Sign Loss function , 2021, Physiological measurement.

[16]  Marcus Rohrbach,et al.  Decoupling Representation and Classifier for Long-Tailed Recognition , 2020, ICLR.

[17]  Ali Bahrami Rad,et al.  Classification of 12-lead ECGs: the PhysioNet/Computing in Cardiology Challenge 2020 , 2020, 2020 Computing in Cardiology.

[18]  Enhua Wu,et al.  Squeeze-and-Excitation Networks , 2017, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[19]  D. Cook,et al.  Accuracy of Physicians' Electrocardiogram Interpretations: A Systematic Review and Meta-analysis. , 2020, JAMA internal medicine.

[20]  John R. Hampton,et al.  The ECG Made Easy , 1973 .