[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-82889-en":3,"doc-seo-82889-105":29,"detail-sidebar-cat-0-en-105":90},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":13,"seo_description":14,"update_tm":27,"read_time":28},82889,8796095462418,"Noah","https://ap-avatar.wpscdn.com/avatar/80000253c1241d02b47?x-image-process=image/resize,m_fixed,w_180,h_180&k=1778826106357471780",7,"Healthcare","ImputeECG：基于深度学习从不完整记录重建完整12导联心电图","Complete digital 12-lead electrocardiograms (ECGs) are crucial for AI-enabled cardiovascular assessment, yet many clinical ECGs—especially those digitized from ECG images—are incomplete due to short display formats, missing leads, degraded traces, or corrupted signals. ImputeECG is a mask-conditioned one-dimensional Transformer autoencoder that reconstructs complete 12-lead, 10-second ECGs while preserving all observed samples. Training and evaluation on PTB-XL and CPSC2018 are supported by real-world validation on a 43,633-record Kailuan cohort, improving reconstruction errors and downstream diagnostic and demographic prediction performance.","arXiv :2607 .05009v 1 [ cs .LG] 6 Jul 2026  \nImputeECG: Deep Learning Reconstruction of Complete 12-Lead Electrocardiograms from 1 Incomplete Recordings for Cardiac Assessment  \n2  \nXiaocheng Fang 1,2,5 , Haoyu Wang 1,4,5 , Jieyi Cai4 , Qinghao Zhao8 , Jun Li 1,5 , Shanwei Zhang 1,3 , 3 Guangkun Nie 1,2,5 , Yujie Xiao 1,5 , Shun Huang 1,5 , Jiarui Jin 1,2,5 , Hongmin Liu9 , Guodong Wang9 , 4 Shuohua Chen9 , Liming Lin9 , Shouling Wu9 , Hongyan Li2,* , and Shenda Hong 1,5,6,7* 5  \n1 National Institute of Health Data Science, Peking University, Beijing, China 6  \n2 School of Intelligence Science and Technology, Peking University, Beijing, China 7  \n3 Department of Computer Science, Tianjin University of Technology, Tianjin, China 8  \n4 University of the Chinese Academy of Sciences, Beijing, China  \n9  \n5 Institute of Medical Technology, Peking University Health Science Center, Beijing, China 10 6 State Key Laboratory of Vascular Homeostasis and Remodeling, NHC Key Laboratory of  \n11  \nCardiovascular Molecular Biology and Regulatory Peptides, Peking University, Beijing, China 12  \n7 Institute for Artificial Intelligence, Peking University, Beijing, China 13  \n8 Department of Cardiology, Peking University People’s Hospital, Beijing, China 14  \n9 Department of Cardiology, Kailuan General Hospital, Tangshan, China 15  \n*Correspondence: [hongshenda@pku.edu.cn](hongshenda@pku.edu.cn) 16  \nAbstract  \n17  \nComplete digital 12-lead electrocardiograms (ECGs) are essential for AI-enabled cardiovascular 18 assessment, yet many clinical ECG records, particularly those digitized from ECG images, remain 19 incomplete because of short display formats, incomplete waveform digitization, lead loss, or 20 signal corruption. We developed ImputeECG, a mask-conditioned one-dimensional Transformer 21 autoencoder that completes 12-lead, 10-s ECGs while retaining all observed samples. The model 22 was trained on PTB-XL and evaluated on PTB-XL and CPSC2018 under simulated incomplete  \n23  \nsettings, with additional real-world validation in a 43,633-record Kailuan clinical cohort after ECG 24 image digitization. Metrics were computed over originally missing regions, with analyses of  \n25  \nmorphology and downstream diagnostic utility. On PTB-XL, ImputeECG reduced missing-region 26 MAE by 41 .7–51.0% and MSE by 54.0–63.7% versus the strongest baseline, with lower errors in 27 R-peak timing, RR interval, QRS duration, QT interval, and P-wave, QRS-complex, and T-wave 28 reconstruction. On CPSC2018, ImputeECG reduced MAE by 49.7–51.9%, supporting external 29 generalization. In downstream multi-label classification, ImputeECG restored performance to 30 92.28% AUROC and 33.88% AUPRC in the most incomplete PTB-XL setting, approaching 31 complete-ECG performance. On CPSC2018, completed ECGs achieved 94.75–95.89% AUROC 32 and 78.83–81.86% AUPRC across settings. In Kailuan, ECG completion improved zero-shot sex 33 prediction AUROC from 82.6% to 85.8% and reduced age prediction MAE from 10.72 to 9.87 34 years after image-based ECG digitization. These findings support ECG completion as a practical 35 strategy for converting incomplete ECG records into AI-ready 12-lead, 10-s digital signals and 36 extending the usable scope of ECG archives for digital cardiac assessment. 37  \nKeywords  \n38  \n12-lead Electrocardiography, Incomplete ECG Records, ECG Signal Completion, Mask-conditioned 39 Transformer, AI-enabled Cardiac Assessment 40  \nIntroduction 41  \nThe standard 12-lead electrocardiogram (ECG) remains one of the most widely used diagnostic 42 tests in cardiovascular medicine. A complete 10-second digital ECG provides synchronized  \n43  \ntemporal and spatial information across limb and precordial leads, supporting rhythm interpretation,  \n44  \nconduction assessment, ischemia detection, chamber abnormality evaluation, and longitudinal 45 disease monitoring 1–4. With the rapid development of artificial intelligence (AI) for ECG analysis, 46 complete digital waveforms hav","cbCaijdHJ5GF4Nm5","https://ap.wps.com/l/cbCaijdHJ5GF4Nm5","pdf",14812047,1,23,"English","en",105,"# Abstract\n# Keywords\n# Introduction","[{\"question\":\"Why do many clinical 12-lead ECG records become incomplete?\",\"answer\":\"Incomplete ECGs arise from short display formats, missing leads or waveform regions, and signal corruption or degradation during image-based digitization workflows.\"},{\"question\":\"What is ImputeECG and what data does it reconstruct?\",\"answer\":\"ImputeECG is a mask-conditioned one-dimensional Transformer autoencoder that completes complete 12-lead, 10-second ECGs while retaining all observed samples.\"},{\"question\":\"How does ECG completion benefit downstream AI tasks in the study?\",\"answer\":\"Completed ECGs restore or improve downstream multi-label diagnostic performance and enable tasks such as demographic prediction (e.g., sex and age) using reconstructed signals.\"}]",1784183717,58,{"code":4,"msg":30,"data":31},"ok",{"site_id":24,"language":23,"slug":32,"title":13,"keywords":33,"description":14,"schema_data":34,"social_meta":85,"head_meta":87,"extra_data":89,"updated_unix":27},"imputeecg-deep-learning-reconstruction-of-complete-12-lead-electrocardiograms-from-incomplete-records","",{"@graph":35,"@context":84},[36,53,67],{"@type":37,"itemListElement":38},"BreadcrumbList",[39,43,47,50],{"item":40,"name":41,"@type":42,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":44,"name":45,"@type":42,"position":46},"https://docshare.wps.com/document/","Document",2,{"item":48,"name":12,"@type":42,"position":49},"https://docshare.wps.com/document/healthcare/",3,{"item":51,"name":13,"@type":42,"position":52},"https://docshare.wps.com/document/imputeecg-deep-learning-reconstruction-of-complete-12-lead-electrocardiograms-from-incomplete-records/82889/",4,{"url":51,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":23,"description":14,"dateModified":61,"datePublished":61,"encodingFormat":60,"isAccessibleForFree":62,"interactionStatistic":63},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":40,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-07-16",true,{"@type":64,"interactionType":65,"userInteractionCount":4},"InteractionCounter",{"@type":66},"ViewAction",{"@type":68,"mainEntity":69},"FAQPage",[70,76,80],{"name":71,"@type":72,"acceptedAnswer":73},"Why do many clinical 12-lead ECG records become incomplete?","Question",{"text":74,"@type":75},"Incomplete ECGs arise from short display formats, missing leads or waveform regions, and signal corruption or degradation during image-based digitization workflows.","Answer",{"name":77,"@type":72,"acceptedAnswer":78},"What is ImputeECG and what data does it reconstruct?",{"text":79,"@type":75},"ImputeECG is a mask-conditioned one-dimensional Transformer autoencoder that completes complete 12-lead, 10-second ECGs while retaining all observed samples.",{"name":81,"@type":72,"acceptedAnswer":82},"How does ECG completion benefit downstream AI tasks in the study?",{"text":83,"@type":75},"Completed ECGs restore or improve downstream multi-label diagnostic performance and enable tasks such as demographic prediction (e.g., sex and age) using reconstructed signals.","https://schema.org",{"og:url":51,"og:type":86,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":88,"canonical":51},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":91},[92,96,100,104,109,114,117,122,127,130,134],{"id":20,"doc_module":4,"doc_module_name":45,"category_name":93,"show_sort_weight":94,"slug":95},"Story & Novel",90,"story-novel",{"id":46,"doc_module":4,"doc_module_name":45,"category_name":97,"show_sort_weight":98,"slug":99},"Literature",80,"literature",{"id":52,"doc_module":4,"doc_module_name":45,"category_name":101,"show_sort_weight":102,"slug":103},"Exam",70,"exam",{"id":105,"doc_module":4,"doc_module_name":45,"category_name":106,"show_sort_weight":107,"slug":108},5,"Comic",60,"comic",{"id":110,"doc_module":4,"doc_module_name":45,"category_name":111,"show_sort_weight":112,"slug":113},6,"Technology",50,"technology",{"id":11,"doc_module":4,"doc_module_name":45,"category_name":12,"show_sort_weight":115,"slug":116},40,"healthcare",{"id":118,"doc_module":4,"doc_module_name":45,"category_name":119,"show_sort_weight":120,"slug":121},8,"Research & Report",30,"research-report",{"id":123,"doc_module":4,"doc_module_name":45,"category_name":124,"show_sort_weight":125,"slug":126},9,"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":45,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":45,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":45,"category_name":136,"show_sort_weight":105,"slug":137},19,"General","general"]