Variational Inverting Network for Statistical Inverse Problems of Partial Differential Equations

Junxiong Jia, Yanni Wu, Peijun Li, Deyu Meng

TL;DR

The authors introduce the Variational Inverting Network (VINet), a framework that brings deep generative modeling and amortized variational inference to infinite-dimensional Bayesian inverse problems governed by partial differential equations (PDEs). By coupling a fast, coarse physics-based inversion layer with neural networks that learn data-driven priors and non-i.i.d. noise statistics, VINet delivers accurate posterior mean and variance functions in milliseconds without requiring expensive iterative PDE solves during inference.

What Problem Does This Paper Address?

Many scientific and engineering applications—such as seismic exploration, radar imaging, and medical tomography—require estimating unknown parameters or source functions in partial differential equations (PDEs) from noisy, indirect measurements. Inverting these systems is notoriously ill-posed, making uncertainty quantification (UQ) essential.

The infinite-dimensional Bayesian framework formulates these tasks on function spaces (such as Hilbert spaces), ensuring algorithms behave consistently regardless of mesh discretization. However, classical methods face three major hurdles:

  1. Rigid, Hand-Crafted Priors: Standard priors (like Gaussian or Besov measures) primarily act as basic smoothness regularizers rather than capturing rich, data-driven domain geometry or sharp edges.
  2. Oversimplified Noise Models: Existing methods almost universally assume independent and identically distributed (i.i.d.) Gaussian noise, failing in practical settings where noise is heteroscedastic, multiplicative, or corrupted by forward-model discretization errors.
  3. Severe Computational Cost: Sampling posterior distributions (via MCMC) or solving traditional mean-field variational inference (MFVI) requires repeatedly running forward and adjoint PDE solvers—often hundreds or thousands of times per sample.

Methods

VINet reformulates infinite-dimensional variational inference (IDVI) into an amortized learning framework:

  • Infinite-Dimensional Variational Formulation: The authors derive the infinite-dimensional Evidence Lower Bound (ELBO) while rigorously establishing the equivalence of prior and variational posterior probability measures (applying the Feldman–Hájek theorem) to avoid singularity issues in function spaces.
  • Hierarchical Probabilistic Modeling: The noise covariance is modeled as a diagonal matrix with unknown non-i.i.d. variance hyperparameters assigned conjugate inverse-Gamma priors.
  • Network Architecture (VINet):
  • SNet ($\Sigma$-Network): A 5-layer DnCNN-based network that infers noise variance parameters ($\alpha, \beta$) directly from measurement data.
  • INet (Inverting Network): Predicts the posterior mean and covariance parameters of the unknown function $u$. It decomposes into three distinct stages:
  • DNet: A compact U-Net that denoises measurement data and absorbs modeling discrepancy errors.
  • CECInv Layer (Computationally Efficient Classical Inverse): A non-iterative, physics-informed layer (e.g., Truncated SVD or Recursive Linearization) calculated explicitly on a coarse grid using precomputed matrix multiplications.
  • ENet (Enhancing Network): Takes the rough physical reconstruction and noise estimates and refines them into the final posterior mean and variance functions. The authors evaluate two options for ENet: a U-Net with continuous mesh-rescaling layers and a Fourier Neural Operator (FNO).
       ┌──────┐    ┌────────┐    ┌────────┐
d ───> │ DNet │ ─> │ CECInv │ ─> │  ENet  │ ───> Posterior Mean (u_p) &
       └──────┘    └────────┘    └────────┘      Posterior Covariance (C_p)
          │                           ▲
          └─────── (Noise Var) ───────┘

Datasets

