Learning a Neural Solver for Parametric PDEs to Enhance Physics-Informed Methods

Lise Le Boudec, Emmanuel de Bezenac, Louis Serrano, Ramon Daniel Regueiro-Espino, Yuan Yin, Patrick Gallinari

Overview

Physics-Informed Neural Networks (PINNs) are notoriously difficult to train due to highly ill-conditioned loss landscapes. This paper introduces a "learned neural solver" that acts as a custom optimizer, using data to learn how to efficiently minimize the physics-based loss for parametric Partial Differential Equations (PDEs). The result is a solver that converges on new, unseen PDE instances in just a handful of steps, making it thousands of times faster than traditional PINNs.

The Challenge with Standard PINNs

Solving PDEs is foundational to science and engineering. Recently, unsupervised deep learning methods like PINNs have emerged to solve PDEs by using neural networks to minimize the PDE's physical residual loss.

However, PINNs suffer from two significant challenges:

  1. Ill-conditioned optimization: The differential operators in the PDE loss create a highly warped, ill-conditioned loss landscape. Standard optimizers like Adam or SGD struggle immensely here, often requiring tens of thousands of iterations or failing to converge entirely.
  2. Single-instance limitation: A vanilla PINN solves exactly one specific equation. If a boundary condition or a physical coefficient changes, the network must be retrained from scratch.

To tackle these issues, the authors propose learning a custom optimizer that understands the underlying physics and can solve a whole family of parametric PDEs instantly, rather than relying on generic optimizers to navigate a difficult loss landscape.

Methodology: Learning to Optimize

The authors frame this as a "learning to optimize" (meta-learning) problem, replacing standard gradient descent with a neural network-based solver.

Architecture of the Learned Neural Solver

The architecture is divided into three core concepts:

  • The Ansatz (The Solution Model): Instead of a standard multi-layer perceptron, the PDE solution is modeled as a linear combination of predefined B-Spline basis functions. The goal of the optimizer is to find the right weights (parameters) for these basis functions.
  • The Neural Solver (The Optimizer): A neural network (using Fourier Neural Operator layers) is trained to act as the optimizer. At each step, this solver takes in the current gradient of the physical PDE loss, along with the specific PDE parameters (coefficients, forcing terms, boundary conditions), and predicts the optimal update step for the ansatz parameters.
  • Training vs. Inference: During training, the solver is optimized across a dataset of PDE instances using a standard data loss (Mean Squared Error against ground truth solutions). At inference time, the solver operates unsupervised. Given a new PDE instance, it relies solely on the physical PDE residual loss to guide the ansatz to the correct solution in just a few iterative steps.

Evaluated Datasets

The authors evaluated their method on several 1D and 2D parametric PDEs, varying parameters like frequencies, forcing terms, and initial/boundary conditions.

Dataset Parameters and Distributions

The evaluated environments include:

  • 1D Static Helmholtz
  • 1D Static Poisson
  • 1D+time Non-linear Reaction-Diffusion (NLRD) (A known failure case for standard PINNs)
  • 2D Darcy Flow (Common in operator learning literature)
  • 2D+time Heat Equation
  • 1D+time Advection

Key Insights

  • Learned Preconditioning: The neural solver effectively acts as an optimal, non-linear preconditioner. The authors mathematically prove that for linear PDEs, if the solver perfectly minimizes the data loss during training, it effectively reduces the condition number of the physical loss landscape to 1, guaranteeing incredibly fast convergence.
  • Iterative Updates Over Direct Prediction: Learning the iterative gradient updates (a residual approach) is much more stable and generalizes better than training a network to directly output the final solution parameters in one shot.
  • Bridging Data-Driven and Physics-Driven Methods: Purely data-driven models are fast but can struggle with physical constraints, while purely physics-driven models (PINNs) respect physics but are slow to train. This method uses data offline to learn how to optimize, allowing it to rapidly solve purely physics-based losses online.

Results and Performance

  • Blazing Fast Inference: At test time, the learned neural solver converges to an accurate solution in just 2 to 5 steps. In contrast, standard optimizers (Adam, L-BFGS) applied to the same problem failed to converge even after 10,000 steps.
  • Massive Speedup: Because it adapts to new equations in a few steps without retraining from scratch, the method is approximately 5,000 times faster at solving a new PDE instance than training a traditional PINN.
  • Superior Accuracy: The proposed method outperformed unsupervised physics-informed baselines (like Parametric PINNs and Physics-Only DeepONets) by at least an order of magnitude in Relative MSE across all tested datasets.

Limitations and Future Work

  • High Memory Cost: Training the solver requires backpropagating through the unrolled optimization steps. This is highly memory-intensive, limiting the number of steps the solver can be trained on and making scaling to very high-dimensional bases difficult.
  • Linear Ansatz Constraint: The current implementation uses a linear combination of B-Splines to represent the solution. Using a full, deep neural network as the ansatz makes the ill-conditioning even worse due to compositional non-linearity, complicating the meta-training.
  • Theoretical Limits: The theoretical guarantees regarding the condition number currently only hold for linear PDEs, though empirical results show the method works well on non-linear PDEs (like Reaction-Diffusion) too. Future work aims to bridge this theoretical gap.

Summary updated

BibTeX
@inproceedings{boudec2025learning,
  author = {Lise Le Boudec and Emmanuel de Bezenac and Louis Serrano and Ramon Daniel Regueiro-Espino and Yuan Yin and Patrick Gallinari},
  title = {{Learning a Neural Solver for Parametric PDEs to Enhance Physics-Informed Methods}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=jqVj8vCQsT},
}
Figure