Manuscript Offprint
arXiv:2610.03225The Neuro-Physical Inverter: A Modular Framework for Magnetotelluric Inversion Coupling Ensemble Conditioning with Residual Learning
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Jae Deok Kim, Sai Ravela, Rob. L. Evans
Abstract—We present the Neuro-Physical Inverter (NPI), a modular, uncertainty-aware framework for geophysical inversion that couples ensemble-based conditioning with constrained residual learning, demonstrated in the 1D magnetotelluric (MT) setting as a controlled testbed. The framework operates in two stages. An Ensemble-Conditional Gaussian Process (EnsCGP) conditions a prior ensemble of resistivity models on the observed response, producing a physically admissible reference ensemble. A residual-learning neural network then predicts targeted corrections to this reference, trained on synthetic data and fine-tuned per station for field application through a physics-coupled objective. Because an ensemble is conditioned, refined, and propagated through both stages, every estimate carries an associated ensemble spread. Synthetic experiments show that NPI systematically reduces ensemble-mean error without destabilizing the ensemble. Applied to broadband MT data from the Gabbs Valley geothermal region (Nevada, USA), NPI reduces the across-station mean misfit over the mid-period band while retaining comparable ensemble spread. The propagated ensemble yields a factor of uncertainty that serves as an operational measure of constraint within the assumed model class. Both stages are dimension-agnostic in formulation, and the design principles established here are intended to scale to higher-dimensional parameterizations.
Index Terms—Magnetotellurics, geophysical inversion, inverse problems, ensemble methods, residual learning, physics-guided machine learning, uncertainty quantification, electrical resistivity, geothermal energy
I. INTRODUCTION
G EOPHYSICAL methods estimate subsurface physical properties from indirect measurements made at or near the Earth's surface [1]. Such inverse problems are typically ill-posed. Different subsurface structures can produce similar observations, and noise or incomplete spatial and frequency coverage further complicate interpretation [2]. Magnetotellurics (MT), a passive electromagnetic (EM) method, exemplifies these challenges. MT records naturally varying electric and magnetic fields to estimate subsurface electrical resistivity (or its inverse, conductivity) [3], a parameter linked to temperature, fluids, and composition [4]. Although the MT forward response is uniquely determined by the resistivity model, the inverse problem is strongly non-unique and noise-sensitive [2], so reliable interpretation requires inversion methods that are both robust and uncertainty-aware.
For 1D MT, the inverse problem is relatively well studied. Deterministic methods such as Occam inversion [5] and nonlinear conjugate-gradient schemes [6] provide efficient regularized solutions, and probabilistic methods such as Markov chain Monte Carlo (MCMC) [7]–[9] give rigorous posterior characterization at modest cost. We do not aim to replace these. Our target is the higher-dimensional regime that 1D stands in for, where these classes face sharper cost, regularization, and reliability trade-offs. This motivates building an inversion framework from components that remain tractable as dimensionality grows. Two natural candidates, ensemble-based conditioning and data-driven learning, are attractive for this reason but each carries a characteristic failure mode.
Ensemble-based methods represent variability through a finite ensemble of realizations updated by derivative-free, covariance-based adjustments [10], [11], which scale favorably and stay within a physically admissible model class. They face two limitations: a single linear update confined to the prior ensemble span cannot represent structured misfit lying outside that span, and real MT data can deviate from the statistical structure of the prior. This deviation, through cultural noise (e.g., electromagnetic interference from power lines, electrified railways, pipeline cathodic-protection currents), incomplete frequency coverage, or unmodeled site effects [12]–[14], can destabilize or collapse the update unless it is stabilized [15], [16]. We therefore use ensemble updating as a single-pass conditioning operator rather than as an iterative solver, distinguishing it from iterative ensemble inversion methods (e.g., ensemble Kalman inversion, ES-MDA) that reuse observations across iterations as a derivative-free optimization strategy; this distinction is developed in Section II-B3.
Machine learning has been widely applied to geophysical inversion, including data-driven estimation of resistivity from EM measurements [17]–[21] and strategies for embedding physical constraints, such as physics-informed losses [22], [23] and residual convolutional architectures for MT [24]. A related line of work targets uncertainty directly, training networks to predict posterior statistics from EM data [25], using invertible architectures to draw posterior samples [26], or applying variational and ensemble-based generators to frequency-domain EM [27], [28]. These networks predict rapidly once trained [29], but tend to overfit the synthetic training distribution and degrade under noise unlike that seen in training [30], [31].
Jae Deok Kim was with the MIT-WHOI Joint Program in Oceanography/Applied Ocean Science and Engineering, Cambridge, MA 02139 USA and is now with the Department of Earth, Atmospheric and Planetary Sciences, Massachusetts Institute of Technology, Cambridge, MA 02139 USA (e-mail: kimjd@mit.edu).
Sai Ravela is with the Department of Earth, Atmospheric and Planetary Sciences, Massachusetts Institute of Technology, Cambridge, MA 02139 USA.
These two failure modes are complementary: ensemble conditioning is stable and physics-consistent but cannot reach mis-
Rob. L. Evans is with the Department of Geology and Geophysics, Woods Hole Oceanographic Institution, Woods Hole, MA 02543 USA.
fit outside the prior span, while a learned corrector can capture that residual nonlinearity. Coupling them lets each cover the other's gap, within a modular framework whose components can be substituted independently as dimensionality increases. The inversion is uncertainty-aware by construction, with an ensemble propagated through both stages. The conditioning step also leaves the network only a low-variance, largely location-independent residual to learn. That is a claim about the tractability of the learning problem rather than about point-estimate accuracy, which a sufficiently expressive network trained on the full mapping can match (Section IV-B).
We develop and verify this framework in 1D MT. Using 1D as a controlled setting is well established in data-driven geophysical inversion, where the inexpensive forward operator and the availability of synthetic ground truth make it a standard testbed for developing and evaluating learned inversion schemes before extension to higher dimensions [24], [32]–[34]. We adopt it in the same spirit, as a deliberate methodological choice rather than a constraint of the formulation.
We develop the Neuro-Physical Inverter (NPI), a modular inversion framework that couples an Ensemble-Conditional Gaussian Process (EnsCGP) with constrained residual learning. In the first stage, EnsCGP updates a prior ensemble of resistivity models using observed MT data through a stabilized, single-pass Kalman-type adjustment [10], [35]–[38]. The output is a physically admissible ensemble whose forward responses are broadly consistent with the observations. Because this update is linear and confined to the prior ensemble span, however, structured misfit can persist where the prior is insufficient or the forward operator is strongly nonlinear in the relevant model directions. The second stage addresses this with a residual neural network that predicts depth-dependent corrections to the EnsCGP ensemble mean from the model-consistent MT responses produced by EnsCGP. The network never maps observations directly to resistivity; it acts only as a constrained correction to an existing physically admissible reference. The framework is developed in 1D, but is not specific to it. The EnsCGP update depends only on model and response ensembles and their empirical covariances, so the same formal structure applies in 2D and 3D.
The two-stage decomposition simplifies learning: the network learns only the discrepancy between the EnsCGP baseline and the target (Section II-C), following a broader pattern in data-driven scientific modeling where a physics-based baseline captures dominant structure and a learned corrector handles the residual [35], [39]–[42]. What distinguishes NPI is that the baseline is itself physics-based, restricting the corrector to a physically admissible model class. The ensemble produced at each stage is propagated forward and reported as a workflow-derived measure of model variability, not a full posterior.
The main contributions of this work are:
• A dimension-agnostic, modular inversion framework (NPI) coupling single-pass ensemble conditioning with constrained residual learning, designed for extension to large-scale, high-dimensional problems.
• A formulation of EnsCGP as a conditioning operator, distinct from iterative optimization or posterior sampling, that produces physically admissible first-guess estimates whose forward responses are consistent with observations.
• A physics-constrained residual-learning strategy that corrects structured misfit relative to the ensemble-conditioned baseline, operating on model-consistent responses and enforcing minimum-change refinement.
• A controlled 1D demonstration on synthetic data and on real broadband MT observations from the Gabbs Valley geothermal region (Nevada, USA), examining each component as a step toward higher-dimensional inversion.
A. Overview of the Neuro-Physical Inverter (NPI)
The NPI couples ensemble-based conditioning (EnsCGP, Section II-B) with constrained residual correction (ResNet-1D, Section II-C). EnsCGP produces a physically admissible reference ensemble from the observed MT response, whose forward-modeled responses we term model-consistent to emphasize that they derive from a specific model rather than direct observation. The residual corrector then predicts depth-dependent corrections to that reference, addressing structured misfit the ensemble update cannot capture. The corrector is trained on synthetic model-response pairs generated through the forward operator (Section II-D) and fine-tuned for real data using a composite objective combining data misfit, smoothness, and proximity to the EnsCGP reference (Section II-E).
B. Ensemble-Conditional Gaussian Process (EnsCGP)
The EnsCGP is the conditioning stage of the NPI workflow. From a prior ensemble of resistivity models and an observed MT response, it produces a physically admissible reference ensemble. It is the conditional Gaussian law obtained by treating the empirical moments of the prior ensemble and its forward-modeled responses as jointly Gaussian and conditioning on the observations under that approximation [38]. The single-pass update used here coincides with the Kalman analysis step while being interpreted as an ensemble approximation to Gaussian conditioning. The formulation follows ensemble-based Kalman methods [10], [11], [35]–[37], [43]: given a prior ensemble and its forward-modeled responses, EnsCGP computes a stabilized, locally linear update that adjusts the ensemble toward the observations.
- Formulation: Let denote the number of ensemble members, the number of model parameters (depth layers in the 1D resistivity model), and the number of data components. Each MT response consists of apparent resistivity and phase at frequencies, so . The prior ensemble is the matrix , whose columns are individual members, and is the corresponding ensemble of forward-modeled responses. From these we form the empirical cross-covariance between model and data and the data covariance ; the matrix encodes noise levels and the relative weighting of apparent resistivity and phase. Because the observed data is a single realization while contains members, we construct an observation ensemble by adding independent noise perturbations,
Perturbing the observations is a standard device for preserving ensemble spread under linear updates [44]; the perturbations are independent draws and are not iteratively reused. The EnsCGP update is then
where K is the Kalman gain and the updated ensemble. Since the correction is a linear combination of prior anomalies, updated members remain within the affine subspace spanned by the prior. The update cannot introduce structure absent from the prior. The cross-covariance couples model corrections to data discrepancies only along directions where model and data co-vary in the ensemble, so discrepancies orthogonal to those directions, including incoherent noise, do not drive the update, without any smoothing or filtering of the observed response.
-
Stabilization: To improve numerical stability and suppress spurious correlations from finite ensemble sizes, we use a reduced-rank approximation of the sample covariance operator [37], [45], controlling the dimensionality of the conditioning subspace. The observational covariance R may be deliberately inflated to stabilize the update when the ensemble is under-dispersive relative to observation–model discrepancies [46]–[49], and conditioning is localized to a nearest-neighbor subset of the prior ensemble in data space, limiting the influence of poorly matched samples. Localization and inflation are complementary: localization suppresses spurious long-range correlations from limited ensemble size, while inflation corrects under-dispersion relative to the model–data discrepancy.
-
Distinction from iterative ensemble inversion: EnsCGP is best understood as a representational object: the conditional Gaussian law rather than as an iterative solver. The update in Equation 2 is one computational realization of this conditioning, applied once per observation. Although it shares the algebraic form of an ensemble Kalman analysis step, it is applied differently from iterative ensemble inversion methods such as ensemble Kalman inversion (EKI) and the ensemble smoother with multiple data assimilation (ES-MDA) [15], [16], [50], which assimilate the same observation across multiple iterations for distinct reasons. EKI treats the ensemble as a derivative-free surrogate and is most naturally interpreted as an optimizer [51], whereas ES-MDA distributes a single assimilation across several steps with correspondingly inflated covariances to better approximate the posterior for nonlinear forward operators [16].
Iterating an ensemble update without a principled tempering or inflation schedule cannot be identified with Bayesian conditioning, since reusing the same observation injects no new information and drives the ensemble toward collapse. EnsCGP avoids this regime by construction, since the ensemble is not a gradient surrogate and no convergence or stopping criterion is involved. Any sequential structure in the NPI workflow reflects only changes in the localized reference ensemble used to build the empirical covariances, not repeated application of the same observation.
In EKI and ES-MDA, the cross-covariances used at iteration are computed from the ensemble iteration k produced, so each update depends on the one before it and the same observation is reintroduced at every step. In EnsCGP, this dependency chain has length one, computed from the prior ensemble's own statistics and independent of any prior iteration.
The two iterative methods differ substantially once their guarantees are examined closely. With inflation coefficients satisfying , ES-MDA applied to a linear Gaussian problem is shown in Emerick & Reynolds (2013) [16] to be equivalent to a single Kalman update in both mean and covariance; its iterative structure serves to handle nonlinearity gradually, since a single step already recovers the correct posterior under the stated linear Gaussian conditions. The EKI guarantee, in the same setting, covers the mean only. Continued iteration collapses the ensemble toward a point, eliminating posterior spread, so retaining any spread requires stopping before that collapse occurs. EnsCGP reaches the correct mean and spread together, in the single step it takes.
- Output and propagation: The EnsCGP outputs an ensemble of physically admissible resistivity models and corresponding forward-modeled MT responses, which serves as the reference input to the residual-learning stage and is propagated through subsequent stages.
C. Residual-Learning Network (ResNet-1D)
The second stage refines the EnsCGP ensemble mean using a residual-learning convolutional neural network (ResNet-1D) [52]. Consistent with the NPI design, the network does not perform an independent inversion. It is restricted to predicting structured residual corrections to an existing, physically admissible resistivity model, and never maps observations directly to resistivity. All data influence enters through the EnsCGP stage and through forward modeling, with data fit enforced explicitly by the forward operator during fine-tuning (Section II-E).
The central design decision is to learn residuals rather than full resistivity profiles, motivated by target-variance reduction. A direct inverse model must approximate the full nonlinear mapping from MT responses to resistivity, whose targets span the entire range of admissible structures and whose ill-posedness exposes the network to non-unique, noise-sensitive supervision. By contrast, the residual target
is the discrepancy from an estimate that already captures the dominant physically admissible structure, so its marginal variance is substantially smaller than that of and is localized in depth. This makes the supervised problem better-conditioned and limits the expressive role of the network.
The network input is the EnsCGP ensemble-mean, model-consistent MT response (log apparent resistivity and phase). Using forward-modeled responses rather than raw observations gives the corrector a physically consistent, noise-mitigated input. It is trained to approximate
and the refined resistivity estimate is recovered by adding the predicted residual to the EnsCGP ensemble mean in log space and exponentiating,
so the neural output is a minimum-change adjustment to an existing physically admissible reference. The architecture is detailed in Appendix A. We treat it as a baseline implementation rather than an optimized design, since the contribution is the modular framework, not a specific network topology.
Although trained on ensemble-mean quantities, the learned mapping is deterministic and applies to individual ensemble members. Each is propagated through the network using its own forward-modeled response, yielding a refined ensemble. The confinement to the prior span that the EnsCGP update guarantees does not carry over to this stage, since the residual correction is not a linear combination of prior anomalies (Section IV-B).
D. Learning in Simulation
Learning in simulation provides the controlled environment in which the residual network is constructed and trained (Figure 1). The aim is not to train a general inverse mapping but to expose the network to physically admissible examples of how EnsCGP first-guess estimates deviate systematically from known structure under realistic noise and prior variability. All inputs and targets are generated through forward modeling and ensemble conditioning, so the learning task stays anchored to MT physics and to the workflow itself.
- Prior Ensemble Construction: The NPI workflow requires a prior ensemble of forward-consistent, geologically plausible resistivity models but does not prescribe how it is built. Acceptable sources include layered random fields with prescribed correlation structure, borehole-constrained profiles, profiles from independent inversions of the same or nearby surveys, or profiles extracted from regional geological models. Broad, inflated priors are also admissible when site-specific information is unavailable. The prior defines the affine subspace within which EnsCGP conditioning operates. Since updated members remain within its span, the prior determines both what structures are reachable and how propagated variability is distributed across depth.
In the present work we use a Gauss-Markov random field (GMRF) constructed from a previous 3D resistivity model of the Gabbs Valley region [53]–[55], a choice reflecting the availability of a regional model, not a requirement that NPI presuppose a 3D inversion. We extract an ensemble of 1D profiles, subtract the mean, and compute a singular value decomposition (SVD),
where M contains the profiles and their mean. Retaining the leading r components gives a low-rank representation of vertical variability, from which synthetic profiles are sampled,
We adopt to inflate the prior covariance and explore a broader range of structures than the extracted profiles alone [46]–[49]. The resulting prior concentrates variance in the depth intervals where the regional model varies most.
The dependence of ensemble spread on the prior is a substantive property of the workflow. Comparing the GMRF prior against a homogeneous half-space prior with depth-independent variance shows the depth structure of ensemble spread is inherited from the prior, not imposed by the workflow. This is examined in Section IV-D and demonstrated in Appendix C (Figure 10).
-
Forward Modeling and Frequency Grid: Each profile is forward modeled with a 1D MT operator via Wait's recursion [56], computing apparent resistivity and phase on a fixed reference frequency grid spanning the field observational range. The fixed grid keeps the network input dimensionality consistent across training, testing, and application. Because the input to the ResNet-1D is the forward-modeled EnsCGP ensemble-mean response rather than the raw observation, it can always be evaluated on this grid regardless of a station's acquisition frequencies, handling frequency-configuration variability without retraining. To emulate field conditions, Gaussian noise is added at the complex-impedance level before computing apparent resistivity and phase. The resulting ensembles are then partitioned into training and testing subsets.
-
Construction of Training Pairs: For each synthetic example, the noisy response is processed once through EnsCGP to produce a first-guess ensemble and its forward-modeled responses. The ensemble-mean response is the network input, and the target is the residual between the true and EnsCGP ensemble-mean log-resistivity profiles (Equation 3), so the network learns only systematic corrections relative to the reference rather than an unconstrained inverse mapping.
-
Training Procedure: Prior to training, the input channels (log apparent resistivity and phase) are standardized per frequency, and residual targets are standardized componentwise to stabilize optimization. The ResNet-1D is trained using mini-batch stochastic optimization with the AdamW optimizer [57] and a Huber loss [58], which limits sensitivity to large residuals arising from high-contrast resistivity structures or unfavorable noise realizations. A ReduceLROnPlateau scheduler adapts the learning rate based on validation loss, and early stopping is employed to avoid overfitting. To reduce sensitivity to a particular train–validation split, training is performed using K-fold cross-validation, with normalization statistics retained for subsequent inference.
-
Synthetic Testing: Synthetic testing follows the training workflow with network parameters fixed. Each test response is conditioned through EnsCGP and refined by the trained network. Because the true profiles are known, these tests evaluate how the residual correction behaves across a range of subsurface structures, and under varying noise, before

