Cargando…

A robust multiple heartbeats classification with weight-based loss based on convolutional neural network and bidirectional long short-term memory

Background: Analysis of electrocardiogram (ECG) provides a straightforward and non-invasive approach for cardiologists to diagnose and classify the nature and severity of variant cardiac diseases including cardiac arrhythmia. However, the interpretation and analysis of ECG are highly working-load de...

Descripción completa

Detalles Bibliográficos
Autores principales: Yang, Mengting, Liu, Weichao, Zhang, Henggui
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Frontiers Media S.A. 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9760867/
https://www.ncbi.nlm.nih.gov/pubmed/36545286
http://dx.doi.org/10.3389/fphys.2022.982537
_version_ 1784852577409564672
author Yang, Mengting
Liu, Weichao
Zhang, Henggui
author_facet Yang, Mengting
Liu, Weichao
Zhang, Henggui
author_sort Yang, Mengting
collection PubMed
description Background: Analysis of electrocardiogram (ECG) provides a straightforward and non-invasive approach for cardiologists to diagnose and classify the nature and severity of variant cardiac diseases including cardiac arrhythmia. However, the interpretation and analysis of ECG are highly working-load demanding, and the subjective may lead to false diagnoses and heartbeats classification. In recent years, many deep learning works showed an excellent role in accurate heartbeats classification. However, the imbalance of heartbeat classes is universal in most of the available ECG databases since abnormal heartbeats are always relatively rare in real life scenarios. In addition, many existing approaches achieved prominent results by removing noise and extracting features in data preprocessing, which relies heavily on powerful computers. It is a pressing need to develop efficient and automatic light weighted algorithms for accurate heartbeats classification that can be used in portable ECG sensors. Objective: This study aims at developing a robust and efficient deep learning method, which can be embedded into wearable or portable ECG monitors for classifying heartbeats. Methods: We proposed a novel and light weighted deep learning architecture with weight-based loss based on a convolutional neural network (CNN) and bidirectional long short-term memory (Bi-LSTM) that can automatically identify five types of ECG heartbeats according to the AAMI EC57 standard. It was also true that the raw ECG signals were simply segmented without noise removal and other feature extraction processing. Moreover, to tackle the challenge of classification bias due to imbalanced ECG datasets for different types of arrhythmias, we introduced a weight-based loss function to reduce the influence of over-weighted categories in the ECG dataset. For avoiding the influence of the division of validation dataset, k-fold method was adopted to improve the reliability of the model. Results: The proposed algorithm is trained and tested on MIT-BIH Arrhythmia Database, and achieves an average of 99.33% accuracy, 93.67% sensitivity, 99.18% specificity, 89.85% positive prediction, and 91.65% F(1) score.
format Online
Article
Text
id pubmed-9760867
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Frontiers Media S.A.
record_format MEDLINE/PubMed
spelling pubmed-97608672022-12-20 A robust multiple heartbeats classification with weight-based loss based on convolutional neural network and bidirectional long short-term memory Yang, Mengting Liu, Weichao Zhang, Henggui Front Physiol Physiology Background: Analysis of electrocardiogram (ECG) provides a straightforward and non-invasive approach for cardiologists to diagnose and classify the nature and severity of variant cardiac diseases including cardiac arrhythmia. However, the interpretation and analysis of ECG are highly working-load demanding, and the subjective may lead to false diagnoses and heartbeats classification. In recent years, many deep learning works showed an excellent role in accurate heartbeats classification. However, the imbalance of heartbeat classes is universal in most of the available ECG databases since abnormal heartbeats are always relatively rare in real life scenarios. In addition, many existing approaches achieved prominent results by removing noise and extracting features in data preprocessing, which relies heavily on powerful computers. It is a pressing need to develop efficient and automatic light weighted algorithms for accurate heartbeats classification that can be used in portable ECG sensors. Objective: This study aims at developing a robust and efficient deep learning method, which can be embedded into wearable or portable ECG monitors for classifying heartbeats. Methods: We proposed a novel and light weighted deep learning architecture with weight-based loss based on a convolutional neural network (CNN) and bidirectional long short-term memory (Bi-LSTM) that can automatically identify five types of ECG heartbeats according to the AAMI EC57 standard. It was also true that the raw ECG signals were simply segmented without noise removal and other feature extraction processing. Moreover, to tackle the challenge of classification bias due to imbalanced ECG datasets for different types of arrhythmias, we introduced a weight-based loss function to reduce the influence of over-weighted categories in the ECG dataset. For avoiding the influence of the division of validation dataset, k-fold method was adopted to improve the reliability of the model. Results: The proposed algorithm is trained and tested on MIT-BIH Arrhythmia Database, and achieves an average of 99.33% accuracy, 93.67% sensitivity, 99.18% specificity, 89.85% positive prediction, and 91.65% F(1) score. Frontiers Media S.A. 2022-12-05 /pmc/articles/PMC9760867/ /pubmed/36545286 http://dx.doi.org/10.3389/fphys.2022.982537 Text en Copyright © 2022 Yang, Liu and Zhang. https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
spellingShingle Physiology
Yang, Mengting
Liu, Weichao
Zhang, Henggui
A robust multiple heartbeats classification with weight-based loss based on convolutional neural network and bidirectional long short-term memory
title A robust multiple heartbeats classification with weight-based loss based on convolutional neural network and bidirectional long short-term memory
title_full A robust multiple heartbeats classification with weight-based loss based on convolutional neural network and bidirectional long short-term memory
title_fullStr A robust multiple heartbeats classification with weight-based loss based on convolutional neural network and bidirectional long short-term memory
title_full_unstemmed A robust multiple heartbeats classification with weight-based loss based on convolutional neural network and bidirectional long short-term memory
title_short A robust multiple heartbeats classification with weight-based loss based on convolutional neural network and bidirectional long short-term memory
title_sort robust multiple heartbeats classification with weight-based loss based on convolutional neural network and bidirectional long short-term memory
topic Physiology
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9760867/
https://www.ncbi.nlm.nih.gov/pubmed/36545286
http://dx.doi.org/10.3389/fphys.2022.982537
work_keys_str_mv AT yangmengting arobustmultipleheartbeatsclassificationwithweightbasedlossbasedonconvolutionalneuralnetworkandbidirectionallongshorttermmemory
AT liuweichao arobustmultipleheartbeatsclassificationwithweightbasedlossbasedonconvolutionalneuralnetworkandbidirectionallongshorttermmemory
AT zhanghenggui arobustmultipleheartbeatsclassificationwithweightbasedlossbasedonconvolutionalneuralnetworkandbidirectionallongshorttermmemory
AT yangmengting robustmultipleheartbeatsclassificationwithweightbasedlossbasedonconvolutionalneuralnetworkandbidirectionallongshorttermmemory
AT liuweichao robustmultipleheartbeatsclassificationwithweightbasedlossbasedonconvolutionalneuralnetworkandbidirectionallongshorttermmemory
AT zhanghenggui robustmultipleheartbeatsclassificationwithweightbasedlossbasedonconvolutionalneuralnetworkandbidirectionallongshorttermmemory