Learned Finite Element-based Regularization of the Inverse Problem in Electrocardiographic Imaging
Authors: Manuel Haas, Thomas Grandits, Thomas Pinetz, Thomas Beiert, Simone Pezzuto, Alexander Effland
Organizations: Institute for Applied Mathematics, University of Bonn, Germany · Department of Mathematics and Scientific Computing, University of Graz, Austria · Institute of Artificial Intelligence, Medical University of Vienna, Austria · Heart Center Bonn, Department of Internal Medicine II, University Hospital Bonn, Germany · Department of Mathematics, University of Trento, Italy
Electrocardiographic imaging (ECGI) seeks to reconstruct cardiac electrical activity from body-surface potentials noninvasively. However, the associated inverse problem is severely ill-posed and requires robust regularization. While classical approaches primarily employ spatial smoothing, the temporal structure of cardiac dynamics remains underexploited despite its physiological relevance. We introduce a space-time regularization framework that couples spatial regularization with a learned temporal Fields-of-Experts (FoE) prior to capture complex spatiotemporal activation patterns. We derive a finite element discretization on unstructured cardiac surface meshes, prove Mosco-convergence, and develop a scalable optimization algorithm capable of handling the FoE term. Numerical experiments on synthetic epicardial data demonstrate improved denoising and inverse reconstructions compared to handcrafted spatiotemporal methods, yielding solutions that are both robust to noise and physiologically plausible.
Figures & tables
Figure 1: Illustration of the discretized cross-correlation computation of the matrix D(t) evaluated at the nodes ts of the uniform mesh with kernel defined in T=[t−2,t2] . The integrals of the products of the overlapping hat functions give the matrix entries.
Figure 2: Lifting of the x point in a simplex at a boundary element J⊂Uh to the true domain by Hh(x)∈Je⊂Ω0 in R2 . We compute the linear projection y of x onto the boundary ThΓ , take the closest-point projection p(y) on Γ , and map x towards p(y) to compute Hh(x) .
Fréchet derivative
Discretization
DG(u,z)(x,t)=(u−z)(x,t)
∇Gh(u,z)=u−z
DG(u,z)(x,t)=A∗A[u](x,t)−A∗[z](x,t)
∇Gh(u,z)=M−1A⊤(Au−z)
DRθ(u)(x,t)=λθL∗Φ(L[u])(x,t)
∇Rθ,h(u)=λθL∗Φ(Lu)
Table 1: Fréchet derivatives and their discrete approximations employed in optimization.
Algorithm 1 Accelerated gradient descent with objective-based restart
Figure 3: Three-dimensional torso-heart model with three stimulation sites on the epicardium (apex, left and right ventricle) and human torso with 128 electrodes.
Figure 4: Extracellular potential ve on the myocardium for the 2D and 3D dataset at multiple time steps with scar tissue and normalized to [0,1] . The 2D data is visualized in a spacetime plot on the epicardium. 3D potentials are visualized restricted to the epicardium. Reduced conductivity in the scar region deforms the characteristic potentials and slows propagation.
Parameter
Value
Parameter
Value
Vrest
−85mV
Vdep
30mV
Vth
−55mV
gmax
1.4×10−3(2D)3.132×10−4(3D)
σi,l
3S/m
λLT [ 28 ]
[2.16,2.84]
ε [ 28 ]
[0.58,0.93]
α [ 28 ]
1
Cm [ 27 ]
1μF/cm2
β [ 27 ]
800cm−1(2D)179cm−1(3D)
Idur
1.2μA/cm2
Imax
100ms
Table 2: Model parameters and sampling ranges used for the generation of the synthetic datasets. Parameters are identical for the 2D and 3D models unless specified separately. Parameters are drawn uniformly at random from the indicated intervals.
Figure 5: Learned kernel functions (kh,i)i=1NC for NC=16 of the FoE approaches by denoising.
Figure 6: Denoising reconstructions of the 2D model and L2 -errors of multiple regularization approaches for an observation with a noise level of κ=0.2 applied to the ground truth, visualized in a space-time plot.
Figure 7: Denoising reconstructions of the 3D model and L2 -errors of multiple regularization approaches for an observation with a noise level of κ=0.2 applied to the ground truth, visualized on the epicardium for one timestep and as a plot over time at a randomly chosen point on the epicardium.
Table 3: Mean L2 -errors and corresponding regularization parameters for denoising reconstructions of different noise levels with standard deviation κ∈(0.05,0.1,0.2) for 2D and κ=0.2 for 3D.
Figure 8: Inverse problem reconstructions of the 2D model and L2 -errors of multiple regularization approaches with SNR of 30 dB by applying Gaussian noise to the observations, visualized in a space-time plot.
Figure 9: Inverse problem reconstructions of the 3D model and L2 -errors of multiple regularization approaches with an SNR of 30 dB by applying Gaussian noise to the observations, visualized on the epicardium for one time step and as a plot over time at a randomly chosen point on the epicardium.
Table 4: Mean L2 -errors and corresponding regularization parameters for inverse problem reconstructions at SNR (30,40,50) dB for 2D and SNR 30 dB for 3D.
Electrocardiographic imaging (ECGI) reconstructs heart-surface potentials from body-surface potentials, an ill-posed inverse problem. Diffusion posterior samplers combine a learned prior with an explicit forward operator that they assume to be accurate. In ECGI this operator is only an estimate, because the body changes with respiration and posture, and body composition such as subcutaneous fat is rarely known for an individual patient. The resulting operator discrepancy is structured and depends on the heart signal. We introduce OpDis-PS, a diffusion posterior sampler that models this discrepancy instead of treating it as signal-independent noise. OpDis-PS learns how the discrepancy depends on the signal, folds this into a corrected forward operator, and reconstructs with a fixed prior across all operator conditions. We study two realistic sources of discrepancy, changing lung conductivity and an added subcutaneous-fat layer. Across both, OpDis-PS reconstructs more accurately than classical regularization and learned predictors, with its largest gains on held-out cardiac pathologies.
Ricarda Buttmann, Andreas M. Lehrmann
Center for Artificial Intelligence and Robotics Technical University of Applied Sciences Würzburg-Schweinfurt, Germany
Reconstructing a 12-lead electrocardiogram (ECG) from a reduced lead set is an ill-posed inverse problem due to anatomical variability. Standard deep learning methods often ignore underlying cardiac pathology losing vital morphology in precordial leads. We propose Pathology-Aware Multi-View Contrastive Learning, a framework that regularizes the latent space through a pathological manifold. Our architecture integrates high-fidelity time-domain waveforms with pathology-aware embeddings learned via supervised contrastive alignment. By maximizing mutual information between latent representations and clinical labels, the framework learns to filter anatomical "nuisance" variables. On the PTB-XL dataset, our method achieves approx. 76% reduction in RMSE compared to state-of-the-art model in patient-independent setting. Cross-dataset evaluation on the PTB Diagnostic Database confirms superior generalization, bridging the gap between hardware portability and diagnostic-grade reconstruction.
Youssef Youssef, Jitin Singla
Department of Computer Science and Engineering, Indian Institute of Technology Roorkee, Roorkee 247667, India · Department of Biosciences and Bioengineering, Indian Institute of Technology Roorkee, Roorkee 247667, India
Electrocardiography (ECG) is a cornerstone of cardiac assessment, making the learning of informative ECG representations fundamental to tasks ranging from disease diagnosis to clinical report generation. However, existing methods operate almost exclusively in the observable ECG signal space. In practice, the standard twelve-lead ECG represents multiple projections of the same underlying cardiac electrical activity from different spatial orientations. Therefore, representation learning in the ECG space inevitably introduces substantial redundancy, which may lead to spurious correlations and increased risk of overfitting. To address this and motivated by the Frank vectorcardiogram (VCG) model, we propose learning a unified latent representation of cardiac electrical activity directly in the VCG space. We introduce LVCG, the first general self-supervised representation learning framework designed to operate in this physically grounded latent space. By learning view-invariant latent VCG representations rather than lead-specific artifacts, VCG minimizes redundancy and improves generalization. LVCG generally outperforms ECG-space baselines across tasks, demonstrating enhanced robustness and generalization, especially in domain shift settings.
Bosong Huang, Panzhen Zhao, Zengxiang Li +5
Griffith University, Australia · SingHealth Duke-NUS AI in Medicine Institute, Singapore · SingHealth AI Office, Singapore +1