Fig. 1. NPI training and synthetic testing workflow. A geologic prior is projected into a low-rank GMRF, from which 1D resistivity profiles are sampled and forward-modeled to generate synthetic MT responses, split into training (red) and testing (blue) subsets. In training, noisy responses are conditioned through EnsCGP, and the ensemble-mean responses and the residuals between true and EnsCGP ensemble-mean log-resistivity profiles form the ResNet-1D inputs and targets. In testing, the trained ResNet-1D refines the EnsCGP ensemble-mean estimates for evaluation against the known truth.
application to real data. Selected examples are shown in Figure 3.
E. Adaptation to Real MT Data
Applied to real observations, the NPI uses the same two-stage structure (Figure 2), but without true models for supervision. Adaptation instead relies on consistency with the observed data. This is achieved through a physics-coupled fine-tuning step in which the residual network is adjusted per station to improve forward-data fit under a regularized objective that limits departure from the EnsCGP reference.
Given an observed response (log apparent resistivity and phase), EnsCGP first produces a stabilized ensemble of physically admissible models and forward-modeled responses from a localized nearest-neighbor subset of the prior. The ensemble means and form the reference state for refinement. Starting from the pre-trained ResNet-1D, station-wise fine-tuning takes as input, predicts a residual , and forms via Equation 5, minimizing
where enforces agreement with the observed data through explicit forward modeling, penalizes roughness, and constrains deviation from the EnsCGP ensemble mean.
This objective implements a minimum-change refinement principle: keeps stations already well explained by EnsCGP essentially unchanged, while permits adjustments only where they reduce systematic misfit, and restricts those adjustments to structurally regular ones. Persistent misfit arises where the EnsCGP residual lies outside the prior span or where the forward operator is too nonlinear in the relevant directions for a locally linear update to correct, as well as from site-specific prior deviations, sparse frequency coverage, or limitations of the 1D representation. The network is therefore dormant when EnsCGP alone explains the data and active only where structured misfit warrants targeted correction.
- Physics-coupled Data Misfit Loss: Agreement with the observations is enforced by explicit forward modeling of the predicted model:
where is the 1D MT forward operator and w holds inverse standard-deviation weights. Data fit is thus measured through explicit forward modeling rather than any learned surrogate.
- Smoothness Regularization: Smoothness is enforced through first- and second-order derivative penalties on the resistivity profile,
combined as
where controls the balance between curvature and first-derivative regularization.
- Reference-model Regularization: To ensure that neural refinement remains anchored to the EnsCGP reference, we include a reference-model penalty that constrains departures from the EnsCGP ensemble-mean resistivity model,
This term operationalizes the minimum-change refinement principle: corrections must be justified by reductions in that exceed the cost of departing from the reference.
- Selection of the Target Misfit Level: The objective in Equation 8 carries two weights, , which suppresses oscillatory artifacts, and , which enforces minimum-change refinement around the EnsCGP baseline, together with a third parameter that enters through the smoothness penalty of Equation 12 and balances curvature against first-derivative smoothing. These are included to give the objective flexibility, allowing the character of the penalty to be adapted to a survey or a parameterization. In the present application, and are held fixed across all stations, while is adjusted automatically, following the same schedule at every station (Appendix G).
In practice the selection reduces to a single choice: how closely the refined model is required to fit the data. Fine-tuning is halted by early stopping once the ensemble-mean nRMS reaches a target value, and this target governs how far the network is permitted to depart from the smooth EnsCGP reference in order to reduce . It therefore controls the same trade-off the weights encode, but through the stopping criterion rather than the loss weighting, and in a quantity that can be specified in advance from the estimated noise level rather than calibrated against the recovered profiles.
Demanding a lower misfit permits more fine-scale structure in the resistivity estimate, at the risk of fitting noise; tolerating a higher one keeps the estimate simpler and nearer the reference. The structure recovered by the workflow is thus indexed by the fit level requested of it, in the same sense that the target misfit governs model complexity in Occam-style regularized inversion [5]. For data with correctly specified Gaussian noise, the expected nRMS data misfit is 1, since the underlying misfit follows a chi-squared distribution with degrees of freedom equal to the number of data points. We adopt this value as the default target, so that structure appearing only under a tighter target can be identified as structure the data do not uniquely require. Appendix E demonstrates this at two representative stations under two such targets.
The full set of fine-tuning hyperparameters and the protocol by which the target is set are reported in Appendix G for reproducibility.
- Optimization and Ensemble Propagation: Fine-tuning uses the Adam optimizer with gradient clipping, a ReduceLROnPlateau scheduler, and early stopping on the physics-coupled misfit; batch-normalization layers are held in evaluation mode to preserve statistics from synthetic training. Although fine-tuning uses the ensemble-mean response, the network is deterministic and applies to individual members. Propagating the ensemble through it yields a refined ensemble.

