arXiv Science⌕ Search

arXiv · 2612.02736

Electrode-level artifact simulation and corruption-aware gated reconstruction of the 12-lead ECG, with real-noise and paper-ECG external validation

Abstract

Deep learning denoisers for the electrocardiogram (ECG) are trained on noise added to individual leads, whereas real artifacts arise at the electrodes and reach the leads through the lead equations. We present a simulator that generates seven artifact mechanisms, including lead-off and cable reversal, on the electrodes and projects them exactly to the 12 leads with per-lead and per-electrode severity. On it we build CAG-UNet, a corruption-aware gated U-Net in which a Monte Carlo dropout estimate of where a record is corrupted conditions the reconstruction through gating and feature-wise linear modulation. Four training noise models were compared in two architectures, with an analysis plan fixed before a single PTB-XL test evaluation. Every denoiser removed almost only the noise it was trained on. On 517 real noisy recordings, electrode-level training removed more noise than additive training in both architectures, mainly through lead-off and Wilson-terminal propagation. On electrode-level artifacts, CAG-UNet reduced per-record RMSE by 4.1% and 8.5% versus an unconditioned network and a multi-lead U-Net; a three-seed ablation located the gain in the conditioning. Its corruption output ranked annotated noisy leads in real records (AUROC 0.784), and keeping its 80% most trusted leads cut their error by 26%, close to an oracle. A frozen classifier's macro AUROC rose from 0.906 to 0.921 under simulated artifacts (clean signal 0.925), but not significantly under real noise. On 397 photographed paper ECGs from Bangladesh, digitized heart rate agreed with the devices (ICC 0.95) and a distortion-robust classifier reached macro AUROC 0.836 against device diagnoses.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Sanjoy Das Joy, Arfatul Islam Asif, Unayes Ahmed Khan, Anupam Kumar Bairagi, Abdullah Al Noman, Mohammad Shahidur Rahman. 2026-12-01. Electrode-level artifact simulation and corruption-aware gated reconstruction of the 12-lead ECG, with real-noise and paper-ECG external validation. https://arxiv.science/abs/2612.02736

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Conformal Meta-learners for Predictive Inference of Individual Treatment Effects

We investigate the problem of machine learning-based (ML) predictive inference on individual treatment effects (ITEs). Previous work has focused primarily on developing ML-based meta-learners that can provide point estimates of the conditional average treatment effect (CATE)---these are model-agnostic approaches for combining intermediate nuisance estimates to produce estimates of CATE. In this paper, we develop conformal meta-learners, a general framework for issuing predictive intervals for ITEs by applying the standard conformal prediction (CP) procedure on top of CATE meta-learners. We focus on a broad class of meta-learners based on two-stage pseudo-outcome regression and develop a stochastic ordering framework to study their validity. We show that inference with conformal meta-learners is marginally valid if their (pseudo-outcome) conformity scores stochastically dominate oracle conformity scores evaluated on the unobserved ITEs. Additionally, we prove that commonly used CATE meta-learners, such as the doubly-robust learner, satisfy a model- and distribution-free stochastic (or convex) dominance condition, making their inferences valid above a distribution-dependent coverage threshold, up to an exponentially small slack term. Whereas existing procedures conduct inference on nuisance parameters (i.e., potential outcomes) via weighted CP [1], conformal meta-learners enable direct inference on the target parameter (ITE). Experiments show that conformal meta-learners provide valid intervals with competitive efficiency while retaining the point estimation accuracy of CATE meta-learners.

cs.LG↗

Time Weaver: A Conditional Time Series Generation Model

Imagine generating a city's electricity demand pattern based on weather, the presence of an electric vehicle, and location, which could be used for capacity planning during a winter freeze. Such real-world time series are often enriched with paired heterogeneous contextual metadata (e.g., weather and location). Current approaches to time series generation often ignore this paired metadata. Additionally, the heterogeneity in metadata poses several practical challenges in adapting existing conditional generation approaches from the image, audio, and video domains to the time series domain. To address this gap, we introduce TIME WEAVER, a novel diffusion-based model that leverages the heterogeneous metadata in the form of categorical, continuous, and even time-variant variables to significantly improve time series generation. Additionally, we show that naive extensions of standard evaluation metrics from the image to the time series domain are insufficient. These metrics do not penalize conditional generation approaches for their poor specificity in reproducing the metadata-specific features in the generated time series. Thus, we innovate a novel evaluation metric that accurately captures the specificity of conditional generation and the realism of the generated time series. We show that TIME WEAVER outperforms state-of-the-art benchmarks, such as Generative Adversarial Networks (GANs), by up to 30% in downstream classification tasks on real-world energy, medical, air quality, and traffic datasets.

cs.LG↗

Energy-based Epistemic Uncertainty for Graph Neural Networks

In domains with interdependent data, such as graphs, quantifying the epistemic uncertainty of a Graph Neural Network (GNN) is challenging as uncertainty can arise at different structural scales. Existing techniques neglect this issue or only distinguish between structure-aware and structure-agnostic uncertainty without combining them into a single measure. We propose GEBM, an energy-based model (EBM) that provides high-quality uncertainty estimates by aggregating energy at different structural levels that naturally arise from graph diffusion. In contrast to logit-based EBMs, we provably induce an integrable density in the model's latent space by regularizing the energy function. We introduce an evidential interpretation of our EBM that significantly improves the predictive robustness of the GNN. Our framework is a simple and effective post hoc method applicable to any pre-trained GNN that is sensitive to various distribution shifts. It consistently achieves the best separation of in-distribution and out-of-distribution data on 6 out of 7 anomaly types while having the best average rank over shifts on \emph{all} datasets.

cs.LG↗