Neural Network-based automated ECG Delineation

idriss NGOMSEU TCHOUPE1, Mously Dior Diaw2, Stéphane Papelier3, Alexandre Durand-Salmon3, Julien Oster4
1IADI, U1254, Inserm, Université de Lorraine, 2Banook Group - IADI, U1254, Inserm, Université de Lorraine, 3Banook Group, 4Inserm


Abstract

ECG delineation is a key step for assessing drug-induced proarrhythmic risk. Despite the development of automated analysis algorithms, ECGs are still currently performed by expert cardiologists. Our study explores the use of deep learning for accurate localization of the following ECG fiducial points: Ponset, QRSonset, QRSoffset, Tpeak and Tend.

We proposed an adapted U-Net architecture, devoid of skip connections, bottleneck and up-sampling to reduce computational time and mitigate overfitting. Operating on 1.2s single-lead ECG templates sampled at 500Hz, it produces binary masks of the size of ECG input which are defined such that each transition from 0 to 1 or 1 to 0 corresponds to a fiducial of interest. For training, we conducted a 5-fold patient stratified cross-validation on 2,054 12-lead ECGs from Verapamil(V) and Quinidine(Q) studies in the ECGRDVQ database available on PhysioNet. The proposed model was tested on 13,088 12- lead ECGs from 12 other drug studies in the following PhysioNet databases: ECGRDVQ (Ranolazine(R), Dofetilide (D) and Placebo (P)), CiPA and ECGDMMLD.

Our proposed approach was compared with a traditional U-Net, a Wavelet technique and a ResNet-based model. The proposed model achieved best overall results and yields small mean absolute differences with cardiologist measurements on the global test set: 3.86 ± 2.9 ms for the QRSonset to 6.77 ± 7.41 ms for the Tpeak.

Our model seems promising for automated ECG delineation during drug safety during clinical trials, among other applications, allowing to enhance clinical workflow efficiency. Further research could consist in including an uncertainty measurement of the delineation process.