Masked Training for Robust Arrhythmia Detection from Digitalized Multiple Layout ECG Images
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 9 of its 37 references that are in the map. First posted on arXiv 6 Aug 2025.
Builds on
9 of 37 references.
References · 9
- 2022A Time Series is Worth 64 Words: Long-term Forecasting with Transformerscited by 2,039
- 2016Recurrent Neural Networks for Multivariate Time Series with Missing Valuescited by 554
- 2024TimeXer: Empowering Transformers for Time Series Forecasting with Exogenous Variablescited by 248
- 2022SAITS: Self-Attention-based Imputation for Time Seriescited by 169
- 2024Medformer: A Multi-Granularity Patching Transformer for Medical Time-Series Classificationcited by 53
- 2020HOLMES: Health OnLine Model Ensemble Serving for Deep Learning Models in Intensive Care Unitscited by 45
- 2024Segment, Shuffle, and Stitch: A Simple Layer for Improving Time-Series Representationscited by 6
- 2024Combining Hough Transform and Deep Learning Approaches to Reconstruct ECG Signals From Printoutscited by 5
- 2025Self-attention-based Diffusion Model for Time-series Imputation in Partial Blackout Scenarioscited by 5
Built on by
Not cited yet.