Universal differential equations for optimal control problems and its application on cancer therapy
Wenjing Zhang, Wandi Ding, Huaiping Zhu
TL;DR
The paper addresses numerical instability in solving optimal control problems under dynamic constraints by reframing the problem as a universal differential equation (UDE) in which the control is a neural network NN(t,p). By training NN parameters p via backpropagation, the approach yields controls that satisfy Pontryagin’s Maximum Principle (PMP) while avoiding unstable backward adjoint integrations. A cancer immunotherapy case study demonstrates stable, effective optimization of immunotherapy and chemotherapy strategies despite complex bifurcations, illustrating the method’s robustness. The authors argue that this framework is broadly applicable to high-dimensional, nonlinear dynamical systems across biology, epidemiology, engineering, and finance, providing a scalable tool for state-constrained optimal control problems.
Abstract
This paper highlights a parallel between the forward backward sweeping method for optimal control and deep learning training procedures. We reformulate a classical optimal control problem, constrained by a differential equation system, into an optimization framework that uses neural networks to represent control variables. We demonstrate that this deep learning method adheres to Pontryagin Maximum Principle and mitigates numerical instabilities by employing backward propagation instead of a backward sweep for the adjoint equations. As a case study, we solve an optimal control problem to find the optimal combination of immunotherapy and chemotherapy. Our approach holds significant potential across various fields, including epidemiology, ecological modeling, engineering, and financial mathematics, where optimal control under complex dynamic constraints is crucial.
