Liu Yang, Li Qince, He Runnan, Wang Kuanquan, Liu Jun, Yuan Yongfeng, Xia Yong, Zhang Henggui
School of Computer Science and Technology, Harbin Institute of Technology (HIT), Harbin, China.
Peng Cheng Laboratory, Shenzhen, China.
Front Physiol. 2022 Mar 22;13:850951. doi: 10.3389/fphys.2022.850951. eCollection 2022.
Beat-by-beat arrhythmia detection in ambulatory electrocardiogram (ECG) monitoring is critical for the evaluation and prognosis of cardiac arrhythmias, however, it is a highly professional demanding and time-consuming task. Current methods for automatic beat-by-beat arrhythmia detection suffer from poor generalization ability due to the lack of large-sample and finely-annotated (labels are given to each beat) ECG data for model training. In this work, we propose a weakly supervised deep learning framework for arrhythmia detection (WSDL-AD), which permits training a fine-grained (beat-by-beat) arrhythmia detector with the use of large amounts of coarsely annotated ECG data (labels are given to each recording) to improve the generalization ability. In this framework, heartbeat classification and recording classification are integrated into a deep neural network for end-to-end training with only recording labels. Several techniques, including knowledge-based features, masked aggregation, and supervised pre-training, are proposed to improve the accuracy and stability of the heartbeat classification under weak supervision. The developed WSDL-AD model is trained for the detection of ventricular ectopic beats (VEB) and supraventricular ectopic beats (SVEB) on five large-sample and coarsely-annotated datasets and the model performance is evaluated on three independent benchmarks according to the recommendations from the Association for the Advancement of Medical Instrumentation (AAMI). The experimental results show that our method improves the score of supraventricular ectopic beats detection by 8%-290% and the F1 of ventricular ectopic beats detection by 4%-11% on the benchmarks compared with the state-of-the-art methods of supervised learning. It demonstrates that the WSDL-AD framework can leverage the abundant coarsely-labeled data to achieve a better generalization ability than previous methods while retaining fine detection granularity. Therefore, this framework has a great potential to be used in clinical and telehealth applications. The source code is available at https://github.com/sdnjly/WSDL-AD.
动态心电图(ECG)监测中的逐搏心律失常检测对于心律失常的评估和预后至关重要,然而,这是一项专业性要求极高且耗时的任务。由于缺乏用于模型训练的大样本且精细标注(为每个心搏标注标签)的ECG数据,当前的自动逐搏心律失常检测方法存在泛化能力差的问题。在这项工作中,我们提出了一种用于心律失常检测的弱监督深度学习框架(WSDL-AD),该框架允许使用大量粗略标注的ECG数据(为每个记录标注标签)来训练细粒度(逐搏)心律失常检测器,以提高泛化能力。在此框架中,心搏分类和记录分类被集成到一个深度神经网络中,仅使用记录标签进行端到端训练。提出了几种技术,包括基于知识的特征、掩码聚合和监督预训练,以提高弱监督下心搏分类的准确性和稳定性。所开发的WSDL-AD模型在五个大样本且粗略标注的数据集上进行训练,以检测室性早搏(VEB)和室上性早搏(SVEB),并根据医疗仪器促进协会(AAMI)的建议在三个独立基准上评估模型性能。实验结果表明,与最先进的监督学习方法相比,我们的方法在基准上使室上性早搏检测的 得分提高了8%-290%,室性早搏检测的F1提高了4%-11%。这表明WSDL-AD框架可以利用大量粗略标注的数据,在保持精细检测粒度的同时,实现比以前方法更好的泛化能力。因此,该框架在临床和远程医疗应用中具有很大的应用潜力。源代码可在https://github.com/sdnjly/WSDL-AD获取。