Back

Alignment-Free RoPE-Based Dual-Stream Transformer for PPG-Guided Neonatal ECG Segment Inpainting in the NICU

Choi, S.; Gu, G.; Kim, Y.; Lee, S.; Sim, S.-i.; Jang, Y. M.; Kim, H.

2026-07-10 pediatrics
10.64898/2026.07.06.26357087 medRxiv
Show abstract

Adhesive electrocardiography (ECG) electrodes used in neonatal intensive care units (NICUs) may cause skin injury in premature infants. Although photoplethysmography (PPG)-based ECG reconstruction has been explored, existing studies have mainly focused on adult data and often rely on direct PPG-to-ECG mapping or artificial signal alignment, which may be unsuitable for neonates with highly variable pulse arrival time (PAT). In this study, we propose an alignment-free RoPE-based dual-stream Transformer for reconstructing missing neonatal ECG segments using concurrent PPG signals and bidirectional ECG context. A total of 52,566 10-second ECG-PPG windows were extracted from 159 NICU patients and split at the patient level to prevent data leakage. The model was designed to learn ECG-PPG temporal coupling without forced synchronization by integrating PPG-derived hemodynamic timing information with lead-specific ECG context. Under a 40% random missing condition, the model achieved a Pearson correlation coefficient of 0.96, mean absolute error of 0.04, and root mean square error of 0.07. It also maintained robust performance under 4.0-second continuous block loss and 60% random patch loss, preserving a PCC of at least 0.90. These findings suggest that the proposed framework may serve as a signal imputation module for maintaining ECG monitoring continuity in NICU environments. Prospective validation is required before clinical diagnostic use.

Matching journals

The top 1 journal accounts for 50% of the predicted probability mass.