Cargando…

An Arrhythmia Classification Model Based on Vision Transformer with Deformable Attention

The electrocardiogram (ECG) is a highly effective non-invasive tool for monitoring heart activity and diagnosing cardiovascular diseases (CVDs). Automatic detection of arrhythmia based on ECG plays a critical role in the early prevention and diagnosis of CVDs. In recent years, numerous studies have...

Descripción completa

Detalles Bibliográficos
Autores principales: Dong, Yanfang, Zhang, Miao, Qiu, Lishen, Wang, Lirong, Yu, Yong
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10302689/
https://www.ncbi.nlm.nih.gov/pubmed/37374741
http://dx.doi.org/10.3390/mi14061155
_version_ 1785065102868742144
author Dong, Yanfang
Zhang, Miao
Qiu, Lishen
Wang, Lirong
Yu, Yong
author_facet Dong, Yanfang
Zhang, Miao
Qiu, Lishen
Wang, Lirong
Yu, Yong
author_sort Dong, Yanfang
collection PubMed
description The electrocardiogram (ECG) is a highly effective non-invasive tool for monitoring heart activity and diagnosing cardiovascular diseases (CVDs). Automatic detection of arrhythmia based on ECG plays a critical role in the early prevention and diagnosis of CVDs. In recent years, numerous studies have focused on using deep learning methods to address arrhythmia classification problems. However, the transformer-based neural network in current research still has a limited performance in detecting arrhythmias for the multi-lead ECG. In this study, we propose an end-to-end multi-label arrhythmia classification model for the 12-lead ECG with varied-length recordings. Our model, called CNN-DVIT, is based on a combination of convolutional neural networks (CNNs) with depthwise separable convolution, and a vision transformer structure with deformable attention. Specifically, we introduce the spatial pyramid pooling layer to accept varied-length ECG signals. Experimental results show that our model achieved an F1 score of 82.9% in CPSC-2018. Notably, our CNN-DVIT outperforms the latest transformer-based ECG classification algorithms. Furthermore, ablation experiments reveal that the deformable multi-head attention and depthwise separable convolution are both efficient in extracting features from multi-lead ECG signals for diagnosis. The CNN-DVIT achieved good performance for the automatic arrhythmia detection of ECG signals. This indicates that our research can assist doctors in clinical ECG analysis, providing important support for the diagnosis of arrhythmia and contributing to the development of computer-aided diagnosis technology.
format Online
Article
Text
id pubmed-10302689
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-103026892023-06-29 An Arrhythmia Classification Model Based on Vision Transformer with Deformable Attention Dong, Yanfang Zhang, Miao Qiu, Lishen Wang, Lirong Yu, Yong Micromachines (Basel) Article The electrocardiogram (ECG) is a highly effective non-invasive tool for monitoring heart activity and diagnosing cardiovascular diseases (CVDs). Automatic detection of arrhythmia based on ECG plays a critical role in the early prevention and diagnosis of CVDs. In recent years, numerous studies have focused on using deep learning methods to address arrhythmia classification problems. However, the transformer-based neural network in current research still has a limited performance in detecting arrhythmias for the multi-lead ECG. In this study, we propose an end-to-end multi-label arrhythmia classification model for the 12-lead ECG with varied-length recordings. Our model, called CNN-DVIT, is based on a combination of convolutional neural networks (CNNs) with depthwise separable convolution, and a vision transformer structure with deformable attention. Specifically, we introduce the spatial pyramid pooling layer to accept varied-length ECG signals. Experimental results show that our model achieved an F1 score of 82.9% in CPSC-2018. Notably, our CNN-DVIT outperforms the latest transformer-based ECG classification algorithms. Furthermore, ablation experiments reveal that the deformable multi-head attention and depthwise separable convolution are both efficient in extracting features from multi-lead ECG signals for diagnosis. The CNN-DVIT achieved good performance for the automatic arrhythmia detection of ECG signals. This indicates that our research can assist doctors in clinical ECG analysis, providing important support for the diagnosis of arrhythmia and contributing to the development of computer-aided diagnosis technology. MDPI 2023-05-30 /pmc/articles/PMC10302689/ /pubmed/37374741 http://dx.doi.org/10.3390/mi14061155 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Dong, Yanfang
Zhang, Miao
Qiu, Lishen
Wang, Lirong
Yu, Yong
An Arrhythmia Classification Model Based on Vision Transformer with Deformable Attention
title An Arrhythmia Classification Model Based on Vision Transformer with Deformable Attention
title_full An Arrhythmia Classification Model Based on Vision Transformer with Deformable Attention
title_fullStr An Arrhythmia Classification Model Based on Vision Transformer with Deformable Attention
title_full_unstemmed An Arrhythmia Classification Model Based on Vision Transformer with Deformable Attention
title_short An Arrhythmia Classification Model Based on Vision Transformer with Deformable Attention
title_sort arrhythmia classification model based on vision transformer with deformable attention
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10302689/
https://www.ncbi.nlm.nih.gov/pubmed/37374741
http://dx.doi.org/10.3390/mi14061155
work_keys_str_mv AT dongyanfang anarrhythmiaclassificationmodelbasedonvisiontransformerwithdeformableattention
AT zhangmiao anarrhythmiaclassificationmodelbasedonvisiontransformerwithdeformableattention
AT qiulishen anarrhythmiaclassificationmodelbasedonvisiontransformerwithdeformableattention
AT wanglirong anarrhythmiaclassificationmodelbasedonvisiontransformerwithdeformableattention
AT yuyong anarrhythmiaclassificationmodelbasedonvisiontransformerwithdeformableattention
AT dongyanfang arrhythmiaclassificationmodelbasedonvisiontransformerwithdeformableattention
AT zhangmiao arrhythmiaclassificationmodelbasedonvisiontransformerwithdeformableattention
AT qiulishen arrhythmiaclassificationmodelbasedonvisiontransformerwithdeformableattention
AT wanglirong arrhythmiaclassificationmodelbasedonvisiontransformerwithdeformableattention
AT yuyong arrhythmiaclassificationmodelbasedonvisiontransformerwithdeformableattention