math.OCApr 6, 2026

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

Authors: Zhen Zhang, Shanqing Liu, Alessandro Alla, Jerome Darbon, George Em Karniadakis

Organizations: Division of Applied Mathematics, Brown University · Department of Mathematics at Sapienza, Università di Roma

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.

Figures & tables

Explore similar work

CardsList
  1. Dual-Network PINNs for Optimal Control: A Reproducible Benchmark on the Mass-Spring-Damper System

    Jun 13, 2026Abdeladhim Tahimi, Rinaldo Vieira da Silva JuniorPhysics-Informed MLOptimal Control

  2. Adjoint Method versus Physics-Informed Neural Networks in PDE-Constrained Inverse Problems

    Jun 10, 2026Zhen Zhang, Alessandro Alla, George Em KarniadakisConstrained OptimizationPhysics-Informed ML

  3. AdamFLIP: Adaptive Momentum Feedback Linearization Optimization for Hard Constrained PINN Training

    May 8, 2026Binghang Lu, Runyu Zhang, Changhong Mou +2Neural PDE SolversConstrained Optimization