Fig. 2. Adaptation of the NPI to real MT data. From an observed MT response, EnsCGP produces an ensemble of physically admissible resistivity models and model-consistent responses. The ensemble-mean response is then passed through the pre-trained ResNet-1D to predict a depth-dependent residual correction. During fine-tuning, the network is updated under a physics-coupled objective (Equation 8) enforcing minimum-change refinement around the EnsCGP estimate. At each optimization step, the network's resistivity estimate is forward modeled and its misfit against the observed response drives the parameter update. After convergence, the fine-tuned network is applied to each ensemble member, yielding a refined ensemble.
III. RESULTS
A. Synthetic Results
We evaluate the NPI on a held-out synthetic test set independent of the training data. Each example is a 1D resistivity profile drawn from the GMRF prior (Section II-D1) with its forward-modeled MT response, contaminated with Gaussian noise; the dataset envelope is shown in Appendix B (Figure 9). The results below examine (i) the EnsCGP first-guess estimate, (ii) the bias reduction achieved through ResNet-1D refinement, and (iii) the degree to which ensemble spread is retained. Because EnsCGP and NPI share the same conditioning stage and prior, the comparison throughout isolates the contribution of the residual network as a controlled ablation. Differences between the two reflect the learned correction alone.
- Synthetic Data and Noise Model: Each test profile is drawn from the GMRF prior (Section II-D1) and forward modeled via Wait's recursion [56], which computes the complex MT impedance Z, from which apparent resistivity and phase are obtained [59]. Noise is added at the impedance level with a 5% relative magnitude error. Since , this propagates to first order as additive Gaussian noise of standard deviation 0.1 in and a phase standard deviation :
(14)
- Performance on Synthetic Test Examples: We apply the full two-stage workflow to each test example. A single EnsCGP application produces a physically admissible first-guess ensemble, whose mean is refined by ResNet-1D. To quantify accuracy across the wide dynamic range of resistivity, we use the log-ratio misfit
which symmetrically penalizes over- and under-estimation; zero is perfect recovery and is roughly a factor-of-two error.
Figure 3 shows three representative examples, each compared across the EnsCGP and NPI stages of the proposed workflow and RTO-TKO [9], [60], a randomize-then-optimize method that samples both the model and the regularization penalty weight, providing an estimate of uncertainty through repeated regularized inversion rather than ensemble conditioning. Each ensemble member is itself a deterministic, Occam-style regularized inversion, differing only in its sampled regularization weight and starting model, so comparison against RTO-TKO reflects Occam-style behavior at the level of individual members while additionally reporting the uncertainty context a single deterministic inversion could not provide. We adopt RTO-TKO as the baseline because it was developed and validated within EM geophysical inversion rather than adapted from an unrelated domain, runs on the same 1D forward operator without additional training or architecture reimplementation, and, estimating uncertainty through repeated regularized inversion rather than ensemble conditioning, provides a methodologically independent basis for judging EnsCGP and NPI on identical data.
The end-to-end point estimate (orange dashed) comes from a network trained to map the MT response directly to resistivity, rather than to a residual relative to the EnsCGP reference. It is overlaid on all three methods for reference, though it carries no ensemble of its own (Section IV-B). Across all three examples, the EnsCGP ensemble mean captures the dominant large-scale structure but shows amplitude bias and over-smoothing in some intervals. NPI reduces these biases while preserving that structure, closely tracking the end-to-end point estimate in the forward responses. The RTO-TKO ensemble mean is broadly comparable to EnsCGP and NPI across the three examples; its calibration relative to the other two methods is quantified below.
(a)

(b)
(c)
True model
End-to-end (point estimate)
Ensemble mean
95% interval
Observation
Fig. 3. Inversion results for three representative synthetic test examples (a)–(c), compared across EnsCGP, NPI, and RTO-TKO (left to right within each row). For each method, the left panel shows the true resistivity model (black), ensemble mean (blue), and 95% interval (shaded), together with the end-to-end point estimate (orange dashed). Right panels show the corresponding forward-modeled apparent resistivity and phase against the noise-contaminated observations (black, with error bars).
Table I summarizes performance for all four arms of the comparison over 5,000 test examples on a common 89-cell depth grid. Accuracy is the log-ratio misfit of Equation 15, taken as a root mean square (RMS) over depth within each example and then averaged over examples. Data misfit is reported as nRMS, the RMS misfit normalized by the number of data points, computed from the response of the ensemble-mean model. Ensemble spread is summarized by a multiplicative factor of uncertainty , the width of the central 95% interval in , which we interpret as a measure of spread under the assumed 1D prior and data representation. The half-width at depth z,
where and are the corresponding percentiles in linear units, is converted to
For a distribution approximately symmetric in , the interval spans roughly to , so means the ensemble spans about half to twice the median resistivity; corresponds to no spread, the ensemble collapsing to a single value. Table I reports averaged over depth and examples for each method. The percentile column records where the true value falls within the ensemble, averaged over all examples and depths. A value of 50 indicates the truth is well-centered in the ensemble. A value below 50 means most ensemble members are more resistive than the truth, placing the truth toward the lower tail of the ensemble; a value above 50 means most ensemble members are less resistive than the truth, placing the truth toward the upper tail. The spread-to-error ratio compares the ensemble standard deviation against the RMS error of the ensemble mean, both in . A calibrated ensemble treats the truth as an additional member, so the truth's typical distance from the ensemble mean should match that of a member, and the ratio should be close to 1.0.
The two stages behave as intended. EnsCGP alone reaches an RMS resistivity error of 0.131 between its ensemble-mean estimate and the true model. Unlike U, which describes the spread within a single example's ensemble, this measures how far the ensemble-mean estimate itself typically lands from the truth across different examples. An RMS error of 0.131 in means that for a true value of 100 m, the recovered estimate typically ranges from about 74 to 135 m across the test examples. The residual stage reduces this RMS resistivity error to 0.111, narrowing that range to about 78 to 129 m, and lowers the nRMS data misfit from 1.355 to 0.962.
The two ensembles miss calibration in different ways. EnsCGP has a spread nearly matched to its error, with a spread-to-error ratio of 0.97 that stays within 0.91 and 1.07 at every depth, and its coverage sits close to nominal at 88.6% and 94.1% against targets of 90% and 95%. The failure is in placement. The true value sits at the 42nd percentile of the ensemble on average, falling to the 35th near 3 km depth, meaning the truth sits off-center toward the ensemble's more-resistive tail at that depth. NPI reverses this. The truth is well-centered in the ensemble, falling between the 49th and 55th percentile at every depth. Its spread is nonetheless wider than its error requires, at a ratio of 1.40, so its coverage exceeds the target at both levels, reaching 96.8% against 90% and 98.6% against 95%.
These two departures from calibration have different consequences: an interval that is too wide sacrifices precision but still reliably contains the truth, while a truth that sits off-center in the ensemble is less likely to be captured by the interval
TABLE I PERFORMANCE ON THE SYNTHETIC TEST SET
| Method | Accuracy | Ensemble | |||||
|---|---|---|---|---|---|---|---|
| RMS | nRMS | mean U | 90% | 95% | Percentile | Spread/error | |
| EnsCGP | 0.131 | 1.355 | 1.85 | 88.6% | 94.1% | 42 | 0.97 |
| NPI | 0.111 | 0.962 | 2.13 | 96.8% | 98.6% | 52 | 1.40 |
| RTO-TKO | 0.135 | 1.011 | 2.62 | 94.7% | 97.1% | 48 | 1.42 |
| End-to-end | 0.104 | 0.961 | - | - | - | - | - |
at all, consistent with the EnsCGP coverage falling slightly below target.
The RTO-TKO coverage reaches 94.7% (against 90%) and 97.1% (against 95%), but this aggregate conflates two opposite failures occurring at different depths: the ensemble is too narrow for its errors at shallow depths and far too wide at depth. RTO-TKO also carries the widest intervals of the three ensembles, a mean U of 2.62 against 1.85 for EnsCGP. It also has the largest RMS resistivity error between its ensemble-mean estimate and the true model.
B. Real-Data Results
- Overview: We apply the NPI to MT data from the Gabbs Valley geothermal region of Nevada, USA [53]–[55], which consists of 81 broadband stations across a region of Basin-and-Range extension with known geothermal activity. The same two-stage workflow validated on synthetic data is applied per station (Section II-E).
The aim is to demonstrate the framework's behavior under field conditions. The NPI results shown here derive solely from rotationally invariant 1D responses [61] at individual stations and cannot resolve 3D structure; comparison with the regional 3D MT inversion [54], [55] is a consistency check only, developed through the pseudo-2D cross-sections in Appendix D.
- Study Area and MT Dataset: Gabbs Valley, in west-central Nevada, lies at the structural transition between the dextral Walker Lane shear zone and the extensional Basin and Range province [62]–[67]. Miocene-to-recent normal and dextral faulting [67]–[69] and elevated heat flow from crustal thinning [70], [71] create zones of enhanced fracturing and permeability that can drive deep fluid circulation and geothermal activity [67]. The region hosts several modern and fossil hydrothermal systems, including the Don A. Campbell [72], southeastern Gabbs Valley [73], and Rawhide [74] geothermal systems. The study area, faults, geothermal features, and station locations are shown in Figure 4.
The dataset comprises 81 broadband MT stations collected across southeastern Gabbs Valley by the U.S. Geological Survey (USGS) [53], [54], each recording two horizontal electric and three magnetic field components. Data were acquired for hours per station using alternating sampling rates (256 samples/s for hours, 4096 samples/s for 10 minutes) and processed with the bounded-influence remote-reference algorithm (BIRRP) [75], yielding impedance tensors over s. As is typical for broadband MT, data quality falls toward the shortest periods (cultural and instrumental noise) and longest periods (reduced statistical robustness).
Because many stations show 2D or 3D behavior over portions of the band, indicated by phase-tensor diagnostics (Appendix F, Figure 13), the full impedance tensor is not interpretable within a strictly 1D framework. We therefore compute rotationally invariant impedances [61], [76]–[78], which collapse directional information into effective 1D responses. Although this discards anisotropy and higher-dimensional structure, it yields responses internally consistent with 1D assumptions. The resulting apparent resistivity and phase are the inputs to the real-data workflow.
- Application of NPI to Real MT Data: Figure 5 shows representative station-level behavior for three stations (GV129, GV137, GV161), compared across the EnsCGP, NPI, and RTO-TKO ensembles. EnsCGP provides a physically admissible ensemble broadly consistent with the observations, but a subset of stations shows persistent structured misfit. Station GV129 is the clearest case. The EnsCGP forward response diverges substantially from the data, while NPI brings it into close agreement. For such stations, the ResNet-1D supplies targeted corrections that reduce misfit while staying anchored to the EnsCGP estimate and without destabilizing the ensemble. Because these corrections need not remain within the prior span, they can fit structure the conditioning stage alone cannot.
RTO-TKO reaches a comparably close fit to NPI at the three stations. The two methods differ instead in model space, both in the ensemble spread and in the mean resistivity estimate. The RTO-TKO interval is consistently wider, by a factor of 1.8 to 3.0 in mean U at GV129 and GV161. At GV137 the difference is far larger. At the deepest resolved layer, the RTO-TKO interval spans more than five orders of magnitude in resistivity, against less than a factor of two for NPI at the same depth. This divergence in interval width tends to coincide with divergence in the ensemble means. Above roughly 10 km, the ensemble means agree closely at all three stations. Below 10 km, the ensemble means diverge substantially at GV129 and GV137, where the RTO-TKO interval widens accordingly while the NPI interval does not. At GV161 the ensemble means remain in closer agreement at depth, yet the RTO-TKO interval still widens, indicating the width increase is not solely a consequence of the means diverging.
Two further practical considerations bear on choosing between these methods. NPI requires an upfront training cost, the synthetic pretraining of the ResNet-1D (Section II-D), that RTO-TKO does not. Training took approximately 1 hour on 40,000 synthetic samples under 5-fold cross-validation, using 8 GPU cores on WHOI's Hydra HPC cluster. This cost is incurred once and amortized across every subsequent station and survey using the same model parameterization; a change

