A Neural Network Approach for Stochastic Optimal Control

Xingjian Li, Deepanshu Verma, Lars Ruthotto
9/27/2022
34 citations
math.OC

Official code: EmoryMLIP/NeuralSOC (6 stars, Python, MIT, last commit 2024-04-29). 1 more implementation below.

Abstract

We present a neural network approach for approximating the value function of high-dimensional stochastic control problems. Our training process simultaneously updates our value function estimate and identifies the part of the state space likely to be visited by optimal trajectories.

Show full abstract

Our approach leverages insights from optimal control theory and the fundamental relation between semi-linear parabolic partial differential equations and forward-backward stochastic differential equations. To focus the sampling on relevant states during neural network training, we use the stochastic Pontryagin maximum principle (PMP) to obtain the optimal controls for the current value function estimate. By design, our approach coincides with the method of characteristics for the non-viscous Hamilton-Jacobi-Bellman equation arising in deterministic control problems. Our training loss consists of a weighted sum of the objective functional of the control problem and penalty terms that enforce the HJB equations along the sampled trajectories. Importantly, training is unsupervised in that it does not require solutions of the control problem. Our numerical experiments highlight our scheme's ability to identify the relevant parts of the state space and produce meaningful value estimates. Using a two-dimensional model problem, we demonstrate the importance of the stochastic PMP to inform the sampling and compare to a finite element approach. With a nonlinear control affine quadcopter example, we illustrate that our approach can handle complicated dynamics. For a 100-dimensional benchmark problem, we demonstrate that our approach improves accuracy and time-to-solution and, via a modification, we show the wider applicability of our scheme.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
EmoryMLIP/NeuralSOCOfficial6PythonMIT2024-04-29
EmoryMLIP/FBSNNsOfficial3TeXMIT2023-09-09
MIT

PyTorch codes to reproduce results from Li et al. 2023.

60Python, MATLABFeb 27, 20232 years agoMIT
EmoryMLIP/FBSNNsOfficial100%
MIT

Forward-Backward Stochastic Neural Networks: Deep Learning of High-dimensional Partial Differential Equations

30TeX, PythonDec 26, 20213 years agoMIT

Similar Papers

Cite this paper

@article{li2022neural,
  title  = {A Neural Network Approach for Stochastic Optimal Control},
  author = {Xingjian Li and Deepanshu Verma and Lars Ruthotto},
  year   = {2022},
  eprint = {2209.13104},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.13104}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.13104.svg)](https://codeofpaper.com/paper/2209.13104)

Discussion