Wang Jikuo, Qiao Xu, Liu Changchun, Wang Xinpei, Liu YuanYuan, Yao Lianke, Zhang Huan
Department of Biomedical Engineering, School of Control Science and Engineering, Shandong University, Jinan 250061, China.
Department of Biomedical Engineering, School of Control Science and Engineering, Shandong University, Jinan 250061, China.
Comput Methods Programs Biomed. 2021 May;203:106006. doi: 10.1016/j.cmpb.2021.106006. Epub 2021 Feb 27.
Recent advances in deep learning have been applied to ECG detection and obtained great success. The spatial and temporal information from ECG signals is fused by combining convolutional neural networks (CNN) with recurrent neural network (RNN). However, these networks ignore the different contribution of local and global segments of a feature map extracted from the ECG and the correlation relationship between the above two segments. To address this issue, a novel convolutional neural network with non-local convolutional block attention module(NCBAM) is proposed to automatically classify ECG heartbeats.
Our proposed method consists of a 33-layer CNN architecture followed by a NCBAM module. Initially, preprocessed electrocardiogram (ECG) signals are fed into the CNN architecture to extract the spatial and channel features. Further, long-range dependencies of representative features along spatial and channel axis are captured by non-local attention. Finally, the spatial, channel and temporal information of ECG are fused by a learned matrix. The learned matrix is to mine rich relationship information across the above three types of information to make up for the different contribution.
The proposed method achieves an average F1 score of 0.9664 on MIT-BIH arrhythmia database, as well as AUC of 0.9314 and F of 0.8507 on PTB-XL ECG database. Compared with the state-of-the-art attention mechanism based on the same public database, NCBAM achieves an obvious improvement in classifying ECG heartbeats. The results demonstrate the proposed method is reliable and efficient for ECG beat classification.
深度学习的最新进展已应用于心电图检测并取得了巨大成功。通过将卷积神经网络(CNN)与循环神经网络(RNN)相结合,融合了心电图信号的空间和时间信息。然而,这些网络忽略了从心电图中提取的特征图的局部和全局部分的不同贡献以及上述两部分之间的相关关系。为了解决这个问题,提出了一种带有非局部卷积块注意力模块(NCBAM)的新型卷积神经网络,用于自动分类心电图心跳。
我们提出的方法由一个33层的CNN架构和一个NCBAM模块组成。首先,将预处理后的心电图(ECG)信号输入到CNN架构中以提取空间和通道特征。进一步地,通过非局部注意力捕捉沿空间和通道轴的代表性特征的长程依赖性。最后,通过一个学习矩阵融合心电图的空间、通道和时间信息。该学习矩阵用于挖掘上述三种信息之间丰富的关系信息,以弥补不同的贡献。
所提出的方法在MIT - BIH心律失常数据库上实现了平均F1分数为0.9664,在PTB - XL心电图数据库上实现了AUC为0.9314和F为0.8507。与基于相同公共数据库的最先进注意力机制相比,NCBAM在分类心电图心跳方面取得了明显的改进。结果表明所提出的方法对于心电图心跳分类是可靠且高效的。