Masked Training for Robust Arrhythmia Detection from Digitalized Multiple Layout ECG Images
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
[2508.09165] Masked Training for Robust Arrhythmia Detection from Digitalized Multiple Layout ECG Images Skip to main content Search Submit Donate Log in Search arXiv Press Enter to search · Advanced search Computer Science > Machine Learning arXiv:2508.09165 (cs) [Submitted on 6 Aug 2025 ( v1 ), last revised 11 Apr 2026 (this version, v3)] Title: Masked Training for Robust Arrhythmia Detection from Digitalized Multiple Layout ECG Images Authors: Shanwei Zhang , Deyun Zhang , Yirao Tao , Kexin Wang , Shijia Geng , Jun Li , Qinghao Zhao , Xingpeng Liu , Xingliang Wu , Shengyong Chen , Yuxi Zhou , Shenda Hong View a PDF of the paper titled Masked Training for Robust Arrhythmia Detection from Digitalized Multiple Layout ECG Images, by Shanwei Zhang and 11 other authors View PDF HTML (experimental) Abstract: Background: Electrocardiograms are indispensable for diagnosing cardiovascular diseases, yet in many settings they exist only as paper printouts stored in multiple recording layouts. Converting these images into digital signals introduces two key challenges: temporal asynchrony among leads and partial blackout missing, where contiguous signal segments become entirely unavailable. Existing models cannot adequately handle these concurrent problems while maintaining interpretability. Methods: We propose PatchECG, combining an adaptive variable block count missing learning mechanism with a masked training strategy. The model segments each lead into fixed-length patches, discards entirely missing patches, and encodes the remainder via a pluggable patch encoder. A disordered patch attention mechanism with patch-level temporal and lead embeddings captures cross-lead and temporal dependencies without interpolation. PatchECG was trained on PTB-XL and evaluated under seven simulated layout conditions, with external validation on 400 real ECG images from Chaoyang Hospital across three clinical layouts. Results: PatchECG achieves an average AUROC of approximately 0.835 across all simulated layouts. On the Chaoyang cohort, the model attains an overall AUROC of 0.778 for atrial fibrillation detection, rising to 0.893 on the 12x1 subset -- surpassing the pre-trained baseline by 0.111 and 0.190, respectively. Model attention aligns with cardiologist annotations at a rate approaching inter-clinician agreement. Conclusions: PatchECG provides a robust, interpolation-free, and interpretable solution for arrhythmia detection from digitized ECG images across diverse layouts. Its direct modeling of asynchronous and partially missing signals, combined with clinically aligned attention, positions it as a practical tool for cardiac diagnostics from legacy ECG archives in real-world clinical environments. Comments: 28 pages, 9 figures Subjects: Machine Learning (cs.LG) ; Computer Vision and Pattern Recognition (cs.CV) Cite as: arXiv:2508.09165 [cs.LG] (or arXiv:2508.09165v3 [cs.LG] for this version) https://doi.org/10.48550/arXiv.2508.09165 Focus to learn more arXiv-issued DOI via DataCite Submission history From: Shanwei Zhang [ view email ] [v1] Wed, 6 Aug 2025 07:55:05 UTC (8,348 KB) [v2] Fri, 27 Mar 2026 17:04:11 UTC (14,635 KB) [v3] Sat, 11 Apr 2026 14:48:44 UTC (14,633 KB) Full-text links: Access Paper: View a PDF of the paper titled Masked Training for Robust Arrhythmia Detection from Digitalized Multiple Layout ECG Images, by Shanwei Zhang and 11 other authors View PDF HTML (experimental) TeX Source view license Current browse context: cs.LG < prev | next > new | recent | 2025-08 Change to browse by: cs cs.CV References & Citations NASA ADS Google Scholar Semantic Scholar export BibTeX citation Loading... BibTeX formatted citation × loading... Data provided by: Bookmark Bibliographic Tools Bibliographic and Citation Tools Bibliographic Explorer Toggle Bibliographic Explorer ( What is the Explorer? ) Connected Papers Toggle Connected Papers ( What is Connected Papers? ) Litmaps Toggle Litmaps ( What is Litmaps? ) scite.ai Toggle scite Smart Citations ( What are Smart Citations? ) Code, Data, Media Code, Data and Media Associated with this Article alphaXiv Toggle alphaXiv ( What is alphaXiv? ) Links to Code Toggle CatalyzeX Code Finder for Papers ( What is CatalyzeX? ) DagsHub Toggle DagsHub ( What is DagsHub? ) GotitPub Toggle Gotit.pub ( What is GotitPub? ) Huggingface Toggle Hugging Face ( What is Huggingface? ) ScienceCast Toggle ScienceCast ( What is ScienceCast? ) Demos Demos Replicate Toggle Replicate ( What is Replicate? ) Spaces Toggle Hugging Face Spaces ( What is Spaces? ) Spaces Toggle TXYZ.AI ( What is TXYZ.AI? ) Related Papers Recommenders and Search Tools Link to Influence Flower Influence Flower ( What are Influence Flowers? ) Core recommender toggle CORE Recommender ( What is CORE? ) IArxiv recommender toggle IArxiv Recommender ( What is IArxiv? ) Author Venue Institution Topic About arXivLabs arXivLabs: experimental projects with community collaborators arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website. Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them. Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs . Which authors of this paper are endorsers? | Disable MathJax ( What is MathJax? ) We gratefully acknowledge support from our major funders , member institutions , , and all contributors. About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab) Major funding support from
Related documents
- Evaluator-Dependent Patient-Adaptive ECG Lead-Channel Allocation#985238
- Universal image steganalysis using rate-distortion curves#954475
- ECG abnormalities are strongly associated with CVD outcomes in low-risk individuals using the PREVENT risk equation#147917
- ECG abnormalities are strongly associated with CVD outcomes in low-risk individuals using the PREVENT risk equation#143871
- Methods and systems for arrhythmia tracking and scoring — Alivecor, Inc. (US9420956B2)#607749
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive