eess.SPNov 21, 2026

TrustFlow-ECG: Reliability-Aware ECG Restoration with Calibrated Risk Estimation

Authors: Mohamed Kamel, Tamer Nadeem

Organizations: Department of Computer Science, Virginia Commonwealth University, Richmond, VA, USA

Abstract

Electrocardiogram (ECG) restoration models can reduce noise and motion artifacts, but they rarely estimate whether the restored waveform is reliable for downstream analysis. We propose TrustFlow-ECG, a reliability-aware restoration framework that combines a one-step conditional rectified-flow restorer with a lightweight window-level risk predictor. The predictor uses the noisy ECG, restored ECG, and correction residual, then applies validation-set isotonic calibration for selective ECG analysis. We evaluate on MIT-BIH ECG windows corrupted with NSTDB artifacts, powerline interference, and mixed noise across multiple SNRs, with an external 9,675-window PTB-XL stress check without retraining. TrustFlow achieves 0.862 Spearman correlation with true risk and 0.911 AUROC for failure detection, while calibration reduces ECE from 0.0385 to 0.0098. At 80% coverage, selective rejection reduces RMSE from 0.1848 to 0.1345, improves R-peak F1 from 0.8778 to 0.9175, and reduces HR MAE from 6.26 to 4.88 bpm.

Figures & tables

Explore similar work

CardsList
  1. BeatFlow-ECG: Rectified Flow for ECG Reconstruction from Indirect Wearable Signals

    Oct 6, 2026Mohamed Kamel, Sahar Selim, Walaa Medhat +1ElectrocardiographyWearable Health Monitoring

  2. UCTECG-Net: Uncertainty-aware Convolution Transformer ECG Network for Arrhythmia Detection

    Feb 18, 2026Hamzeh Asgharnezhad, Pegah Tabarisaadi, Abbas Khosravi +2Electrocardiogram ClassificationHybrid CNN-Transformer Architectures

  3. Robust Transfer Learning for Paper ECG Recognition

    Sep 30, 2026Yinghao Xie, Zhenbang Dai, Haojun Wang +6Contrastive LearningElectrocardiography