MKP-ECG: A Knowledge-Enhanced Dual-Stream Network for Robust Arrhythmia Classification with Medical Prior-Guided Multi-Loss Optimization.

IF 5.2 2区 生物学 Q1 MATHEMATICAL & COMPUTATIONAL BIOLOGY
Tianjun Zhang, Lisong Diao, Qian Li, Hongxia Zhang, Qi Zhou
{"title":"MKP-ECG: A Knowledge-Enhanced Dual-Stream Network for Robust Arrhythmia Classification with Medical Prior-Guided Multi-Loss Optimization.","authors":"Tianjun Zhang, Lisong Diao, Qian Li, Hongxia Zhang, Qi Zhou","doi":"10.1007/s12539-026-00892-x","DOIUrl":null,"url":null,"abstract":"<p><p>Accurate classification of cardiac arrhythmias from electrocardiogram (ECG) signals is essential for clinical decision-making, yet deep learning models often struggle with minority classes such as Fusion beats (F-type) owing to severe class imbalance and insufficient integration of domain knowledge. In this work, we propose Medical Knowledge Prior Network (MKP-ECG), a knowledge-enhanced dual-stream network for four-class arrhythmia classification (N, S, V, F) following the AAMI standard. The first stream employs a multi-scale CNN with residual connections and squeeze-and-excitation attention to learn data-driven representations from raw waveforms. The second stream, termed the Medical Prior Module, extracts a 34-dimensional clinical feature vector encoding morphology, rhythm, template matching, and rule-based indicators that mirror the reasoning process of cardiologists. The two streams are fused through explicit feature concatenation and a knowledge attention gate that dynamically modulates neural representations based on clinical evidence, and are jointly optimized by a composite loss function comprising two novel medical knowledge prior losses: a knowledge graph KL-divergence loss that aligns predictions with expert-defined electrophysiological priors and a clinical constraint loss that penalizes predictions contradicting established diagnostic criteria. Evaluated on the MIT-BIH Arrhythmia Database under the inter-patient DS1/DS2 paradigm with methodologically corrected data augmentation (waveform-only SMOTE with nearest-neighbor clinical feature copying and purity-weighted contrastive loss), MKP-ECG achieves 99.14% accuracy, 92.77% Macro-F1, and 76.98% F-class F1-score with perfect F-recall, representing a 51.7% relative improvement over the knowledge-free baseline. Independent evaluation on the INCART database, where the model is trained and tested entirely within INCART using the same architecture and hyperparameters without any dataset-specific tuning, provides encouraging evidence of architectural generalizability under a record-split protocol, achieving 99.71% accuracy and 87.43% F-class F1-score.</p>","PeriodicalId":13670,"journal":{"name":"Interdisciplinary Sciences: Computational Life Sciences","volume":" ","pages":""},"PeriodicalIF":5.2000,"publicationDate":"2026-11-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Interdisciplinary Sciences: Computational Life Sciences","FirstCategoryId":"99","ListUrlMain":"https://doi.org/10.1007/s12539-026-00892-x","RegionNum":2,"RegionCategory":"生物学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MATHEMATICAL & COMPUTATIONAL BIOLOGY","Score":null,"Total":0}
引用次数: 0

Abstract