Fig. 4. Gabbs Valley study area, Nevada, USA. MT stations (inverted black triangles) collected by the USGS over a satellite basemap with Quaternary fault traces (magenta) [79]. Stars mark modern geothermal systems: Don A. Campbell (red), Gabbs Valley-Southeast (cyan), Rawhide (orange). Colored circles are wells binned by measured or geothermometry-derived temperature (legend). Inset: study-area location (red box) in the western United States.
in the depth discretization or model dimensionality would instead require retraining (Section IV-F). RTO-TKO draws are, in principle, near-independent and parallelizable [9]; in the implementation used here, however, draws within a chain are serial, since each Gauss-Newton solve is warm-started and the smoothing weight follows a sequential Gibbs update (Appendix G). At the per-station application stage, timed at station GV129 on an AMD Ryzen 5 PRO 4650U workstation (6 physical cores, 12 threads, no GPU; Appendix G), EnsCGP conditioning and NPI fine-tuning and propagation together complete in 13.0 s for an ensemble of 500 members, while RTO-TKO requires 640.1 s for the same ensemble size, a factor of 49 slower.
Figure 6 summarizes NPI ensemble-mean resistivity and spread across the survey at 5, 15, and 25 km depth. Panels (a), (c), (e) show the ensemble-mean estimates at each station over depth slices of the regional 3D model [54], [55] for context. Local discrepancies, expected where multi-dimensional structure or prior mismatch limit the 1D representation, are discussed in Section IV. The large-scale conductivity patterns are nonetheless broadly consistent with the 3D inversion (Appendix D).
Ensemble spread across the survey is summarized by the factor of uncertainty (Equation 17). Panels (b), (d), (f) show U at each depth, where smaller values indicate tighter constraint. Because U inherits its structure from the prior ensemble, its depth-dependence is prior-dependent rather than intrinsic to the workflow; this dependency on the prior is examined further in Section IV-D and Appendix C.
- Data Misfit Diagnostics: Figure 7 compares data misfit and forward-response ensemble spread for the EnsCGP and NPI stages across all 81 stations. Panels (a), (c) show the across-station mean absolute percent error between observed and ensemble-mean apparent resistivity and phase; panels (b), (d) show the across-station mean relative 95% confidence-
(a)

Station GV129
(b)
Station GV137
NPI
Station GV161
RTO-TKO
(c)
NPI
Ensemble mean
95% interval
RTO-TKO
Observation
Fig. 5. Station-level comparison of the EnsCGP, NPI, and RTO-TKO ensembles for stations GV129 (a), GV137 (b), and GV161 (c). For each method, the left panel shows the ensemble mean (blue) and its 95% interval (shaded), and the right panels show the corresponding forward-modeled apparent resistivity and phase against the observed rotation-invariant data (black, with error bars).
interval half-width,
where , , and are percentiles and mean of the forward-response ensemble at frequency f. For both stages,
(a)

(b)
(c)
(d)
(e)
(f)
Fig. 6. NPI ensemble-mean resistivity and spread across the Gabbs Valley survey. Panels (a), (c), (e): ensemble-mean estimates at 5, 15, and 25 km depth (colored circles) over depth slices of the regional 3D model [54], [55], shown for context only. Panels (b), (d), (f): the multiplicative factor of uncertainty U (Equation 17), the width of the central 95% ensemble interval in , quantifying constraint within the assumed 1D model class. Larger U indicates greater uncertainty. , for example, means the 95% interval spans from half to twice the ensemble median resistivity at that depth; corresponds to no spread.
misfit is lowest over mid-periods, where signal-to-noise is highest, and rises toward the band edges where data quality degrades.
The EnsCGP baseline fits the observations to within roughly 25–30% in apparent resistivity and 11–16% in phase over the mid-band ( s). NPI reduces both over the same band, bringing mean apparent-resistivity error below and mean phase error to a few percent. The relative ensemble spread under NPI is comparable to or modestly larger than under EnsCGP across the band. The slightly wider spread is expected, since the EnsCGP ensemble is in places too narrow to enclose the observations, whereas the NPI ensemble brackets them while fitting the mean more closely. The framework therefore tightens the fit to the observations while retaining the response variability that the factor of uncertainty summarizes.
IV. Discussion
A. EnsCGP as a Representational Object
As developed in Section II-B3, EnsCGP is a single-pass, linear conditioning operator rather than an iterative inversion, avoiding the convergence-related failure modes of iterative

(c) Phase Absolute Percent Error
(d) Phase Relative 95% CI
Fig. 7. Across-station data misfit and forward-response ensemble spread for the EnsCGP (blue) and NPI (orange) stages over all 81 stations. Panels (a), (c): mean absolute percent error between observed and ensemble-mean apparent resistivity and phase. Panels (b), (d): mean relative 95% CI half-width (Equation 18). NPI reduces mid-band misfit in both apparent resistivity and phase relative to the EnsCGP baseline, while the relative ensemble spread remains comparable or modestly larger, showing the improved fit is not obtained by collapsing the ensemble.
ensemble methods; the stability seen in both the synthetic and real-data results follows.
Two consequences of this framing bear on interpretation. First, the quality of the EnsCGP estimate is fundamentally limited by the prior: because the update is linear, structures outside the prior span cannot be recovered, so where the prior is insufficient the workflow correctly produces persistent misfit rather than fabricating structure to fit the data. This is the failure mode the residual network is designed to address (Section IV-B).
Second, the EnsCGP spread admits a Bayesian reading. EnsCGP is the conditional Gaussian law obtained by treating the empirical moments of the prior ensemble and its forward-modeled responses as jointly Gaussian and conditioning exactly [38]; this joint Gaussian treatment is itself an approximation. Two restrictions qualify the reading. The first is the same prior span discussed above: the posterior mean shift lies in the range of the ensemble covariance, so a narrow prior characterizes uncertainty only within that subspace. The second is the Gaussian approximation, which broadening the prior does not remove, since the conditioning applied to a wider ensemble remains Gaussian and approaches the true posterior only insofar as that posterior is itself approximately Gaussian. These restrictions are what make the factor of uncertainty, discussed further in Section IV-E, a measure of constraint within the assumed model class rather than a posterior.
B. Role of the Residual Network in a Modular Framework
The residual network addresses the prior-span failure mode: persistent structured misfit where the EnsCGP residual lies outside what a locally linear update can capture. This occurs when the prior is insufficient to span the relevant structure, or when the forward operator is too nonlinear in the relevant directions for a linear update to correct. Three design choices keep the network's role controlled: it learns low-variance residuals rather than full profiles, a choice motivated by tractability rather than accuracy; it takes the noise-mitigated EnsCGP mean response as input rather than raw observations; and it is regularized toward the EnsCGP reference under the composite objective (Equation 8).
Table I quantifies this trade-off. On resistivity accuracy, the end-to-end network reaches a slightly lower RMS resistivity error than the NPI ensemble mean, a modest and consistent edge across the test set. On nRMS data misfit, the two are effectively indistinguishable, with nearly identical values. Accuracy can be assessed only because the synthetic test set has a known true model; at a real station only nRMS data misfit is available, by which the two methods are equivalent.
The accuracy advantage of the end-to-end network in Table I was measured using the ResNet-1D architecture of Appendix A, a working baseline rather than an optimized design (Section II-C), and does not on its own indicate how much either method's performance depends on that particular capacity. Appendix H repeats the comparison with a backbone reduced 75-fold in parameter count, applied identically to the end-to-end mapping and to the NPI residual correction, and gives the end-to-end network an approximate uncertainty estimate through Monte Carlo dropout [80], since it otherwise carries none.
With capacity matched, the accuracy edge of the end-to-end network disappears: NPI's RMS resistivity error and nRMS data misfit change only a few percent from the full-capacity values above, while the end-to-end network's roughly double, so its earlier edge rested on capacity the residual task never needed. NPI's advantage holds in distribution and widens under distribution shift, while its advantage over EnsCGP itself narrows under distribution shift. Calibration shows the same pattern: the end-to-end network's Monte Carlo dropout ensemble is markedly overconfident relative to NPI's in both settings. Full numbers are in Appendix H (Table IV).
That is the uncertainty-aware property motivating the two-stage design (Section I): the ordering, EnsCGP first and ResNet-1D second, follows from where the ensemble originates, since the conditioning stage produces it and the residual network only refines its members rather than generating one itself.
The advantage of a residual target that is lower in variance and less tied to the structures of the training region is expected most directly in the per-station fine-tuning of Section II-E and the portability discussion of Section IV-C, settings where no true model is available and the network must adapt without labels. Table I does not test that regime, since training and test profiles are drawn from the same synthetic prior. The synthetic distribution-shift ablation of Appendix H is a step toward it, showing the residual target's accuracy advantage over the same-capacity end-to-end network widening rather than narrowing when the test prior departs from the training prior, though without the per-station fine-tuning or the real MT data that regime involves.
The end-to-end network is evaluated only on the synthetic test set and is not applied to the real Gabbs Valley stations, since doing so would require a per-station adaptation step. A scheme is possible in principle, for example anchoring the end-to-end network's fine-tuning to its own pretrained output rather than to a reference produced by EnsCGP, but constructing and validating one is outside the scope of the comparison presented here.
The essential contribution here is not the specific neural network design, which is a working baseline open to architecture search, structure learning, and uncertainty-calibrated variants. It is the modular separation of roles: EnsCGP produces a physically admissible reference within the prior span, the residual network corrects structured misfit the conditioning stage alone cannot, and both remain tied to the MT physics through forward modeling.
C. Bias Removal and Generalization Across Settings
A consequence of the two-stage decomposition, beyond the ensemble-based measure of uncertainty, is that it reduces the dependence of the learned corrector on any particular geological setting. EnsCGP absorbs the systematic, prior-and location-dependent component of the model into a data-consistent baseline (Section II-C), leaving the network to learn only the residual reflecting the generic limitations of a single linear update, namely structure outside the prior span and strong forward nonlinearity (Section IV-B), rather than the full amplitude and shape of the resistivity profile, which vary strongly from site to site.
A corrector trained on this residual target is therefore expected to transfer more readily across settings than one trained on a full resistivity profile. The synthetically trained network serves as a useful starting point wherever EnsCGP can supply a data-consistent baseline, and adaptation reduces to the lightweight per-station fine-tuning of Section II-E rather than retraining on a location-specific labeled distribution. In this sense, by removing prior-dependent bias from the training target, EnsCGP is what makes the residual-learning stage portable across geological settings. We frame this as a property the construction is designed to promote rather than one this study quantifies, since training and test profiles here are drawn from a common prior; systematic cross-region evaluation remains for future work.
D. Prior-Dependence of Ensemble Spread
The structure of the ensemble spread is a central interpretive question. Table I (Section III-A) quantifies this for the synthetic test set. The ensemble spread from EnsCGP is nearly correctly sized but the truth sits off-center within it, while for NPI the truth is well-centered but its spread exceeds its error, so calibration failure takes a different form at each stage rather than following a single pattern of inflation or collapse. In the real-data application, the factor of uncertainty shows structured depth-dependence (Figure 6); this depth structure is inherited from the prior and should not be misattributed to an inherent characterization of the workflow.
Two factors set the propagated spread at each depth: the prior bounds the spread attainable by the conditioning stage, since the EnsCGP update confines all members to the prior span, and the data determine what fraction of that bound remains after conditioning. The residual correction then adjusts each member without that constraint, yet the depth structure inherited from the prior persists in the refined ensemble. Appendix C shows this directly, with two priors producing nearly the same NPI point estimate but markedly different depth profiles of .
This prior-dependence is a substantive result that the workflow exposes by design. The factor of uncertainty should be read as a measure of constraint within the assumed model class under the chosen prior, which controls both what is reachable and how variability distributes across depth. Broad or homogeneous priors yield ensemble spreads reflecting data resolution alone, while informative regional priors yield correspondingly tighter spread where the prior is informative.
E. Interpretation of the Factor of Uncertainty
Several outcomes call for careful reading: local discrepancies from the 3D model, elevated at some stations, and residual misfit after refinement. These share common causes, including genuine multi-dimensional structure outside a 1D framework, prior misspecification, or training-distribution mismatch where the synthetic prior does not span the field structures, and are best read as diagnostics of the 1D representation's limits at specific stations rather than as framework failures. Elevated specifically reflects non-uniqueness: small-scale resistivity oscillations the data do not uniquely require, a wide range of resistivities fitting the data equally well over a narrow interval, or a few weakly constrained members departing from the ensemble population. The fine-tuning target sensitivity test in Appendix E supports this: detailed internal structure within conductive zones is not uniquely constrained by the data, consistent with the elevated spread there. Stations with elevated therefore warrant examination for these same three causes, since identifies where further analysis is needed without distinguishing among them.
The refined ensemble underlying is not, in general, the conditional law of a stated model, so should not be read as a calibrated Bayesian interval. The Bayesian reading available at the conditioning stage (Section IV-A) does not extend to the residual correction: the corrector is fine-tuned per station against the same observation used in conditioning (Section II-E), so it is not a fixed map applied to the conditioned ensemble. This makes a workflow-derived measure of ensemble spread, reflecting the combined effects of the prior, the conditioning step, the Gaussian approximation it rests on, and the learned, data-dependent correction.
The coverage test in Table I measures empirical coverage directly, which is possible only because the synthetic test set carries a known true model. No comparable check exists in the real-data application, where the true resistivity structure is unavailable, so at individual field stations carries no equivalent calibration guarantee. Even where ground truth exists, this test does not establish calibration against the true Bayesian posterior (Section IV-G). What the framework provides is an operational measure of uncertainty: summarizes how tightly resistivity is constrained under the adopted workflow and prior, varying with data resolution and prior structure, and serves as a practical diagnostic of which recovered features are robust or weakly constrained.
F. Toward Higher-Dimensional Applications
The methodological contribution of this work is not specific to 1D. The EnsCGP update depends only on the empirical cross-covariance between model parameters and forward-modeled responses, so the same closed-form update applies to 2D sections or 3D volumes wherever the forward operator can be evaluated on each ensemble member. Four practical considerations bear on the extension:
• Prior construction. The workflow is agnostic to how the prior ensemble is built: correlated random fields, geostatistical realizations, or regional models like the GMRF used here all serve as valid sources, with no change to the rest of the workflow.
• Computational cost. The forward operator in 3D is far more expensive than the 1D recursion, making the forward-ensemble cost dominant. Localization and reduced-rank conditioning become correspondingly more important. A learned or reduced-order surrogate for the forward operator could substitute for repeated exact forward evaluations across the ensemble, trading some accuracy for a substantial reduction in cost.
• Retraining cost. A change in depth discretization within a fixed dimension requires retraining only the network’s final layer, since global average pooling makes the frequency features independent of grid resolution. A change in dimension, from 1D to 2D or 3D, changes the network’s topology and is more substantial. The naive response, treating it as a new problem and retraining from scratch on a newly generated dataset, is dominated by the cost of forward simulation, modest in 1D ( 1 hour; Section III-B3) but far larger at higher dimension. This is not necessary, however: initializing from a network trained at a lower dimension, so only a residual correction across dimension need be learned, or decoupling forward response resolution from the network’s parameterization, could both reduce this cost substantially (Section IV-G). EnsCGP, needing no retraining, faces an analogous cost: its prior ensemble must be re-simulated at the new discretization, so both stages are ultimately driven by the cost of the forward operator.
• Network architecture. The residual network would adopt 2D or 3D convolutional or transformer layers, preserving the residual-learning principle while the physics-coupled objective generalizes.
The framework demonstrates several behaviors that arise from its modular design and carry over beyond the 1D setting, including stable ensemble conditioning, prior-informed uncertainty, targeted correction, and physics-coupled fine-tuning. We demonstrate it in 1D because the forward operator is inexpensive and the structure is transparent, but none of its components assume a 1D parameterization, positioning the framework to scale to higher-dimensional problems.
G. Limitations and Outlook
Several limitations follow from the present scope. Rotation-invariant 1D responses discard the directional information in the full impedance tensor, so the results are effective 1D summaries of resistivity structure. As established in Section IV-E, is not a calibrated Bayesian interval; what the framework reports is an ensemble spread whose reliability is established empirically, through the coverage test of Table I, rather than by derivation. The fine-tuning weights are fixed across stations, and the target fit level is set from the estimated noise level rather than tuned per station (Section II-E4; Appendix G); a formal joint sensitivity analysis over the weights themselves remains beyond the present scope. The pretrained ResNet-1D is tied to a fixed model parameterization, so adopting a different discretization or moving to 2D/3D requires retraining, whose cost is discussed in Section IV-F; the architecture itself is a working baseline open to further optimization. We also do not separately isolate the contribution of synthetic pre-training from per-station fine-tuning; quantifying that decomposition is left to future work. Finally, the comparative validation here rests on a single alternative uncertainty estimator, RTO-TKO. Benchmarking against learned posterior methods that likewise trade upfront training cost for fast per-station inference would place the framework more completely among fast uncertainty-aware inversion schemes.
The comparisons in this study, evaluated throughout in the 1D setting, establish a necessary first step toward the credibility of the framework; NPI targets the higher-dimensional regime where Occam inversion and MCMC, though effective in 1D, become substantially more costly (Section I).
Beyond the extension to higher dimensions (Section IV-F), several directions follow naturally. Alternative priors (e.g., borehole-constrained or structurally informed ensembles) substitute for the GMRF without changing the workflow. For surveys with substantially different frequency coverage, strategies such as frequency dropout during training [81] or a learned input-projection layer could improve robustness to differing configurations. The retraining cost could be reduced further by generating training data progressively rather than all at once, or largely removed by a resolution-invariant architecture such as a neural operator; evaluating these alongside the strategies noted above is future work. Posterior-calibrated extensions of the factor of uncertainty, through conformal prediction or surrogate posterior sampling, would close the gap between workflow-derived spread and Bayesian uncertainty.
Finally, the two-stage design applies to any geophysical inverse problem with a well-defined forward operator and a means of generating model–response ensembles, where ensemble conditioning could supply a physically admissible baseline and a neural corrector refine the residual.
V. CONCLUSIONS
We introduced the Neuro-Physical Inverter (NPI), a modular two-stage framework coupling ensemble-based Gaussian conditioning (EnsCGP) with constrained residual correction (ResNet-1D), demonstrated in the 1D MT setting where the forward operator is inexpensive and the structure is transparent. The framework is uncertainty-aware by construction. An ensemble is conditioned, refined, and propagated through both stages, so every estimate carries an associated ensemble spread. The contribution is the framework and its empirical behavior, not the specific architecture, prior, or field application, and none of its components assume a 1D parameterization. The synthetic experiments establish two results: EnsCGP produces physically admissible reference ensembles through a single-pass conditioning step, and the residual network reduces ensemble-mean amplitude bias without destabilizing the ensemble. The application to 81 broadband stations in Gabbs Valley confirms this behavior under field conditions, reducing mid-band across-station mean error while retaining comparable ensemble spread.
The practical advantage of the ensemble formulation, discussed in Section IV-E, is that the inversion returns a resistivity model together with a depth-dependent, empirically validated measure of its reliability, an operational diagnostic flagging where the assumed model class and prior are well matched to the observations.
A key finding is that the depth-dependence of this ensemble spread is inherited from the prior rather than fixed by the workflow (Section IV-D): the informed GMRF prior yields tighter spread at depth, while a homogeneous half-space prior yields spread that increases with depth, consistent with declining MT sensitivity, though robust near-surface features are recovered under both.
The NPI is not intended to replace established inversion methods such as Occam or trans-dimensional MCMC. What the framework offers instead is a scalable, uncertainty-aware inversion in which a physics-guided neural correction is integrated with ensemble conditioning, verified here in a controlled 1D setting. Because the EnsCGP update and the residual-learning principle are dimension-agnostic, the same design is positioned to scale to 2D and 3D, where an uncertainty-aware framework is most valuable and full posterior sampling is most costly.
ACKNOWLEDGMENTS
Codes used in this study are openly available on GitHub and archived on Zenodo [82]. The MT dataset from the Gabbs Valley region was collected by the USGS and can be accessed via Peacock (2019) [53] and Peacock et al. (2021) [54]. The authors have no conflicts of interest to disclose. JDK was supported by internal graduate fellowships provided by the Woods Hole Oceanographic Institution (WHOI). This material is based in part upon work supported by the Bangkok Bank, Schmidt Sciences, Community Jameel for Jameel Observatory CREWSnet, and by the MIT Climate Grand Challenges.
APPENDIX A: RESNET-1D ARCHITECTURE
The ResNet-1D is a 1D residual-learning convolutional network that predicts depth-dependent corrections to the EnsCGP ensemble-mean resistivity profile, treated here as a working baseline rather than an optimized design.
The two input channels are log apparent resistivity and phase as functions of frequency, both forward modeled from the EnsCGP ensemble-mean profile rather than taken from

