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.
翻译:暂无翻译