Zhang Xuan, Wu Hui, Chen Ting, Wang Guangyu
Department of Computer Science and Technology, Tsinghua University, Beijing 100084, China.
Department of Cardiology, Yichang central people's hospital, China three Gorges University, Yichang 443003, China.
Artif Intell Med. 2022 Oct;132:102379. doi: 10.1016/j.artmed.2022.102379. Epub 2022 Aug 22.
The electrocardiogram (ECG) is a commonly used technique for detecting arrhythmias and many other cardiac diseases. Automatic ECG diagnosis has seen tremendous success in recent years, owing to the rapid development of the deep learning (DL) approach. Existing works on automatic ECG diagnosis can be divided roughly into two categories: prediction at the rhythm level from an ECG record, and prediction at the heartbeat level, although their relationship was seldom studied previously. In this paper, we address the following question: can we train an abnormal heartbeat detection model using solely data annotated at the rhythm level? We first used multiple instance learning (MIL) to model the relationship between an ECG record (whose label is given at the rhythm level and is provided as an input) and the heartbeats in the ECG (whose labels are to be predicted). Then, we sequentially trained two models, a rhythm model for detecting abnormal heartbeats in an ECG record labeled as arrhythmia, and a heartbeat model for classifying heartbeats as normal or various types of arrhythmias. We trained and tested our models using 61,853 ECG records with rhythm annotations. The experimental results demonstrate that the heartbeat model achieves a macro-average F1 score of 0.807 in classifying four types of arrhythmias as well as normal heartbeats. Our model significantly outperforms the model directly trained with 15,385 ECG heartbeats with heartbeat annotations, demonstrating the viability of our strategy for training a high-performing heartbeat-level automatic diagnostic model using only rhythm annotation.
心电图(ECG)是一种用于检测心律失常和许多其他心脏疾病的常用技术。近年来,由于深度学习(DL)方法的快速发展,自动心电图诊断取得了巨大成功。现有的自动心电图诊断工作大致可分为两类:根据心电图记录进行心律水平的预测,以及心跳水平的预测,尽管它们之间的关系以前很少被研究。在本文中,我们解决以下问题:我们能否仅使用心律水平标注的数据来训练异常心跳检测模型?我们首先使用多实例学习(MIL)来建模心电图记录(其标签在心律水平给出并作为输入提供)与心电图中的心跳(其标签有待预测)之间的关系。然后,我们依次训练两个模型,一个用于检测标记为心律失常的心电图记录中的异常心跳的心律模型,以及一个用于将心跳分类为正常或各种类型心律失常的心跳模型。我们使用61,853条带有心律注释的心电图记录对我们的模型进行训练和测试。实验结果表明,心跳模型在将四种类型的心律失常以及正常心跳进行分类时,宏观平均F1分数达到0.807。我们的模型明显优于直接使用15,385条带有心跳注释的心电图心跳进行训练的模型,证明了我们仅使用心律注释训练高性能心跳水平自动诊断模型的策略的可行性。