Fig. 8. Architecture of the ResNet-1D. Two input channels (log apparent resistivity and phase) pass through a 1D convolutional stem, four residual blocks expanding and contracting the channel dimension (32→64→128→64→32), global average pooling, and a fully connected output module that produces a depth-dependent residual correction in log-resistivity space, added to the EnsCGP ensemble mean to give the refined NPI estimate. Insets show a residual block and the fully connected module.
raw observations. An initial 1D convolutional stem projects these into a 32-channel representation, followed by four residual blocks that expand and contract the channel dimension (32→64→128→64→32) to extract multi-scale frequency-domain features. Each block comprises two 1D convolutional layers with batch normalization and ReLU activation, a dropout layer, and a skip connection. Global average pooling then aggregates across the frequency band into a fixed-length feature vector independent of the number of input frequencies, and a fully connected module maps it to a depth-dependent residual correction in log-resistivity space. The correction is added to the EnsCGP ensemble-mean log-resistivity profile and exponentiated to produce the refined NPI estimate (Equation 5). Training details are in Section II-D4.
APPENDIX B: SYNTHETIC DATASET DISTRIBUTION
Figure 9 summarizes the synthetic dataset, illustrating the distribution of 1D resistivity models sampled from the GMRF prior and the range of clean MT responses they imply. The three representative test examples used throughout this work, shown with full inversion results across EnsCGP, NPI, and RTO-TKO in Figure 3 of the main text, are drawn from this same distribution.
APPENDIX C: PRIOR SENSITIVITY COMPARISON
To demonstrate that the depth structure of the factor of uncertainty is inherited from the prior rather than fixed by the workflow, we compare NPI results at station GV09 under two priors, namely the regionally informed GMRF prior constructed from the Gabbs Valley 3D model, and a homogeneous half-space prior with constant mean resistivity and depth-independent variance, encoding no particular assumptions about how resistivity varies with depth.
Figure 10(a) shows results under the informed GMRF prior. The prior ensemble concentrates variance in the shallow section where the regional reference model varies most, and after conditioning and refinement, the NPI ensemble mean

Fig. 9. Synthetic dataset for training and evaluation. (a) Distribution of 1D resistivity models sampled from the reduced-rank GMRF prior; solid curve is the ensemble median, shaded region the 5–95% interval. (b–c) Corresponding clean forward-modeled apparent resistivity and phase responses, same median and percentile convention. The spread reflects geologic variability encoded in the prior.
reproduces the observed responses with spread that stays close to constant with depth. Figure 10(b) shows results under the homogeneous prior. The prior ensemble spans a wide resistivity range uniformly with depth, and the refined NPI ensemble spread instead widens with depth, consistent with the decrease in MT sensitivity at depth. The NPI ensemble-mean resistivity profile itself changes little between the two priors. Averaged across the full depth profile, the two mean profiles differ by a factor of about 1.2 typically, and by no more than a factor of 1.7 at any single depth. The corresponding forward responses are similarly close, differing on average by 7% in apparent resistivity and 3% in phase. Starting from two very different priors therefore leads to nearly the same point estimate, in both model space and data space.
Fit to the observations is comparably good under both priors. Fine-tuning at GV09 halts once the ensemble-mean nRMS misfit reaches the target level of 1.0 (Section II-E4). The achieved misfit is 0.56 under the GMRF prior and 0.78 under the homogeneous prior, both below this target. An nRMS below the nominal target is not a concern for an ensemble-based method as it is for a deterministic inversion: the nRMS here is computed from the ensemble mean, so a lower value means the mean sits closer to the observation, and thus that the observation is well-centered within the resulting ensemble. Averaged over the frequency band, apparent-resistivity error against the observations is 5% under the GMRF prior and 9% under the homogeneous prior, and phase error is 2% and 3% respectively. The GMRF prior reaches a tighter fit, but both priors satisfy the fine-tuning stopping criterion and reproduce the observed responses to a comparable standard.
What differs sharply is the depth structure of the ensemble spread. Splitting the profile at 10 km, mean U under the GMRF prior is 2.57 above 10 km and 2.79 below, a deep-to-shallow ratio of 1.09, essentially flat with depth. Under the homogeneous prior, mean U rises from 1.69 above 10 km to 3.74 below, a ratio of 2.22, more than doubling. Together these indicate that the depth-dependence of is set by the prior rather than by the workflow, while the point estimate remains comparatively insensitive to which prior is used, so the workflow produces meaningful results without a regionally informed prior and correspondingly tighter, better-constrained uncertainty where one is available.
(a)
Informed GMRF Prior
Prior Ensemble
NPI Ensemble

(b)
Homogeneous Half-space Prior
Prior Ensemble
NPI Ensemble

