arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2309.07136eess.SPcs.AIcs.LGstat.AP
收藏

用于心电图分类的掩码 Transformer

Masked Transformer for Electrocardiogram Classification

Fuwai Hospital, National Center for Cardiovascular Diseases, Chinese Academy of Medical Sciences and Peking Union Medical College(中国医学科学院北京协和医学院国家心血管病中心阜外医院)

Ya Zhou, Xiaolin Diao, Yanni Huo, Yang Liu, Xiaohan Fan, Wei Zhao

AI总结:

本文提出 MTECG 方法,将掩码自编码器应用于 ECG 时间序列的自监督表示学习,并在多个数据集上显著提升了分类的宏 F1 分数。

摘要:

心电图(ECG)是临床应用中最重要的诊断工具之一。随着先进算法的出现,各种深度学习模型已被用于ECG任务。然而,尽管 Transformer 在计算机视觉和自然语言处理中取得了广泛成功,其在 ECG 数据上的潜力尚未被完全实现。在本研究中,我们提出了用于 ECG 分类的方法 MTECG,这是一种简单而有效的方法,在 ECG 分类中显著优于近期最先进的算法。我们的方法将基于图像的掩码自编码器应用于 ECG 时间序列的自监督表示学习。我们利用轻量级 Transformer 作为编码器,并使用 1 层 Transformer 作为解码器。ECG 信号沿时间维度被分割成一系列不重叠的片段,并添加可学习的位置嵌入以保留序列信息。我们构建了包含 220,251 份 ECG 记录的 Fuwai 数据集,这些记录涵盖广泛的诊断并由医学专家标注,以探索 Transformer 的潜力。基于实证研究,提出了一种强大的预训练和微调方案。实验表明,与替代方法相比,所提方法在 Fuwai 数据集上的宏 F1 分数提高了 3.4%-27.5%,在 PTB-XL 数据集上提高了 9.9%-32.0%,在多中心数据集上提高了 9.4%-39.1%。我们希望本研究能引导未来将 Transformer 应用于更多 ECG 任务的研究。

英文摘要:

Electrocardiogram (ECG) is one of the most important diagnostic tools in clinical applications. With the advent of advanced algorithms, various deep learning models have been adopted for ECG tasks. However, the potential of Transformer for ECG data has not been fully realized, despite their widespread success in computer vision and natural language processing. In this work, we present Masked Transformer for ECG classification (MTECG), a simple yet effective method which significantly outperforms recent state-of-the-art algorithms in ECG classification. Our approach adapts the image-based masked autoencoders to self-supervised representation learning from ECG time series. We utilize a lightweight Transformer for the encoder and a 1-layer Transformer for the decoder. The ECG signal is split into a sequence of non-overlapping segments along the time dimension, and learnable positional embeddings are added to preserve the sequential information. We construct the Fuwai dataset comprising 220,251 ECG recordings with a broad range of diagnoses, annotated by medical experts, to explore the potential of Transformer. A strong pre-training and fine-tuning recipe is proposed from the empirical study. The experiments demonstrate that the proposed method increases the macro F1 scores by 3.4%-27.5% on the Fuwai dataset, 9.9%-32.0% on the PTB-XL dataset, and 9.4%-39.1% on a multicenter dataset, compared to the alternative methods. We hope that this study could direct future research on the application of Transformer to more ECG tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