Learning post-processing for QRS detection using Recurrent Neural Network

Deep-learning based QRS-detection algorithms often require an essential post-processing to refine the predictionstreams for R-peak localisation. The post-processing performs signal-processing tasks from as simple as, removing isolated 0s or 1s in the prediction-stream to sophisticated steps, which require domain-specific knowledge, including the minimum threshold of a QRS-complex extent or R-R interval. Often these thresholds vary among QRS-detection studies and are empirically determined for the target dataset, which may have implications if the target dataset differs. Moreover, these studies, in general, fail to identify the relative strengths of deep-learning models and post-processing to weigh them appropriately. This study classifies post-processing, as found in the QRS-detection literature, into two levels moderate, and advanced and advocates that the thresholds be learnt by an appropriate deep-learning module, called a Gated Recurrent Unit (GRU), to avoid explicitly setting post-processing thresholds. This is done by utilising the same philosophy of shifting from hand-crafted feature-engineering to deep-learning-based feature-extraction. The results suggest that GRU learns the post-processing level and the QRS detection performance using GRU-based post-processing marginally follows the domain-specific manual post-processing, without requiring usage of domain-specific threshold parameters. To the best of our knowledge, the use of GRU to learn QRS-detection postprocessing from CNN model generated prediction-streams is the first of its kind. The outcome was used to recommend a modular design for a QRS-detection system, where the level of complexity of the CNN model and post-processing can be tuned based on the deployment environment.

[1]  Chengyu Liu,et al.  An Octave Convolution Neural Network-based QRS Detector , 2020, 2020 International Conference on Sensing, Measurement & Data Analytics in the era of Artificial Intelligence (ICSMD).

[2]  JingLin Chen,et al.  An Ensemble of Convolutional Neural Networks for Image Classification Based on LSTM , 2017, 2017 International Conference on Green Informatics (ICGI).

[3]  John Yearwood,et al.  Impact of ECG Dataset Diversity on Generalization of CNN Model for Detecting QRS Complex , 2019, IEEE Access.

[4]  R. Orglmeister,et al.  The principles of software QRS detection , 2002, IEEE Engineering in Medicine and Biology Magazine.

[5]  S. S. Mehta,et al.  SVM-based algorithm for recognition of QRS complexes in electrocardiogram , 2008 .

[6]  Sergey Ioffe,et al.  Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift , 2015, ICML.

[7]  Yoshua Bengio,et al.  Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation , 2014, EMNLP.

[8]  Sang Woo Kim,et al.  Fetal QRS Detection Based on Convolutional Neural Networks in Noninvasive Fetal Electrocardiogram , 2018, 2018 4th International Conference on Frontiers of Signal Processing (ICFSP).

[9]  R G Mark,et al.  Improved detection and classification of arrhythmias in noise-corrupted electrocardiograms using contextual information , 1990, [1990] Proceedings Computers in Cardiology.

[10]  G.B. Moody,et al.  The impact of the MIT-BIH Arrhythmia Database , 2001, IEEE Engineering in Medicine and Biology Magazine.

[11]  Arun Khosla,et al.  QRS detection using K-Nearest Neighbor algorithm (KNN) and evaluation on standard ECG databases , 2012, Journal of advanced research.

[12]  Thomas Brox,et al.  U-Net: Convolutional Networks for Biomedical Image Segmentation , 2015, MICCAI.

[13]  Xiaodai Dong,et al.  Inter-Patient CNN-LSTM for QRS Complex Detection in Noisy ECG Signals , 2019, IEEE Access.

[14]  G. Moody,et al.  The European ST-T database: standard for evaluating systems for the analysis of ST-T changes in ambulatory electrocardiography. , 1992, European heart journal.

[15]  Marjan Gusev,et al.  Analysis of sampling frequency and resolution in ECG signals , 2017, 2017 25th Telecommunication Forum (TELFOR).

[16]  Shipeng Han,et al.  Hybrid Deep Recurrent Neural Networks for Noise Reduction of MEMS-IMU with Static and Dynamic Conditions , 2021, Micromachines.

[17]  B. S. Chandra,et al.  Robust Heartbeat Detection From Multimodal Data via CNN-Based Generalizable Information Fusion , 2018, IEEE Transactions on Biomedical Engineering.

[18]  Marko Sarlija,et al.  A convolutional neural network based approach to QRS detection , 2017, Proceedings of the 10th International Symposium on Image and Signal Processing and Analysis.

[19]  Mingzhe Jiang,et al.  Robust ECG R-peak detection using LSTM , 2020, SAC.

[20]  Pablo Laguna,et al.  A database for evaluation of algorithms for measurement of QT and other waveform intervals in the ECG , 1997, Computers in Cardiology 1997.

[21]  Gavin Sim,et al.  Inter-patient ECG classification with convolutional and recurrent neural networks , 2018, Biocybernetics and Biomedical Engineering.

[22]  Xiaolang Yan,et al.  High Noise Tolerant R-Peak Detection Method Based on Deep Convolution Neural Network , 2019, IEICE Trans. Inf. Syst..

[23]  Daniël M Pelt,et al.  A mixed-scale dense convolutional neural network for image analysis , 2017, Proceedings of the National Academy of Sciences.

[24]  Zhitao Lin,et al.  Automatic QRS complex detection using two-level convolutional neural network , 2018, BioMedical Engineering OnLine.

[25]  Günter Schreier,et al.  ECG classification based on time and frequency domain features using random forests , 2017, 2017 Computing in Cardiology (CinC).

[26]  Minho Choi,et al.  QRS detection method based on fully convolutional networks for capacitive electrocardiogram , 2019, Expert Syst. Appl..