计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 260300092-198.doi: 10.11896/jsjkx.260300092

• 人工智能 • 上一篇    下一篇

语义增强的多尺度多模态心电表示学习方法研究

叶子豪1, 王宝会1, 戴辰程2   

  1. 1 北京航空航天大学软件学院 北京 100191
    2 首都医科大学附属北京安贞医院 北京 100013
  • 出版日期:2026-11-16 发布日期:2026-11-16
  • 通讯作者: 王宝会(wangbh@buaa.edu.cn)
  • 作者简介:(sy2321119@buaa.edu.cn)

Research on Semantic-enhanced Multi-scale Multimodal ECG Representation Learning

YE Zihao1, WANG Baohui 1, DAI Chencheng2   

  1. 1 College of Software,Beihang University,Beijing 100191,China
    2 Beijing Anzhen Hospital,Capital Medical University,Beijing 100013,China
  • Published:2026-11-16 Online:2026-11-16
  • About author:YE Zihao,born in 2001,postgraduate.His main research interests include artificial intelligence and natural language processing.
    WANG Baohui,born in 1973,professor,master’s supervisor.His main research interests include software architecture,big data,artificial intelligence,etc.

摘要: 心脏疾病是世界人口死亡的主要原因,心电图的自动识别与表示学习正成为构建智能化临床诊断系统的核心支撑。针对现有心电表示学习模型在医学先验特征表示与细粒度语义对齐方面的不足,提出一种语义增强的多尺度多模态心电表示模型(Semantic-enhanced Multi-scale Multimodal ECG Representation Learning,SMMERL)。首先,引入“波段-心拍-节律”的多尺度特征提取机制,结合LISA临床分组标准建模导联空间拓扑,弥补了医学先验建模缺失的不足。其次,设计医学诊断短句与心电波段特征的匹配策略,搭建局部-全局协同的多模态对齐框架,解决全局粗粒度对齐难以捕捉细粒度语义关联的问题。最后,利用语义相似度调节负样本惩罚权重,缓解层级化诊断文本引发的假负样本问题,有效抑制语义坍缩。在CPSC2018,CSN,PTB-XL数据集上的实验结果表明,SMMERL在多项下游任务中相较基线模型AUC指标显著提升。线性探测实验中,在1%,10%,100%训练数据规模下,平均AUC分别达74.31%,83.06%,89.44%,较MERL模型分别提升5.34%,7.15%,1.57%;零样本分类任务中平均AUC达75.89%,较MERL提升1.90%,充分验证模型可获取泛化性强、鲁棒性好的高质量心电表征。

关键词: 心电图, 表示学习, 多模态, 自监督学习, 对比学习

Abstract: Heart disease remains the leading cause of global mortality,and automatic electrocardiogram(ECG) recognition and representation learning have become core support for building intelligent clinical diagnostic systems.To address the shortcomings of existing ECG representation learning models in medical prior feature characterization and fine-grained semantic alignment,this paper proposes a semantic-enhanced multi-scale multimodal ECG representation learning model(SMMERL).Firstly,this paper introduces a “wave-beat-rhythm” multi-scale feature extraction mechanism and models lead spatial topology based on the LISA clinical grouping standard to compensate for the lack of medical prior modeling.Secondly,SMMERL designs a matching strategy between medical diagnostic phrases and wave features,and constructs a local-global collaborative multimodal alignment framework to solve the difficulty of capturing fine-grained semantic correlations via global alignment.Thirdly,the model uses semantic similarity to adjust negative sample penalty weights,alleviates false negative biases caused by hierarchical diagnostic texts,and effectively suppresses semantic collapse.Experiments on CPSC2018,CSN,PTB-XL show that SMMERL achieves significant AUC improvements over baseline models in multiple downstream tasks.In linear probing experiments,with 1%,10% and 100% trai-ning data,the average AUC reaches 74.31%,83.06% and 89.44%,up 5.34%,7.15% and 1.57% respectively compared with MERL.In zero-shot classification,the average AUC hits 75.89%,a 1.90% increase over MERL,fully verifying that SMMERL can obtain high-quality ECG representations with strong generalization and robustness.

Key words: Electrocardiogram, Representation learning, Multimodal, Self-supervised learning, Contrastive learning

中图分类号: 

  • TP301
