基于未来引导学习的心电图心律失常分类研究
Research on ECG Arrhythmia Classification Based on Future-Guided Learning
摘要: 可穿戴设备在心电图实时监测中对计算资源和推理延迟要求极高,通常只能截取极短的局部信号片段进行分析。然而,短窗口轻量级模型因缺失心跳前后的全局上下文信息,在心律失常分类中面临性能瓶颈。为解决极低延迟要求与局部信息缺失之间的矛盾,本文提出了一种基于未来引导学习的心律失常分类方法。该方法构建了非对称的教师–学生网络架构,在训练阶段,教师模型利用包含心跳前后非对称扩展的宽视窗捕捉代偿间歇等长程演变机制;随后通过跨时域知识蒸馏,将结构化的暗知识传递给仅输入窄视窗的学生模型。此外,针对数据集类别极度不平衡问题,设计了基于有效样本数的类别平衡交叉熵损失函数以稳定训练过程。在MIT-BIH心律失常数据库上的实验结果表明,该框架在不增加学生模型推理阶段计算成本的前提下,将宏平均F1分数由基准模型的94.12%显著提升至95.60%。尤其是对于形态复杂且极易混淆的室上性异常心拍和融合波,其F1分数分别实现了3.57%和2.15%的绝对提升。
Abstract: Wearable devices for real-time electrocardiogram (ECG) monitoring impose stringent requirements on computational resources and inference latency, typically necessitating the analysis of extremely short, localized signal segments. However, lightweight models operating on such short windows suffer from a performance bottleneck in arrhythmia classification due to the lack of global contextual information before and after the heartbeat. To resolve the conflict between the extremely low latency requirement and the absence of local information, this paper proposes an arrhythmia classification method based on future-guided learning. This method constructs an asymmetric teacher-student network architecture. During the training phase, the teacher model utilizes a wide window that asymmetrically extends before and after the heartbeat to capture long-term evolution mechanisms such as compensatory intervals. Subsequently, through cross-temporal knowledge distillation, it transfers structured dark knowledge to the student model, which only receives a narrow window as input. Furthermore, to address the severe class imbalance in the dataset, a class-balanced cross-entropy loss function based on the effective number of samples is designed to stabilize the training process. Experimental results on the MIT-BIH Arrhythmia Database demonstrate that this framework significantly increases the macro-averaged F1-score from 94.12% (baseline model) to 95.60% without adding computational cost during the student model’s inference phase. Notably, for morphologically complex and easily confusable supraventricular ectopic beats and fusion beats, absolute improvements of 3.57% and 2.15% in F1-score were achieved, respectively.
文章引用:李玉昇. 基于未来引导学习的心电图心律失常分类研究[J]. 应用数学进展, 2026, 15(4): 319-332. https://doi.org/10.12677/aam.2026.154160

参考文献

[1] Roth, G.A., Mensah, G.A., Johnson, C.O., et al. (2020) Global Burden of Cardiovascular Diseases and Risk Factors, 1990-2019: Update from the GBD 2019 Study. Journal of the American College of Cardiology, 76, 2982-3021.
[2] Hannun, A.Y., Rajpurkar, P., Haghpanahi, M., Tison, G.H., Bourn, C., Turakhia, M.P., et al. (2019) Cardiologist-Level Arrhythmia Detection and Classification in Ambulatory Electrocardiograms Using a Deep Neural Network. Nature Medicine, 25, 65-69. [Google Scholar] [CrossRef] [PubMed]
[3] Perez, M.V., Mahaffey, K.W., Hedlin, H., Rumsfeld, J.S., Garcia, A., Ferris, T., et al. (2019) Large-Scale Assessment of a Smartwatch to Identify Atrial Fibrillation. New England Journal of Medicine, 381, 1909-1917. [Google Scholar] [CrossRef] [PubMed]
[4] Strodthoff, N., Wagner, P., Schaeffter, T. and Samek, W. (2021) Deep Learning for ECG Analysis: Benchmarks and Insights from PTB-XL. IEEE Journal of Biomedical and Health Informatics, 25, 1519-1528. [Google Scholar] [CrossRef] [PubMed]
[5] Ismail Fawaz, H., Forestier, G., Weber, J., Idoumghar, L. and Muller, P. (2019) Deep Learning for Time Series Classification: A Review. Data Mining and Knowledge Discovery, 33, 917-963. [Google Scholar] [CrossRef
[6] Ribeiro, A.H., Ribeiro, M.H., Paixão, G.M.M., Oliveira, D.M., Gomes, P.R., Canazart, J.A., et al. (2020) Automatic Diagnosis of the 12-Lead ECG Using a Deep Neural Network. Nature Communications, 11, Article No. 1760. [Google Scholar] [CrossRef] [PubMed]
[7] Natarajan, A., Chang, Y., Mariani, S., Rahman, A., Boverman, G., Vij, S., et al. (2020). A Wide and Deep Transformer Neural Network for 12-Lead ECG Classification. Computing in Cardiology Conference (CinC), Vol. 47, 1-4.[CrossRef
[8] Lin, T., Wang, Y., Liu, X. and Qiu, X. (2022) A Survey of Transformers. AI Open, 3, 111-132. [Google Scholar] [CrossRef
[9] 甘屹, 施俊丞, 高丽, 何伟铭. 基于深度学习并行网络模型的心律失常分类方法[J]. 南方医科大学学报, 2021, 41(9): 1296-1303.
[10] 纪荣嵘, 林绍辉, 晁飞, 吴永坚, 黄飞跃. 深度神经网络压缩与加速综述[J]. 计算机研究与发展, 2018, 55(9): 1871-1888.
[11] 邵仁荣, 刘宇昂, 张伟, 王骏. 深度学习中知识蒸馏研究综述[J]. 计算机学报, 2022, 45(8): 1638-1673.
[12] Gou, J., Yu, B., Maybank, S.J. and Tao, D. (2021) Knowledge Distillation: A Survey. International Journal of Computer Vision, 129, 1789-1819. [Google Scholar] [CrossRef
[13] Vapnik, V. and Vashist, A. (2009) A New Learning Paradigm: Learning Using Privileged Information. Neural Networks, 22, 544-557. [Google Scholar] [CrossRef] [PubMed]
[14] Sellami, A. and Hwang, H. (2019) A Robust Deep Convolutional Neural Network with Batch-Weighted Loss for Heartbeat Classification. Expert Systems with Applications, 122, 75-84. [Google Scholar] [CrossRef
[15] deChazal, P., O’Dwyer, M. and Reilly, R.B. (2004) Automatic Classification of Heartbeats Using ECG Morphology and Heartbeat Interval Features. IEEE Transactions on Biomedical Engineering, 51, 1196-1206. [Google Scholar] [CrossRef] [PubMed]
[16] Kiranyaz, S., Ince, T. and Gabbouj, M. (2016) Real-Time Patient-Specific ECG Classification by 1-D Convolutional Neural Networks. IEEE Transactions on Biomedical Engineering, 63, 664-675. [Google Scholar] [CrossRef] [PubMed]