Work

Unmasking Hidden Waves: A Proof-of-Concept Transformer-Based Electrocardiogram Signal Decomposition for Complex Arrhythmias

Year: 2026
Type: preprint
Abstract: Standard automated electrocardiogram (ECG) algorithms rely on sequence classification, frequently failing to provide morphological insight during complex tachycardias where critical physiological events, such as P waves, are buried. Here, we explore the feasibility of shifting the paradigm from proxy-based classification to explicit signal decomposition to unmask hidden cardiac electrical activity. We developed the ECG Signal Decomposition Transformer (ESD-former), a hybrid 1D U-Net architecture with a Transformer bottleneck, designed to continuously disentangle raw ECG signals into explicitly separated P, QRS, and T tracks. Trained on physiologically constrained synthetic overlapping arrhythmias and optimized using a custom ShapeAwareLoss, the model was tested for proof-of-concept real-world feasibility on continuous 5-minute resting ECGs. While baseline models failed on overlapping waveforms, the ESD-former reconstructed hidden features like retrograde P waves in synthetic examples. In an exploratory clinical validation, it achieved a Positive Percent Agreement (PPA) of 92.9% for QRS, 76.0% for T waves, and 82.7% for atrial activity against a reference software, while successfully generating 81 additional deeply buried P wave detections that were subsequently confirmed by manual expert review. This explicit signal decomposition framework provides a foundational proof-of-concept that, following rigorous clinical validation, could potentially assist electrophysiologists in the assessment of complex arrhythmias.
Language: English
Field: Medicine
Open Access status: green
OpenAlex ID: W7235771886
Cites: 20
Cited by:
Related to: 10