[1] BERKAYAS K,UYSAL A K,GUNAL E S,et al.A survey on ECG analysis[J].Biomedical Signal Processing and Control,2018,43:216-235.
[2] LI Y F,ZHU F,LING X H,et al.A method of Bi-LSTM network with window framework for electrocardiogram QRS detection[J].Journal of nanjing University,2021,57(1):42-51.
[3] PAN J,TOMPKINS W J.A real-time QRS detection algorithm[J].IEEE Transactions on Biomedical Engineering,2007,32(3):230-236.
[4] MAZOMENOS E B,CHEN T,ACHARYYA A,et al.A time-domain morphology and gradient based algorithm for ECG feature extraction[C]//2012 IEEE International Conference on Industrial Technology.IEEE,2012:117-122.
[5] ZIDELMAL Z,AMIROU A,ADNANE M,et al.QRS detection based on wavelet coefficients[J].Computer Methods and Programs in Biomedicine,107(3),490-496.
[6] QIN H R,WANG Y,WANG W J.Diagnostic value of electro-cardiograph scatter plot and routine electrocardiogram in arrhythmia[J].Journal of Clinical Medicine in Practice,2023,27(3):52-55,59.
[7] ANDERSEN R S,PEIMANKARA,PUTHUSSERYPADY S.A deep learning approach for real-time detection of atrial fibrillation[J].Expert Systems with Applications,2019,115:465-473.
[8] KHURSHID S,FRIEDMAN S,REEDER C,et al.ECG-based deep learning and clinical risk factors to predict atrial fibrillation[J].Circulation,2022,145(2):122-33.
[9] SHASHIKUMAR S P,SHAH A J,LI Q,et al.A deep learning approach to monitoring and detecting atrial fibrillation using wearable technology[C]//2017 IEEE EMBS International Conference on Biomedical & Health Informatics(BHI).IEEE,2017:141-144.
[10] ACHARYA U R,FUJITA H,OH S L,et al.Application of deep convolutional neural network for automated detection of myocardial infarction using ECG signals[J].Information Sciences,2017,415:190-198.
[11] AL-ZAITI S S,MARTIN-GILL C,ZÈGRE-HEMSEY J K,et al.Machine learning for ECG diagnosis and risk stratification of occlusion myocardial infarction[J].Nature Medicine,2023,29(7):1804-1813.
[12] HANNUN A Y,RAJPURKAR P,HAGHPANAHI M,et al.Cardiologist-level arrhythmia detection and classification in ambulatory electrocardiograms using a deep neural network[J].Nature Medicine,2019,25(1):65-69.
[13] CHEN T,KORNBLITH S,NOROUZI M,et al.A Simple Framework for Contrastive Learning of Visual Representations[C]//Proceedings of the 37th International Conference on Machine Learning.PMLR,2020:1597-1607.
[14] CHEN X,XIE S,HE K.An Empirical Study of Training Self-Supervised Vision Transformers[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision(ICCV).IEEE,2021:9640-9649.
[15] NA Y,PARK M,TAE Y,et al.Guiding masked representation learning to capture spatio-temporal relationship of electrocardiogram[J].arXiv:2402.09450v3,2024.
[16] ZHANG W,YANG L,GENG S,et al.Self-supervised time series representation learning via cross reconstruction transformer[J].IEEE Transactions on Neural Networks and Learning Systems,2024,35(11):16129-16138.
[17] WANG N,FENG P,GE Z,et al.Adversarial spatiotemporalcontrastive learning for electrocardiogram signals[J].IEEE Transactions on Neural Networks and Learning Systems,2024,35(10):13845-13859.
[18] KIYASSEH D,ZHU T,CLIFTON D A.CLOCS:Contrastive Learning of Cardiac Signals Across Space,Time,and Patients[C]//Proceedings of the 38th International Conference on Machine Learning.PMLR,2021:5606-5615.
[19] ELDELE E,RAGAB M,CHEN Z,et al.Time-Series Representation Learning via Temporal and Contextual Contrasting[J].arXiv:2106.14112,2021.
[20] RADFORD A,KIM J W,HALLACY C,et al.Learning Transferable Visual Models From Natural Language Supervision[C]//Proceedings of the 38th International Conference on Machine Learning.PMLR,2021:8748-8763.
[21] LIU C,WAN Z,OUYANG C,et al.Zero-shot ecgclassification with multimodal learning and test-time clinical knowledge enhancement[J].arXiv:2403.06659,2024.
[22] WANG F,XU J,YU L.From Token to Rhythm:A Multi-Scale Approach for ECG-Language Pretraining[J].arXiv:2506.21803,2025.
[23] OORD A V D,LI Y,VINYALS O.Representation Learningwith Contrastive Predictive Coding[J].arXiv:1807.03748,2018.
[24] MEHARI T,STRODTHOFF N.Self-supervised representation learning from 12-lead ECG data[J].Computers in Biology and Medicine,2022,141:105114.
[25] LAI J,TAN H,WANG J,et al.Practical intelligent diagnostic algorithm for wearable 12-lead ecg via self-supervised learning on large-scale dataset[J].Nature Communications,2023,14(1):3741.
[26] CHEN H,WANG G,ZHANG G,et al.CLECG:A novel con-trastive learning framework for electrocardiogram arrhythmia classification[J].IEEE Signal Processing Letters,2021,28:1993-1997.
[27] KIYASSEH D,ZHU T,CLIFTON D.CROCS:clustering andretrieval of cardiac signals based on patient disease class,sex,and age[J].Advances in Neural Information Processing Systems,2021,34:15557-15569.
[28] WEI C T,HSIEH M E,LIU C L,et al.Contrastive heartbeats:Contrastive learning for self-supervised ECG representation and phenotyping[C]//ICASSP 2022-2022 IEEE International Conference on Acoustics,Speech and Signal Processing(ICASSP).2022:1126-1130.
[29] DEVLIN J,CHANG M W,LEE K,et al.Bert:Pre-training of deep bidirectional transformers for language understanding[C]//Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics:Human Language Technologies.ACL,2019:4171-4186.
[30] HE K,CHEN X,XIE S,et al.Masked autoencoders are scalable vision learners[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR).IEEE,2022:16000-16009.
[31] RONNEBERGER O,FISCHER P,BROX T.U-Net:Convolu-tional Networks for Biomedical Image Segmentation[C]//International Conference on Medical Image Computing and Compu-ter-Assisted Intervention.Cham:Springer International Publishing,2015:234-241.
[32] GEDON D,RIBEIRO A H,WAHLSTRÖM N,et al.First Steps Towards Self-Supervised Pretraining of the 12-Lead ECG[C]//2021 Computing in Cardiology(CinC).IEEE,2021:1-4.
[33] LEE S A,TANADE C,ZHOU H,et al.HiMAE:Hierarchical Masked Autoencoders Discover Resolution-Specific Structure in Wearable Time Series[J].arXiv:2510.25785,2025.
[34] SONG J,JANG J H,HONG D G,et al.CREMA:A Contrastive Regularized Masked Autoencoder for Robust ECG Diagnostics across Clinical Domains[J].arXiv:2407.07110,2024.
[35] JIN J,WANG H,LI H,et al.Reading Your Heart:Learning ECG Words and Sentences via Pre-training ECG Language Mo-del[J].arXiv:2502.10707,2025.
[36] HAN W,DUAN C,ROSENBERG M A,et al.ECG-Byte:A Tokenizer for End-to-End Generative Electrocardiogram Language Modeling[J].arXiv:2412.14373,2024.
[37] ZHANG Y,JIANG H,MIURA Y,et al.Contrastive learning of medical visual representations from paired images and text[C]//Proceedings of the 7th Machine Learning for Healthcare Confe-rence.PMLR,2022:2-25.
[38] WU C,ZHANG X,ZHANG Y,et al.Medklip:Medical know-ledge enhanced language-image pre-training for x-ray diagnosis[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision.IEEE,2023:21372-21383.
[39] LIU C,OUYANG C,WAN Z,et al.Knowledge-enhanced Multimodal ECG Representation Learning with Arbitrary-Lead Inputs[J].arXiv:2502.17900,2025.
[40] CAI M,JIANG L,HUANG W,et al.SuPreME:A Supervised Pre-training Framework for Multimodal ECG Representation Learning[J].arXiv:2502.19668,2025.
[41] LIU S C,WANG N,WANG Z M.Self-Supervised Learning of ECG and PPG Signals for Multi-Modal Health Monitoring[C]//Proceedings of 2025 2nd International Conference on Machine Learning and Intelligent Computing.PMLR,2025:350-358.
[42] NAGAI S,NISHIMORI M,SHINOHARA M,et al.Multimodal deep learning model for enhanced early detection of aortic stenosis integrating ECG and chest x-ray with cooperative learning[J].Frontiers in Radiology,2025,5:1698680.
[43] KOZŁOWSKI D.Method in the Chaos-a step-by-step approach to ECG interpretation[J].European Journal of Translational and Clinical Medicine,2018,1(1):76-92.
[44] THYGESEN K,ALPERT J S,JAFFE A S,et al.Fourth Universal Definition of Myocardial Infarction[J].Journal of the American college of cardiology,2018,72(18):2231-2264.
[45] MUSER D,TRITTO M,MARIANI M V,et al.Diagnosis and Treatment of Idiopathic Premature Ventricular Contractions:A Stepwise Approach Based on the Site of Origin[J].Diagnostics,2021,11(10):1840.
[46] HINDRICKS G,POTPARA T,DAGRES N,et al.2020 ESCGuidelines for the diagnosis and management of atrial fibrillation developed in collaboration with the European Association for Cardio-Thoracic Surgery(EACTS):The Task Force for the diagnosis and management of atrial fibrillation of the European Society of Cardiology(ESC) Developed with the special contribution of the European Heart Rhythm Association(EHRA) of the ESC[J].European Heart Journal,2021,42(5):373-498.
[47] TAN J,WANG Y,WU G,et al.Temporal perceiver:A general architecture for arbitrary boundary detection[J].IEEE Transactions on Pattern Analysis and Machine Intelligence,2023,45(10):12506-12520.
[48] STROOBANDT R X,BAROLD S S,SINNAEVE A F.ECGfrom basics to essentials:step by step[M].John Wiley & Sons,2016.
[49] JIN Q,KIM W,CHEN Q,et al.Medcpt:Contrastive pre-trained transformers with large-scale pubmed search logs for zero-shot biomedical information retrieval[J].Bioinformatics,2023,39(11):btad651.
[50] BOECKING B,USUYAMA N,BANNUR S,et al.Making the most of text semantics to improve biomedical vision-language processing[C]//European Conference on Computer Vision.Cham:Springer,2022:1-21.
[51] GOW B,POLLARD T,NATHANSON L A,et al.MIMIC-IV-ECG:Diagnostic Electrocardiogram Matched Subset[DB/OL].(2023-09-15)[2026-03-10].https://doi.org/10.13026/4nqg-sb35.
[52] GOLDBERGER A L,AMARAL L A N,GLASS L,et al.Phy-sioBank,PhysioToolkit,and PhysioNet:Components of a new research resource for complex physiologic signals[J].Circulation,2000,101(23):e215-e220.
[53] LIU F F,LIU C Y,ZHAO L N,et al.An open access database for evaluating the algorithms of ECG rhythm and morphology abnormal detection[J].Journal of Medical Imaging and Health Informatics,2018,8(7):1368-1373.
[54] ZHANG J,GUO H,CHU H.A large scale 12-lead electrocardiogram database for arrhythmia study(version 1.0.0) [DB/OL].(2022-08-24)[2026-03-10].https://doi.org/10.13026/wgex-er52.
[55] WAGNER P,STRODTHOFF N,BOUSSELJOT R D,et al.PTB-XL:A Large Publicly Available ECG Dataset(version 1.0.3) [DB/OL].(2022-11-09)[2026-03-10].https://doi.org/10.13026/kfzx-aw45.
[56] GRILL J B,STRUB F,ALTCHÉ F,et al.Bootstrap Your Own Latent-A New Approach to Self-Supervised Learning[J].Advances in Neural Information Processing Systems,2020,33:21271-21284.
[57] CHEN X,HE K.Exploring Simple Siamese Representation Learning[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision(ICCV).IEEE,2021:15750-15758.
[58] ZBONTAR J,JING L,MISRA I,et al.Barlow Twins:Self-Supervised Learning via Redundancy Reduction[C]//Proceedings of the 38th International Conference on Machine Learning.PMLR,2021:12310-12320.
[59] MAATEN L V D,HINTON G.Visualizing data using t-SNE[J].Journal of Machine Learning Research,2008,9(11):2579-1605.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!