Accurate classification of cardiac arrhythmias from electrocardiogram (ECG) signals is essential for clinical decision-making, yet deep learning models often struggle with minority classes such as Fusion beats (F-type) owing to severe class imbalance and insufficient integration of domain knowledge. In this work, we propose Medical Knowledge Prior Network (MKP-ECG), a knowledge-enhanced dual-stream network for four-class arrhythmia classification (N, S, V, F) following the AAMI standard. The first stream employs a multi-scale CNN with residual connections and squeeze-and-excitation attention to learn data-driven representations from raw waveforms. The second stream, termed the Medical Prior Module, extracts a 34-dimensional clinical feature vector encoding morphology, rhythm, template matching, and rule-based indicators that mirror the reasoning process of cardiologists. The two streams are fused through explicit feature concatenation and a knowledge attention gate that dynamically modulates neural representations based on clinical evidence, and are jointly optimized by a composite loss function comprising two novel medical knowledge prior losses: a knowledge graph KL-divergence loss that aligns predictions with expert-defined electrophysiological priors and a clinical constraint loss that penalizes predictions contradicting established diagnostic criteria. Evaluated on the MIT-BIH Arrhythmia Database under the inter-patient DS1/DS2 paradigm with methodologically corrected data augmentation (waveform-only SMOTE with nearest-neighbor clinical feature copying and purity-weighted contrastive loss), MKP-ECG achieves 99.14% accuracy, 92.77% Macro-F1, and 76.98% F-class F1-score with perfect F-recall, representing a 51.7% relative improvement over the knowledge-free baseline. Independent evaluation on the INCART database, where the model is trained and tested entirely within INCART using the same architecture and hyperparameters without any dataset-specific tuning, provides encouraging evidence of architectural generalizability under a record-split protocol, achieving 99.71% accuracy and 87.43% F-class F1-score.

MKP-ECG:一种知识增强的双流网络,用于医学先验引导的多损失优化的鲁棒心律失常分类。
从心电图(ECG)信号中准确分类心律失常对临床决策至关重要,但由于严重的类不平衡和领域知识整合不足,深度学习模型经常在融合心跳(f型)等少数类中挣扎。在这项工作中,我们提出了医学知识先验网络(MKP-ECG),这是一种基于AAMI标准的四类心律失常分类(N, S, V, F)的知识增强双流网络。第一个流采用带有残差连接和挤压激励注意的多尺度CNN,从原始波形中学习数据驱动的表示。第二个流,称为医学先验模块,提取一个34维临床特征向量,编码形态学、节奏、模板匹配和基于规则的指标,反映心脏病专家的推理过程。这两种流通过明确的特征拼接和基于临床证据动态调节神经表征的知识注意门融合在一起,并通过包含两种新型医学知识先验损失的复合损失函数共同优化:知识图KL-divergence损失(将预测与专家定义的电生理先验相一致)和临床约束损失(惩罚与既定诊断标准相矛盾的预测)。在麻省理工学院- bih心律失常数据库中,在患者间DS1/DS2模式下,通过方方学校正的数据增强(仅波形SMOTE,最近邻临床特征复制和纯度加权对比损失)进行评估,MKP-ECG达到99.14%的准确率,92.77%的宏观f1和76.98%的f级f1评分,具有完美的f召回率,比无知识基线相对提高51.7%。在INCART数据库上进行独立评估,其中模型完全在INCART中使用相同的架构和超参数进行训练和测试,没有任何数据集特定的调优,在记录分割协议下提供了令人鼓舞的架构通用性证据,达到99.71%的准确率和87.43%的f级f1得分。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Interdisciplinary Sciences: Computational Life Sciences
Interdisciplinary Sciences: Computational Life Sciences MATHEMATICAL & COMPUTATIONAL BIOLOGY-
CiteScore
8.60
自引率
4.20%
发文量
55
期刊介绍: Interdisciplinary Sciences--Computational Life Sciences aims to cover the most recent and outstanding developments in interdisciplinary areas of sciences, especially focusing on computational life sciences, an area that is enjoying rapid development at the forefront of scientific research and technology. The journal publishes original papers of significant general interest covering recent research and developments. Articles will be published rapidly by taking full advantage of internet technology for online submission and peer-reviewing of manuscripts, and then by publishing OnlineFirstTM through SpringerLink even before the issue is built or sent to the printer. The editorial board consists of many leading scientists with international reputation, among others, Luc Montagnier (UNESCO, France), Dennis Salahub (University of Calgary, Canada), Weitao Yang (Duke University, USA). Prof. Dongqing Wei at the Shanghai Jiatong University is appointed as the editor-in-chief; he made important contributions in bioinformatics and computational physics and is best known for his ground-breaking works on the theory of ferroelectric liquids. With the help from a team of associate editors and the editorial board, an international journal with sound reputation shall be created.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书