Fig. 10. Prior sensitivity comparison at station GV09. (a) Regionally informed GMRF prior. (b) Homogeneous half-space prior with constant mean resistivity and depth-independent variance. In each row, the left pair of panels shows the prior resistivity ensemble (gray) with prior mean (red) and the corresponding forward-modeled apparent resistivity and phase against the observed rotation-invariant MT data (black dashed with error bars); the right pair shows the NPI-refined resistivity ensemble (gray) with NPI ensemble mean (red) and the corresponding forward responses against the observations. The NPI ensemble mean reproduces the observed responses under both priors, but ensemble spread behaves differently with depth in each case, discussed in the text.
APPENDIX D: PSEUDO-2D CROSS-SECTIONS AND CONSISTENCY WITH REGIONAL 3D INVERSION
To place the station-wise NPI results in spatial context, we stitch the NPI ensemble-mean 1D estimates at stations projected onto two profiles, A-A' and B-B', within the Gabbs Valley survey area (Figure 11), limited to the upper 5 km where near-surface structure is best resolved. As noted in Section III-B1, this is a qualitative consistency check rather than a geological interpretation superseding the 3D inversion, since the NPI results derive solely from rotation-invariant 1D responses and cannot resolve lateral continuity or anisotropy.
The most prominent feature in the NPI sections is a shallow conductive layer at roughly 0–2 km, detected consistently across stations along both profiles and coinciding with the conductive near-surface structure in the 3D inversion. Its depth range is consistent with a geothermal clay cap, a hydrothermal-alteration feature widely observed in geothermal fields [73], [83]–[86]. The NPI workflow does not constrain the layer's thickness or internal structure, but its consistent detection suggests it is a first-order characteristic of the near-surface electrical structure. Below it, both the 3D and NPI sections show an increase in resistivity within the upper crust. Interpretation beyond 5 km requires care given the 1D invariant framework and is outside the present scope.
The factor-of-uncertainty panels (e, f) show relatively low through the near-surface conductor at most stations, indicating it is comparatively well-constrained, with spread increasing toward the base of the interval as MT sensitivity decreases. Locally elevated at near-surface depths at some stations may reflect site-specific effects, prior misspecification, or multidimensional structure.
Overall, the NPI pseudo-2D sections reproduce the large-scale near-surface conductivity patterns of the regional 3D inversion along both profiles, despite relying only on rotation-invariant 1D responses, supporting the framework as a practical tool for recovering regional electrical structure with an ensemble-based characterization of constraint.
(a)

(b)
(c)
(d)
(e)
(f)
Fig. 11. Regional 3D MT inversion cross-sections [54] compared with pseudo-2D sections from the NPI 1D inversions along profiles A-A' (left) and B-B', upper 5 km. Profiles A-A' and B-B' run approximately southwest-northeast and northwest-southeast across the Gabbs Valley survey area. (a, b) resistivity from the 3D inversion. (c, d) NPI pseudo-2D sections, stitched from ensemble-mean 1D estimates at stations projected onto each profile. (e, f) factor of uncertainty from the NPI ensembles. Station locations are marked at the top of each panel. A shallow conductive layer consistent with a geothermal clay cap is indicated in (c, d).
APPENDIX E: SENSITIVITY OF NPI RESULTS TO THE FINE-TUNING TARGET
Station-wise fine-tuning (Section II-E) is driven by a target data misfit level rather than by direct selection of the weights , , (Section II-E4). To show how the target governs the recovered structure in practice, we repeat fine-tuning at two representative stations (GV06 and GV120) under a target nRMS of 1.00, the nominal target corresponding to the expected data misfit level, and a representative loosened value of 1.50 (Figure 12).
Relaxing the target from 1.00 to 1.50 suppresses finer-scale structure within the conductive zone at both stations, producing a comparatively simpler resistivity profile, while the large-scale conductive feature persists under either target. Structure that appears only under the tighter target is therefore structure the data do not uniquely require, consistent with the non-uniqueness argument of Section IV-E. The fit level acts as the operative control on model complexity in the workflow, with the fixed weights setting the character of the regularization and the target setting how strongly it binds.
(a)
Station GV06: NPI at different fine-tuning targets
target nRMS = 1.50
target nRMS = 1.00

(b)
Station GV120: NPI at different fine-tuning targets
target nRMS = 1.50
target nRMS = 1.00
Fig. 12. Fine-tuning target sensitivity test. (a) Station GV06 and (b) station GV120, each at target nRMS = 1.50 (left, blue) and target nRMS = 1.00 (right, orange). In each, the left panel shows the resistivity ensemble mean and 95% interval, and the right panels compare forward-modeled apparent resistivity and phase against the observed data. Relaxing the target to 1.50 suppresses internal resistivity structure within the conductive zone, acting similarly to stronger regularization, though through early stopping rather than a loss weight, while the large-scale conductive feature persists under either target.
APPENDIX F: PHASE TENSOR ANALYSIS AND DIMENSIONALITY DIAGNOSTICS
Figure 13 shows phase tensor maps at six representative periods, providing dimensionality diagnostics that contextualize applying a 1D framework to field data that may contain higher-dimensional structure. Each ellipse represents the MT phase tensor [87], with color giving the skew angle , where small is consistent with approximately 1D or 2D structure, while larger indicates three-dimensionality or lateral conductivity gradients [87], [88]. Because the phase tensor is insensitive to galvanic distortion, is a robust dimensionality diagnostic independent of static shift, though it is a continuous measure of complexity rather than a strict classification.
Across the array, the ellipses change in shape, orientation, and skew with period. At shorter periods most stations show compact, weakly skewed ellipses, consistent with simpler structure at shallow depth. At longer periods, increased ellipticity, rotation, and larger at some stations indicate stronger 3D effects in the deeper crust. An independent WALDIM analysis [78], which evaluates dimensionality from impedance-tensor rotational invariants, is consistent with these observations, showing similar depth- and period-dependent transitions between approximately 1D, 2D, and more strongly 3D behavior.
These diagnostics are qualitative context for interpreting the real-data NPI results, not used in the inversion or quantitatively linked to the spatial distribution of NPI ensemble spread; they indicate where the 1D assumption is more or less appropriate, motivating caution at stations and periods where multidimensionality is significant.
(a)

(b)
(c)
Period = 0.450144 s
(d)
Period = 3.14413 s
(e)
Period = 41.979 s
(f)
Period = 560.485 s
Beta Skew ( )
Fig. 13. Phase tensor maps for the Gabbs Valley MT dataset at six representative periods. Ellipse shape and orientation depict the phase tensor at each station [87], and color indicates the skew angle , a measure of departure from 1D or 2D structure, with larger indicating stronger three-dimensional effects. Background is satellite imagery of the study area.
TABLE II METHOD PARAMETERS
| Component | Parameter | Value |
|---|---|---|
| EnsCGP | Ensemble size | 500 |
| Localization | 500 nearest neighbors, cosine distance in data space | |
| Observation noise model | ||
| ResNet-1D pretraining | Architecture | 2-channel input, conv stem (32), four residual blocks (32→64→128→64→32), global average pool, FC(32→64→89) |
| Optimizer | AdamW, learning rate , weight decay | |
| Loss | Huber, | |
| Scheduler | ReduceLROnPlateau, patience 50, factor 0.5, minimum learning rate | |
| Batch size, max epochs, early-stop patience | 64, 1000, 200 | |
| Cross-validation, seed | 5-fold, seed 0 | |
| NPI input target | EnsCGP ensemble-mean response residual | |
| End-to-end input target | raw noisy response full profile | |
| Per-station fine-tuning (Eq. 8) | Optimizer | Adam with gradient clipping (max norm 1.0), learning rate |
| Stopping | maximum 3000 iterations, patience 20 epochs, minimum improvement | |
| (Eq. 12) | 0.3, fixed | |
| (Eq. 13) | , fixed | |
| (Eq. 12) | adaptive: initial value , multiplied by 1.2 or 0.8 each epoch depending on whether the current misfit sits above or below the target band (), clipped to | |
| Target nRMS | 1.0 | |
| RTO-TKO | Roughening blend | 0.3 |
| initial 50.0 (10.0 in the standalone timing notebook), then Gibbs-sampled: | ||
| , fixed | ||
| Data weights | identical to EnsCGP and NPI () | |
| Per-draw solve | damped Gauss–Newton, maximum 40 iterations, up to 30 backtracking steps, tolerance | |
| Draws | 500 kept, 50 burn-in |
APPENDIX G: IMPLEMENTATION PARAMETERS AND COMPUTATIONAL ENVIRONMENT
Table II reports the parameters governing EnsCGP, the ResNet-1D pretraining shared by NPI and the end-to-end baseline, per-station fine-tuning, and RTO-TKO, to the level of detail needed for reproduction. Table III reports the computational environment and execution time underlying the comparison in Section III-B3, measured at station GV129.
EnsCGP forward models the conditioned ensemble in parallel across four worker processes. RTO-TKO draws form a serial Markov chain, since each draw's Gauss-Newton warm start is the previous draw's solution and the smoothing weight is updated by a sequential Gibbs step; within a single draw the Jacobian assembly parallelizes across frequency via a thread pool. We sample the regularization weight from its closed-form Gamma posterior (Table II) rather than Blatter et al.'s (2022) [9] uniform-prior, bounded-optimization TKO step, avoiding a second nested optimization per Gibbs iteration. Ensemble propagation through the NPI network batches members through a single forward pass, while the subsequent per-member forward-modeling step used to report the response ensemble runs as a serial loop.
Hardware: AMD Ryzen 5 PRO 4650U (6 physical cores, 12 logical processors, 2.10 GHz base, 8.0 MB L3 cache), 7.9 GB RAM allocated to the WSL2 environment, no GPU. EnsCGP and RTO-TKO use NumPy and SciPy; NPI and the end-to-end baseline additionally use PyTorch (CPU only).
APPENDIX H: CAPACITY-MATCHED ABLATION OF THE END-TO-END NETWORK
As introduced in Section IV-B, we repeat the Table I comparison with a reduced-capacity backbone applied identically to the end-to-end mapping and to the NPI residual correction (Equation 4), so that architecture is held fixed across methods and any accuracy difference reflects the two-stage decomposition rather than capacity.
The reduced backbone (CompactNet1D) replaces the four residual blocks of Appendix A with two plain convolutional layers (8 and 16 channels, kernel size 5), global average pooling, and a single linear layer mapping the 16-channel bottleneck directly to the 89-cell depth profile (2,257 parameters), a 75-fold reduction from the main architecture. The bottleneck width follows the effective dimensionality of the target: a singular value decomposition of the NPI residual field on out-of-fold validation data shows 9, 11, and 16 components explain 90%, 95%, and 99% of depth-wise variance across the 89 cells, so a 16-channel bottleneck sits at approximately the 95% point. Both arms otherwise follow the training protocol of Appendix G (AdamW, Huber loss, ReduceLROnPlateau, 5-fold cross-validation).
For the end-to-end network we retain a dropout layer (rate 0.2) after the first convolutional layer, active during training and, for this ablation, also active at inference: keeping the network in evaluation mode but switching the dropout submodule back to training mode induces independent stochastic forward passes per example, forming a Monte Carlo dropout ensemble [80] as an approximate, architecture-preserving uncertainty estimate, a lighter-weight alternative to the diffusion or normalizing-flow redesign discussed in Section IV-B, applied post hoc to a network not trained to produce a distribution. The NPI arm uses the same reduced backbone without dropout at inference; its ensemble spread comes entirely from propagating the EnsCGP members through the deterministic network, rather than any stochastic
TABLE III COMPUTATIONAL ENVIRONMENT AND INFERENCE TIME AT STATION GV129
| Method | Time (s) | Ensemble | Per-member / per-draw cost | Execution |
|---|---|---|---|---|
| EnsCGP | 1.03 | 500 | 0.00205 s per member | parallel, 4 worker processes |
| NPI | 11.96 | 500 | fine-tuning 11.01 s (independent of ensemble size); propagation and forward modeling 0.00190 s per member | fine-tuning single-threaded; propagation batched; per-member forward modeling serial |
| RTO-TKO | 640.07 | 500 (+50 burn-in) | 1.28 s per kept sample (1.16 s per draw including burn-in) | serial Markov chain; per-draw Jacobian assembly parallel, 16 threads |
| End-to-end | 5.19 | n/a | n/a, single point estimate | single-threaded |
No ensemble; reported for completeness and not part of the EnsCGP, NPI, and RTO-TKO comparison in Section III-B3.
TABLE IV CAPACITY-MATCHED ABLATION: ENSCGP, NPI, AND END-TO-END WITH MONTE CARLO DROPOUT
| Setting | Method | Accuracy | Ensemble | |||||
|---|---|---|---|---|---|---|---|---|
| RMS | nRMS | mean U | 90% | 95% | Percentile | Spread/error | ||
| In distribution | EnsCGP | 0.124 | 1.200 | 1.79 | 88.3% | 93.8% | 42 | 0.98 |
| NPI | 0.114 | 1.058 | 1.83 | 93.1% | 96.8% | 53 | 1.10 | |
| End-to-end (MC dropout) | 0.191 | 1.798 | 1.58 | 59.2% | 66.9% | 47 | 0.52 | |
| Out of distribution | EnsCGP | 0.196 | 1.608 | 1.68 | 72.7% | 78.0% | 44 | 0.55 |
| NPI | 0.192 | 1.583 | 1.71 | 74.6% | 79.9% | 54 | 0.57 | |
| End-to-end (MC dropout) | 0.346 | 2.874 | 1.83 | 46.2% | 53.3% | 45 | 0.36 | |
sampling internal to the corrector.
We evaluate EnsCGP, NPI, and the end-to-end network with Monte Carlo dropout on 1,000 held-out synthetic examples drawn from the training prior (in-distribution) and a further 1,000 examples drawn under the homogeneous half-space prior of Appendix C (out-of-distribution), which replaces the depth-structured mean and variance of the GMRF prior with a constant mean and a depth-independent standard deviation in , using the accuracy, misfit, and coverage diagnostics of Section III-A2. As in the main synthetic test, EnsCGP conditions each example once and the pretrained network is applied with parameters fixed; no per-station fine-tuning is used, matching the synthetic-testing protocol of Section II-D5 rather than the real-data protocol of Section II-E. The EnsCGP localization neighborhood, and correspondingly the ensemble size for EnsCGP and NPI, is in this ablation; all three methods compared here use matched ensemble or sample sizes, so the comparison remains internally consistent.
Figure 14 shows two representative examples, one in distribution and one under distribution shift, comparing EnsCGP, NPI, and the end-to-end network with Monte Carlo dropout. Table IV reports the results averaged over the full test sets.
With capacity matched, the accuracy edge of the end-to-end network in Table I disappears. NPI's RMS resistivity error and nRMS data misfit are each roughly lower than the end-to-end network's in distribution, widening under distribution shift, while EnsCGP alone already outperforms the end-to-end network on both metrics (Table IV).
NPI's coverage remains far closer to nominal than the end-to-end network's in both settings, with the truth well-centered in the ensemble throughout. The end-to-end network's Monte Carlo dropout ensemble reaches only 59–67% coverage against 90%/95% nominal in distribution, roughly half the interval width reliable coverage requires, and degrades

