PINNs in PDE Constrained Optimal Control Problems: Direct vs Indirect Methods

2026-04-06Machine Learning

Machine Learning
AI summary

The authors explore using physics-informed neural networks (PINNs) to solve optimal control problems involving semilinear partial differential equations (PDEs). They describe two methods: one that directly minimizes a target while respecting the PDE, and another that uses the mathematical optimality conditions to guide learning. Focusing on the Allen-Cahn equation, they compare traditional and PINN-based approaches, finding that PINNs tend to create smoother control signals. Additionally, the indirect PINN method better respects the PDE constraints and produces more accurate results than the direct approach.

physics-informed neural networksoptimal controlsemilinear partial differential equationsAllen-Cahn equationadjoint equationPontryagin optimality conditionsdirect methodindirect methodnumerical optimizationparabolic PDE
Authors
Zhen Zhang, Shanqing Liu, Alessandro Alla, Jerome Darbon, George Em Karniadakis
Abstract
We study physics-informed neural networks (PINNs) as numerical tools for the optimal control of semilinear partial differential equations. We first recall the classical direct and indirect viewpoints for optimal control of PDEs, and then present two PINN formulations: a direct formulation based on minimizing the objective under the state constraint, and an indirect formulation based on the first-order optimality system. For a class of semilinear parabolic equations, we derive the state equation, the adjoint equation, and the stationarity condition in a form consistent with continuous-time Pontryagin-type optimality conditions. We then specialize the framework to an Allen-Cahn control problem and compare three numerical approaches: (i) a discretize-then-optimize adjoint method, (ii) a direct PINN, and (iii) an indirect PINN. Numerical results show that the PINN parameterization has an implicit regularizing effect, in the sense that it tends to produce smoother control profiles. They also indicate that the indirect PINN more faithfully preserves the PDE contraint and optimality structure and yields a more accurate neural approximation than the direct PINN.