The authors evaluate VINet on two PDE inverse problems using high-resolution synthetic benchmarks to prevent "inverse crime" (generating synthetic ground truths on ultra-fine FEM meshes and evaluating inversions across coarser resolutions):

  1. Elliptic Inverse Source Benchmark:
  2. 1,000 synthetic 2D training fields generated from an anisotropic Gaussian random field ($400 \times 400$ fine grid).
  3. Type 1 Test Set: 100 in-distribution samples.
  4. Type 2 Test Set: 100 out-of-distribution samples generated with an added spatial sinusoidal mean bias ($2 + 0.2\sin(2\pi x)\sin(2\pi y)$) and multiplicative non-i.i.d. noise ($d = d_c + 0.1(\eta \odot d_c)$).
  5. Helmholtz Multi-Frequency Inverse Source Benchmark:
  6. 1,000 training functions featuring discontinuous, piecewise-constant circular shapes and internal Gaussian peaks ($500 \times 500$ fine grid) evaluated over 5 frequencies ($\kappa \in \{10, 20, 30, 40, 48\}$).
  7. Type 1 Test Set: 100 in-distribution samples.
  8. Type 2 Test Set: 100 out-of-distribution samples featuring additive perturbations to mimic prior model bias, with 5% Gaussian noise combined with model discrepancy noise between coarse ($30 \times 30$) and fine meshes.

Key Insights and Ideas

  • Preserving Measure Equivalence in Infinite Dimensions: In infinite dimensions, scaling a Gaussian covariance operator arbitrarily can make the resulting measure mutually singular to the prior, causing KL divergences to blow up. The authors overcome this by parameterizing the posterior covariance through $C_p = (a(d; W_I)\text{Id} + \delta A^{\alpha/2})^{-2}$, mathematically proving that bounding the neural network output $a(d; W_I)$ ensures strict measure equivalence.
  • Physics-Guided Amortization: Purely data-driven neural networks often generalize poorly to out-of-distribution physical systems. By sandwiching a classical coarse-grid inversion (CECInv) between learning modules (DNet and ENet), VINet anchors the learning process in physical reality while maintaining $O(1)$ matrix-vector evaluation speed.
  • Discrepancy and Noise Co-learning: By pairing SNet and DNet, the network automatically disentangles random measurement noise from structural model discrepancies caused by running forward simulations on coarse grids.

Key Results

  • Speedup: On a $300 \times 300$ mesh for the elliptic problem, iterative MFVI took 2921.9 seconds (~48 minutes) and TSVD took 86.8 seconds per sample on CPU. VINet required just 0.031 seconds (U-ENet) and 0.073 seconds (FNO-ENet)—a speedup of over $40,000\times$ compared to MFVI. On GPU, VINet evaluated in roughly 0.015 seconds.
  • Reconstruction Quality: On out-of-distribution (Type 2) elliptic data, VINet achieved relative $L^2$ errors around 8.0%–8.9% (FNO-ENet) and 8.8%–9.9% (U-ENet), substantially outperforming classical TSVD (14.4%–14.9%) and iterative MFVI (31.9%–36.1%).
  • Sharp Discontinuity Inversion: For the Helmholtz scattering benchmark, classical Recursive Linearization (RLM) smeared sharp edges, yielding errors $>21\%$. VINet preserved boundaries accurately, lowering relative error to ~4.0% (FNO-ENet) and ~6.3% (U-ENet).
  • Discretization Invariance: Reconstructions remained stable and well-behaved when tested across meshes ranging from $30 \times 30$ up to $300 \times 300$, confirming mesh-independent performance.

Limitations and Future Work

  • Linear and Linearized Regimes Only: The framework currently relies on conjugate prior-posterior relationships, limiting exact analytical formulations to linear forward operators or locally linearized systems.
  • Accuracy on Coarse Discretizations for Discontinuous Fields: When using FNO-ENet on very coarse meshes ($100 \times 100$) with sharp step discontinuities, numerical errors increased slightly because high-frequency truncation in FNO struggles with step boundaries.
  • Future Directions: Generalizing the framework to semi-conjugate variational inference to directly handle nonlinear PDE inverse problems without linearization, and replacing simple CECInv layers with learned operator surrogates.

Summary updated

BibTeX
@article{jia2023variational,
  author = {Junxiong Jia and Yanni Wu and Peijun Li and Deyu Meng},
  title = {{Variational Inverting Network for Statistical Inverse Problems of Partial Differential Equations}},
  journal = {J. Mach. Learn. Res.},
  year = {2023},
  url = {https://openreview.net/forum?id=JS28edMkE3},
}
Figure