Fig. 14. Representative examples from the capacity-matched ablation, compared across EnsCGP, NPI, and the end-to-end network with Monte Carlo dropout (left to right within each row). For each method, the left panel shows the true resistivity model (black), ensemble mean (colored), and 95% interval (shaded). Right panels show the corresponding forward-modeled apparent resistivity (top) and phase (bottom) against the observations (black, with error bars). (a) A representative in-distribution example. (b) A representative out-of-distribution example, drawn from the homogeneous half-space prior of Appendix C.
further under distribution shift, even though it too is centered near the true percentile. EnsCGP's own coverage also degrades under distribution shift, though less severely than the end-to-end network's.
REFERENCES
[1] A. Tarantola, “The General Discrete Inverse Problem,” in Inverse Problem Theory and Methods for Model Parameter Estimation, ser. Other Titles in Applied Mathematics. Paris, France: Society for Industrial and Applied Mathematics, 2005, pp. 1–40.
[2] R. C. Aster, B. Borchers, and C. H. Thurber, “Chapter Three - Rank Deficiency and Ill-Conditioning,” in Parameter Estimation and Inverse Problems, 2nd ed., R. C. Aster, B. Borchers, and C. H. Thurber, Eds. Boston: Academic Press, 2013, pp. 55–91.
[3] A. D. Chave and A. G. Jones, “Introduction to the magnetotelluric method,” in The Magnetotelluric Method: Theory and Practice, A. D. Chave and A. G. Jones, Eds. Cambridge: Cambridge University Press, 2012, pp. 1–18.
[4] R. L. Evans, “Conductivity of earth materials,” in The Magnetotelluric Method: Theory and Practice, A. D. Chave and A. G. Jones, Eds. Cambridge: Cambridge University Press, 2012, pp. 50–95.
[5] S. C. Constable, R. L. Parker, and C. G. Constable, “Occam’s inversion: A practical algorithm for generating smooth models from electromagnetic sounding data,” GEOPHYSICS, vol. 52, no. 3, pp. 289–300, 1987.
[6] W. Rodi and R. L. Mackie, “Nonlinear conjugate gradients algorithm for 2-D magnetotelluric inversion,” GEOPHYSICS, vol. 66, no. 1, pp. 174–187, 2001.
[7] A. Tarantola, “Monte Carlo Methods,” in Inverse Problem Theory and Methods for Model Parameter Estimation. Paris, France: Society for Industrial and Applied Mathematics, 2005, pp. 41–55.
[8] D. Blatter, K. Key, A. Ray, C. Gustafson, and R. Evans, “Bayesian joint inversion of controlled source electromagnetic and magnetotelluric data to image freshwater aquifer offshore New Jersey,” Geophysical Journal International, vol. 218, no. 3, pp. 1822–1837, Jun. 2019.
[9] D. Blatter, M. Morzfeld, K. Key, and S. Constable, “Uncertainty quantification for regularized inversion of electromagnetic geophysical data—Part I: Motivation and theory,” Geophysical Journal International, vol. 231, no. 2, pp. 1057–1074, Jun. 2022.
[10] G. Evensen, “The Ensemble Kalman Filter: Theoretical formulation and practical implementation,” Ocean Dynamics, vol. 53, no. 4, pp. 343–367, Nov. 2003.
[11] ___,“Ensemble methods,” in Data Assimilation: The Ensemble Kalman Filter. Berlin, Heidelberg: Springer Berlin Heidelberg, 2009, pp. 119–137.
[12] G. D. Egbert, “Robust multiple-station magnetotelluric data processing,” Geophysical Journal International, vol. 130, no. 2, pp. 475–496, Aug. 1997.
[13] I. J. Ferguson, “Instrumentation and field procedures,” in The Magnetotelluric Method: Theory and Practice, A. D. Chave and A. G. Jones, Eds. Cambridge: Cambridge University Press, 2012, pp. 421–479.
[14] F. Simpson and K. Bahr, “Planning a field campaign,” in Practical Magnetotellurics. Cambridge: Cambridge University Press, 2005, pp. 37–57.
[15] Y. Chen and D. S. Oliver, “Levenberg–Marquardt forms of the iterative ensemble smoother for efficient history matching and uncertainty quantification,” Computational Geosciences, vol. 17, no. 4, pp. 689–703, Aug. 2013.
[16] A. A. Emerick and A. C. Reynolds, “Ensemble smoother with multiple data assimilation,” Computers & Geosciences, vol. 55, pp. 3–15, 2013.
[17] V. Puzyrev, “Deep learning electromagnetic inversion with convolutional neural networks,” Geophysical Journal International, vol. 218, no. 2, pp. 817–832, Aug. 2019.
[18] V. Puzyrev and A. Swidinsky, “Inversion of 1D frequency- and time-domain electromagnetic data with convolutional neural networks,” Computers & Geosciences, vol. 149, p. 104681, Apr. 2021.
[19] W. Liu, Q. Lü, L. Yang, P. Lin, and Z. Wang, “Application of sample-compressed neural network and adaptive-clustering algorithm for magnetotelluric inverse modeling,” IEEE Geoscience and Remote Sensing Letters, vol. 18, no. 9, pp. 1540–1544, 2021.
[20] S. Wu, Q. Huang, and L. Zhao, “Fast bayesian inversion of airborne electromagnetic data based on the invertible neural network,” IEEE Transactions on Geoscience and Remote Sensing, vol. 61, pp. 1–11, 2023.
[21] K. Xu, S. Liang, Y. Lu, and Z. Hu, “Magnetotelluric data inversion based on deep learning with the self-attention mechanism,” IEEE Transactions on Geoscience and Remote Sensing, vol. 62, pp. 1–10, 2024.
[22] M. Raissi, P. Perdikaris, and G. Karniadakis, “Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations,” Journal of Computational Physics, vol. 378, pp. 686–707, Feb. 2019.
[23] A. Daw, A. Karpatne, W. Watkins, J. Read, and V. Kumar, “Physics-guided neural networks (PGNN): An application in lake temperature modeling,” 2021.
[24] Z. Liu, H. Chen, Z. Ren, J. Tang, Z. Xu, Y. Chen, and X. Liu, "Deep learning audio magnetotellurics inversion using residual-based deep convolution neural network," Journal of Applied Geophysics, vol. 188, p. 104309, May 2021.
[25] T. M. Hansen and C. C. Finlay, “Use of Machine Learning to Estimate Statistics of the Posterior Distribution in Probabilistic Inverse Problems—An Application to Airborne EM Data,” Journal of Geophysical Research: Solid Earth, vol. 127, no. 11, p. e2022JB024703, Nov. 2022.
[26] G. Bittar, S. Wu, Y. Su, S. Zeng, J. Sun, X. Wu, Y. Huang, and J. Chen, “Invertible neural network for real-time inversion and uncertainty quantification of ultra-deep resistivity measurements,” Computers & Geosciences, vol. 207, p. 106067, Feb. 2026.
[27] J. Narciso, C. Bobe, L. Azevedo, and E. Van De Vijver, “A comparison between Kalman ensemble generator and geostatistical frequency-domain electromagnetic inversion: The impacts on near-surface characterization,” Geophysics, vol. 87, no. 5, pp. E335–E346, Aug. 2022.
[28] M. Liu, J. Narciso, D. Grana, E. Van De Vijver, and L. Azevedo, “Frequency-domain electromagnetic induction for the prediction of electrical conductivity and magnetic susceptibility using geostatistical inversion and randomized tensor decomposition,” Geophysics, vol. 88, no. 6, pp. E159–E171, Sep. 2023.
[29] Y. LeCun, Y. Bengio, and G. Hinton, "Deep learning," Nature, vol. 521, no. 7553, pp. 436–444, May 2015.
[30] C. Rudin, “Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead,” Nature Machine Intelligence, vol. 1, no. 5, pp. 206–215, May 2019.
[31] X. Li, H. Xiong, X. Li, X. Wu, X. Zhang, J. Liu, J. Bian, and D. Dou, “Interpretable deep learning: Interpretation, interpretability, trustworthiness, and beyond,” Knowledge and Information Systems, vol. 64, no. 12, pp. 3197–3234, Dec. 2022.
[32] M. Rahmani Jevinani, B. Habibian Dehkordi, I. J. Ferguson, and M. H. Rohban, “Deep learning-based 1-D magnetotelluric inversion: Performance comparison of architectures,” Earth Science Informatics, vol. 17, no. 2, pp. 1663–1677, Apr. 2024.
[33] P. Goyes-Peñafiel, U. Bin Waheed, and H. Arguello, “Physically guided deep unsupervised inversion for 1-D magnetotelluric models,” IEEE Geoscience and Remote Sensing Letters, vol. 22, pp. 1–5, 2025.
[34] H. Saibi, A. Hireche, T. Tsuji, M. Y. Ali, and A. B. Ahmad, “Comparison of deep learning models for 1D magnetotelluric inversion,” Applied Computing and Geosciences, vol. 29, p. 100320, Feb. 2026.
[35] A. Saha and S. Ravela, “Statistical-Physical Adversarial Learning From Data and Models for Downscaling Rainfall Extremes,” Journal of Advances in Modeling Earth Systems, vol. 16, no. 6, p. e2023MS003860, Jun. 2024.
[36] M. Trautner, G. Margolis, and S. Ravela, “Informative Ensemble Kalman Learning for Neural Structure,” in Dynamic Data Driven Applications Systems, F. Darema, E. Blasch, S. Ravela, and A. Aved, Eds. Cham: Springer International Publishing, 2020, pp. 191–199.
[37] S. Ravela and D. McLaughlin, “Fast ensemble smoothing,” Ocean Dynamics, vol. 57, no. 2, pp. 123–134, Apr. 2007.
[38] S. Ravela, J. D. Kim, K. Gee, X. Yan, S. Mercier, L. Albarghouty, and A. Saha, “Ensemble-conditional gaussian processes (ens-CGP): Representation, geometry, and inference,” 2026.
[39] X. Dong, Z. Yuan, J. Lin, S. Dong, X. Tong, and Y. Li, “PreAdaptFWI: Pretrained-based adaptive residual learning for full-waveform inversion without dataset dependency,” arXiv preprint arXiv:2502.11913, 2025.
[40] S. Dong, J. Gao, S. Zhou, B. Wu, and H. Jia, “Enhanced 3D gravity inversion using ResU-net with density logging constraints a dual-phase training approach,” arXiv preprint arXiv2601.02890, 2026.
[41] M. Mardani, N. Brenowitz, Y. Cohen, J. Pathak, C.-Y. Chen, C.-C. Liu, A. Vahdat, M. A. Nabian, T. Ge, A. Subramaniam, K. Kashinath, J. Kautz, and M. Pritchard, “Residual corrective diffusion modeling for km-scale atmospheric downscaling,” Communications Earth & Environment, vol. 6, no. 1, p. 124, Feb. 2025.
[42] L. Song, X. Yin, Z. Zong, and M. Jiang, “Semi-supervised learning seismic inversion based on Spatio-temporal sequence residual modeling neural network,” Journal of Petroleum Science and Engineering, vol. 208, p. 109549, Jan. 2022.
[43] M. Trautner, G. Margolis, and S. Ravela, “Informative neural ensemble kalman learning,” 2020.
[44] G. Burgers, P. J. Van Leeuwen, and G. Evensen, “Analysis scheme is the ensemble Kalman filter,” Monthly Weather Review, vol. 126, no. 6, pp. 1719–1724, Jun. 1998.
[45] S. Ravela, J. Marshall, C. Hill, A. Wong, and S. Stransky, “A realtime observatory for laboratory simulation of planetary flows,” Experiments in Fluids, vol. 48, no. 5, pp. 915–925, May 2010.
[46] J. L. Anderson and S. L. Anderson, “A monte carlo implementation of the nonlinear filtering problem to produce ensemble assimilations and forecasts,” Monthly Weather Review, vol. 127, no. 12, pp. 2741–2758, 1999.
[47] J. L. Anderson, “An adaptive covariance inflation error correction algorithm for ensemble filters,” Tellus A, vol. 59, no. 2, pp. 210–224, Mar. 2007.
[48] J. S. Whitaker and T. M. Hamill, “Ensemble data assimilation without perturbed observations,” Monthly Weather Review, vol. 130, no. 7, pp. 1913–1924, 2002.
[49] —, “Evaluating methods to account for system errors in ensemble data assimilation,” Monthly Weather Review, vol. 140, no. 9, pp. 3078–3089, 2012.
[50] M. A. Iglesias, K. J. H. Law, and A. M. Stuart, “Ensemble Kalman methods for inverse problems,” Inverse Problems, vol. 29, no. 4, p. 045001, Mar. 2013.
[51] C. Schillings and A. M. Stuart, “Analysis of the Ensemble Kalman Filter for Inverse Problems,” SIAM Journal on Numerical Analysis, vol. 55, no. 3, pp. 1264–1290, Jan. 2017.
[52] K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Jun. 2016.
[53] J. R. Peacock, “Magnetotelluric data from Gabbs Valley, Nevada, 2017,” 2019.
[54] J. R. Peacock, D. L. Siler, B. J. Dean, and L. A. Zielinski, “Magnetotelluric Data from the Gabbs Valley Region, Nevada, 2020,” 2021.
[55] J. R. Peacock and D. L. Siler, “Bottom-Up and Top-Down Control on Hydrothermal Resources in the Great Basin: An Example From Gabbs Valley, Nevada,” Geophysical Research Letters, vol. 48, no. 23, p. e2021GL095009, Dec. 2021.
[56] J. R. Wait, “ON THE RELATION BETWEEN TELLURIC CURRENTS AND THE EARTH’S MAGNETIC FIELD,” GEOPHYSICS, vol. 19, no. 2, pp. 281–289, Apr. 1954.
[57] I. Loshchilov and F. Hutter, “Decoupled weight decay regularization,” 2019.
[58] P. J. Huber, “Robust Estimation of a Location Parameter,” The Annals of Mathematical Statistics, vol. 35, no. 1, pp. 73–101, 1964.
[59] P. Weidelt and A. D. Chave, “The magnetotelluric response function,” in The Magnetotelluric Method: Theory and Practice, A. D. Chave and A. G. Jones, Eds. Cambridge: Cambridge University Press, 2012, pp. 122–164.
[60] D. Blatter, M. Morzfeld, K. Key, and S. Constable, “Uncertainty quantification for regularized inversion of electromagnetic geophysical data – Part II: Application in 1-D and 2-D problems,” Geophysical Journal International, vol. 231, no. 2, pp. 1075–1095, Nov. 2022.
[61] J. T. Weaver, A. K. Agarwal, and F. E. M. Lilley, “Characterization of the magnetotelluric tensor in terms of its invariants,” Geophysical Journal International, vol. 141, no. 2, pp. 321–336, May 2000.
[62] J. H. Dilles and P. B. Gans, “The chronology of Cenozoic volcanism and deformation in the Yerington area, western Basin and Range and Walker Lane,” GSA Bulletin, vol. 107, no. 4, pp. 474–486, Apr. 1995.
[63] O. Bellier and M. L. Zoback, “Recent state of stress change in the Walker Lane zone, western Basin and Range province, United States,” Tectonics, vol. 14, no. 3, pp. 564–593, Jun. 1995.
[64] S. G. Wesnousky, “Active faulting in the Walker Lane,” Tectonics, vol. 24, no. 3, Jun. 2005.
[65] J. Lee, A. K. Hoxey, A. Calvert, and P. Dubyoski, “Plate boundary trench retreat and dextral shear drive intracontinental fault-slip histories: Neogene dextral faulting across the Gabbs Valley and Gillis Ranges, Central Walker Lane, Nevada,” Geosphere, vol. 16, no. 5, pp. 1249–1275, Jul. 2020.
[66] J. E. Faulds, C. D. Henry, and N. H. Hinz, “Kinematics of the northern Walker Lane: An incipient transform fault along the Pacific–North American plate boundary,” Geology, vol. 33, no. 6, pp. 505–508, Jun. 2005.
[67] J. E. Faulds and C. D. Henry, “Tectonic influences on the spatial and temporal evolution of the Walker Lane: An incipient transform fault along the evolving Pacific - North American plate boundary,” in Ores and Orogenesis: Circum-Pacific Tectonics, Geologic Evolution, and Ore Deposits, J. E. Spencer and S. R. Titley, Eds. Arizona Geological Society Digest 22, Jan. 2008, vol. 22, pp. 437–470.
[68] J. P. Colgan, T. A. Dumitru, P. W. Reiners, J. L. Wooden, and E. L. Miller, “Cenozoic Tectonic Evolution of the Basin and Range Province
in Northwestern Nevada," American Journal of Science, vol. 306, no. 8, pp. 616–654, Oct. 2006.
[69] B. Wernicke, “Cenozoic extensional tectonics of the U.S. Cordillera,” in The Cordilleran Orogen: Conterminous U.S., B. Burchfiel, P. Lipman, and M. Zoback, Eds. Geological Society of America, Jan. 1992, p. 0.
[70] A. H. Lachenbruch, “Heat flow in the Basin and Range province and thermal effects of tectonic extension,” pure and applied geophysics, vol. 117, no. 1, pp. 34–50, Jan. 1978.
[71] D. D. Blackwell, “Heat flow in the northern Basin and Range Province,” Special Report - Geothermal Resources Council, vol. 13, pp. 81–92, 1983.
[72] R. Orenstein, B. Delwiche, and J. W. Lovekin, “The don a. Campbell geothermal project - development of a low-temperature resource,” in Proceedings World Geothermal Congress 2015, 2015.
[73] J. W. Craig, J. E. Faulds, N. H. Hinz, T. E. Earney, W. D. Schermerhorn, D. L. Siler, J. M. Glen, J. Peacock, M. F. Coolbaugh, and S. B. Deoreo, "Discovery and analysis of a blind geothermal system in southeastern Gabbs Valley, western Nevada, USA," Geothermics, vol. 97, p. 102177, Dec. 2021.
[74] C. Kratt, M. Coolbaugh, C. Sladek, R. Zehner, R. Penfield, and B. Delwiche, “A new gold pan for the west: Discovering blind geothermal systems with shallow temperature surveys,” Transactions - Geothermal Resources Council, vol. 32, pp. 130–135, Jan. 2008.
[75] A. D. Chave and D. J. Thomson, “Bounded influence magnetotelluric response function estimation,” Geophysical Journal International, vol. 157, no. 3, pp. 988–1006, Jun. 2004.
[76] L. Szarka and M. Menvielle, “Analysis of rotational invariants of the magnetotelluric impedance tensor,” Geophysical Journal International, vol. 129, no. 1, pp. 133–142, Apr. 1997.
[77] J. T. Weaver, A. K. Agarwal, and F. E. M. Lilley, “The Relationship Between the Magnetotelluric Tensor Invariants And The Phase Tensor Of Caldwell, Bibby, And Brown,” Exploration Geophysics, vol. 37, no. 3, pp. 261–267, Sep. 2006.
[78] A. Marti, P. Queralt, and J. Ledo, “WALDIM: A code for the dimensionality analysis of magnetotelluric data using the rotational invariants of the magnetotelluric tensor,” Computers & Geosciences, vol. 35, no. 12, pp. 2295–2303, Dec. 2009.
[79] U.S. Geological Survey, “Quaternary fault and fold database of the United States,” U.S. Geological Survey website, 2006.
[80] Y. Gal and Z. Ghahramani, “Dropout as a bayesian approximation: Representing model uncertainty in deep learning,” in Proceedings of the 33rd International Conference on Machine Learning, ser. Proceedings of Machine Learning Research, M. F. Balcan and K. Q. Weinberger, Eds., vol. 48. New York, New York, USA: PMLR, Jun. 2016, pp. 1050–1059.
[81] N. Srivastava, G. Hinton, A. Krizhevsky, I. Sutskever, and R. Salakhutdinov, “Dropout: A simple way to prevent neural networks from overfitting,” Journal of Machine Learning Research, vol. 15, no. 56, pp. 1929–1958, 2014.
[82] J. D. Kim, “Npi-mt: Neuro-Physical Inverter for 1D magnetotelluric data,” 2026. [Online]. Available: https://github.com/kimjaed/npi-mt
[83] G. A. Newman, E. Gasperikova, G. M. Hoversten, and P. E. Wannamaker, “Three-dimensional magnetotelluric characterization of the Coso geothermal field,” Geothermics, vol. 37, no. 4, pp. 369–399, Aug. 2008.
[84] W. B. Cumming, “Geothermal resource conceptual models using surface exploration data,” in Thirty-Fourth Workshop on Geothermal Reservoir Engineering, 2009.
[85] G. Muñoz, “Exploring for Geothermal Resources with Electromagnetic Methods,” Surveys in Geophysics, vol. 35, no. 1, pp. 101–122, Jan. 2014.
[86] P. E. Wannamaker, J. Faulds, B. M. Kennedy, V. Maris, D. Siler, C. Ulrich, and J. Moore, “Integrating magnetotellurics, soil gas geochemistry and structural analysis to identify hidden, high enthalpy, extensional geothermal systems,” in Proceedings, 44th Workshop on Geothermal Reservoir Engineering. Stanford, California: Stanford University / Geology, Minerals, Energy, and Geophysics Science Center / Stanford Geothermal Conference, 2019, pp. SGP–TR–214, 19 p.
[87] T. G. Caldwell, H. M. Bibby, and C. Brown, “The magnetotelluric phase tensor,” Geophysical Journal International, vol. 158, no. 2, pp. 457–469, Aug. 2004.
[88] J. R. Booker, “The Magnetotelluric Phase Tensor: A Critical Review,” Surveys in Geophysics, vol. 35, no. 1, pp. 7–40, Jan. 2014.