Finite-difference least square methods for solving Hamilton-Jacobi equations using neural networks
Carlos Esteve-Yagüe, Richard Tsai, Alex Massucco
TL;DR
This work introduces a neural-network framework to approximate viscosity solutions of high-dimensional Hamilton-Jacobi equations by minimizing a least-squares loss built on a monotone, consistent finite-difference Hamiltonian, specifically the Lax-Friedrichs scheme. By proving that critical points of the FD-based loss converge to the viscosity solution under suitable choices of the diffusion parameter $\alpha$ and grid spacing $\delta$, the approach addresses non-uniqueness and instability issues typical of PINNs for HJ equations. The authors develop SGD-based training with domain resampling, analyze data-efficiency strategies, and demonstrate the method across Eikonal, time-dependent HJs, and differential-game problems (Reeds-Shepp car, pursuit-evasion), obtaining accurate approximations in dimensions up to $d=10$ with comparative runtimes on CPU. The combination of FD-induced regularisation, shifted-grid averaging, and supervised data offers a practical path toward scalable, accurate high-dimensional HJ solvers with potential impact on optimal control and differential games. The work also includes rigorous proofs of uniqueness and convergence, along with extensive numerical experiments highlighting data-distribution choices and resampling benefits.
Abstract
We present a simple algorithm to approximate the viscosity solution of Hamilton-Jacobi (HJ) equations by means of an artificial deep neural network. The algorithm uses a stochastic gradient descent-based method to minimize the least square principle defined by a monotone, consistent numerical scheme. We analyze the least square principle's critical points and derive conditions that guarantee that any critical point approximates the sought viscosity solution. The use of a deep artificial neural network on a finite difference scheme lifts the restriction of conventional finite difference methods that rely on computing functions on a fixed grid. This feature makes it possible to solve HJ equations posed in higher dimensions where conventional methods are infeasible. We demonstrate the efficacy of our algorithm through numerical studies on various canonical HJ equations across different dimensions, showcasing its potential and versatility.
