The open-source approach uses PyTorch, differentiable equation solvers and neural networks for several control problems.
The paper presents a workflow for adjusting parameters or inputs in mathematical models described by partial differential equations. For linear equations, the method differentiates through a linear-system solver; for nonlinear equations, it uses a connection between FEniCS and PyTorch. Automatic differentiation calculates the gradients needed for optimization without requiring researchers to manually derive every auxiliary equation.
The authors apply the workflow to stationary and time-dependent problems, using finite-difference and finite-element discretizations. Their examples include Poisson problems, fluid–structure interaction, parameter estimation, control of a system's right-hand side, initial conditions and boundary conditions, as well as neural-network models that represent unknown quantities.
What the tools achieved
The authors show that their workflow can be used across several classes of PDE-constrained control problems. They report a parameter-estimation example in which 100 optimization steps with RPROP at a learning rate of 0.01 produced a loss of 0.014 and a six-component parameter estimate.
In a neural-network example for estimating a diffusion coefficient, all three tested strategies—data-driven training, physics-informed optimization and a mixed approach—produced coefficients that roughly resembled the target. The data-driven approach had a smaller error than the purely physics-informed approach, but required target-coefficient data on the fine mesh. The mixed approach had the lowest reported error in that comparison, although it used twice as many optimization steps by first training on a coarse mesh and then fine-tuning on a fine mesh. The authors also report that coarse-mesh pretraining gave the physics-informed optimization a better starting point and made training more stable.
Why the workflow matters
Optimal control with partial differential equations often requires derivatives through complex numerical solvers. By connecting differentiable solvers with PyTorch, the workflow provides a common way to optimize model parameters, inputs and neural-network representations across linear and nonlinear problems.
The accompanying source code is published on GitHub, which can make the examples and software easier for other researchers to inspect and adapt. The demonstrations suggest that the same basic approach can cover several types of control and discretization rather than requiring a separate manually derived optimization procedure for each example.
Evidence and limits
This is a numerical-methods article supported by mathematical descriptions, software implementations and computational examples, not experiments on physical engineering systems. The reported results come from selected PDE problems and optimization runs, so they do not establish that the approach will work equally well for every engineering model.
The method depends on having a differentiable PDE solver that can be accessed from PyTorch. The authors state that differentiability is assumed, and they note that the direct linear-system approach is not by itself sufficient for nonlinear PDEs; those cases require the FEniCS-based route. In the neural-network comparison, the mixed method used more optimization steps than the other approaches, so its lower error is not a comparison under identical training effort.