Manuscript Offprint

arXiv:2610.28322

Manifold-Informed Neural Networks for Low-Label ECG Electrolyte Inference

Juntang Wang, Hao Wu, Yihan Wang, Dongmian Zou, Shixin Xu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Juntang Wang ∗^{*}

Harvard University

USA

Hao Wu ∗^{*}

Duke Kunshan University

China

Dongmian Zou

Duke Kunshan University

China

Yihan Wang ∗^{*}

Duke University

USA

Shixin Xu †^{\dagger}

Duke Kunshan University

China

Abstract

Physics-informed neural networks (PINNs) supervise on the residual of a known differential operator. Many high-stakes inference problems admit no such operator: clinical signals, behavioral measurements, materials properties. We introduce the Manifold-Informed Neural Network (MINN), a PINN-parallel paradigm that replaces the physics operator residual with a manifold operator residual: a discrete Poisson equation LGH=sϕ(x,m)\mathbf{L}_G\mathbf{H} = s_\phi(\mathbf{x}, \mathbf{m}) on a kk-nearest-neighbor graph in the learned latent space, with a learned, task-aware source. The construction is a structural parallel to PINNs (squared operator residual plus label data, in place of operator residual plus boundary data); the s=0s=0 limit recovers the homogeneous Laplace equation LGH=0\mathbf{L}_G\mathbf{H} = \mathbf{0} (classical manifold regularization solves the same equation but minimizes the Dirichlet energy tr(H⊤LGH)\text{tr}(\mathbf{H}^\top \mathbf{L}_G\mathbf{H}), a different penalty form). The source sϕs_\phi takes input features and auxiliary metadata directly, breaking the homogeneous smoothness prior that limits classical Laplacian penalties; gated Feature-wise Linear Modulation separately fuses metadata into the prediction branch. We evaluate MINN on three-class classification of potassium, calcium, and magnesium from 12-lead ECGs in MIMIC-IV-ECG, against twelve baselines spanning supervised and tabular methods, ECG foundation models, and manifold/graph approaches. MINN attains the highest K+K^+ Macro-F1 of 0.61 (best baseline 0.55), with consistent gains on Ca2+Ca^{2+} and Mg2+Mg^{2+} and a 31% relative improvement at 1% labeled data. Six targeted ablations show that the inhomogeneous Poisson formulation, not graph smoothing alone, drives the gain.

1 Introduction

Inferring physiologic state from non-invasive signals, for example serum electrolytes from electrocardiograms (ECGs), is a high-stakes inference problem with three structural challenges. First, no closed-form mapping exists from signal to state at the body-surface level: while ion-channel kinetics are governed by Hodgkin–Huxley-type ODEs at the cellular scale, the surface ECG is the integrated bioelectric field across a 3D heart-torso geometry, and the inverse map from surface signal to underlying concentrations is severely ill-posed and lacks a tractable closed-form operator [1, 2]. Second, labels are constrained by clinical workflow: paired ECG-laboratory measurements are sparse and class-imbalanced because pathological concentrations are inherently rare [3]. Third, each ECG is

∗^{*}Equal contribution.

†^{\dagger}Corresponding author: shixin.xu@dukekunshan.edu.cn.

Preprint.

accompanied by heterogeneous auxiliary metadata (drug exposures, demographics) whose interaction with the signal carries complementary task signal but is hard to fuse coherently.

Physics-informed neural networks (PINNs) [4] would resolve the first challenge by adding operator-residual supervision at every collocation point, if the operator existed. They cannot transfer here because the operator is exactly what is missing. Recent work attempts to discover operators directly from data [5]; we take the complementary path of substituting a learnable manifold operator for the missing physics operator.

Decades of cardiac signal analysis suggest ECGs lie on a low-dimensional, state-determined manifold; modern ECG foundation models exploit this structure implicitly through self-supervised pretraining [6–8]. This gives a candidate substitute for the missing operator, provided the manifold structure can be made to do the work that the physics operator does in PINNs.

Existing manifold methods fall short because they impose a homogeneous Laplace residual on the learned latent embedding: formally LGH=0L_G H = 0, where LGL_G is the graph Laplacian of a k-nearest-neighbor graph in the latent space and HH is the matrix of latent embeddings [9, 10]. This homogeneous formulation is task-agnostic, collapses to trivial solutions at low label rates, and ignores auxiliary signal.

We introduce the Manifold-Informed Neural Network (MINN), which replaces the homogeneous Laplace prior with an inhomogeneous Poisson equation whose right-hand side is a learned, task-aware source on raw input features and auxiliary metadata; gated Feature-wise Linear Modulation [11] separately fuses metadata into the prediction branch. Each property of the formulation maps to a challenge above. The task-aware source addresses imbalance: minority-class signal is not drowned by homogeneous smoothing. The operator-residual supervision addresses label scarcity via PINN-style data efficiency, without a physics operator. The FiLM-gated prediction branch addresses metadata-fusion: gating selectively modulates the signal embedding by clinical metadata. The construction is a structural parallel to PINNs with a squared operator residual: operator-residual supervision plus label data in place of operator residual plus boundary data. The full formulation, including the relation between MINN's squared-residual penalty and classical manifold regularization's Dirichlet energy, is in Section 3 and Appendix B.

We evaluate MINN on MIMIC-IV-ECG [12], the only public corpus with paired 12-lead ECG and serum-electrolyte labels at scale. Each challenge above is tested by a specific experiment: low-label subsampling (1%–100% of labeled fractions) tests the label-efficiency claim; macro-F1 and AUCPR per minority class plus an imbalance-correction baseline test the imbalance-handling claim; a twelve-baseline benchmark spanning supervised and tabular methods, ECG foundation models, and manifold/graph approaches (LapRLS, Manifold Mixup, GraphSAGE, GRAND, Poisson Learning) tests the no-operator claim; tabular baselines plus a FiLM ablation test metadata-fusion contribution. A targeted Poisson-vs-Laplace ablation isolates the contribution of the inhomogeneous source. MINN attains the highest K⁺ Macro-F1 of 0.61 (best baseline 0.55), with a 31% relative improvement at 1% labeled data, and the gap widens at low label rates.

We contribute (i) the MINN paradigm and its PINN-parallel formulation, in which a learned source on raw signal and metadata enters a squared manifold operator residual, with FiLM-gated metadata fusion in the prediction branch; (ii) a twelve-baseline benchmark across three method families; (iii) targeted ablations isolating the inhomogeneous-source gain (no manifold → biharmonic-only → Dirichlet form → Poisson with learned source, plus learned-vs-fixed source, latent-vs-logit constraint, and FiLM removal); (iv) low-label scaling experiments showing 31% relative improvement on K⁺ at 1% labeled data, plus a beat-window sensitivity analysis.

References (46)