math.NAOct 19, 2026

Low Residuals, Wrong Value: Learning the Viscosity Solution of Hamilton-Jacobi-Isaacs Equations with PINNs

Authors: Raul Jimenez, Pablo Tejerina-Pérez, Leonid Sarieddine, Pedro Tarancón-Álvarez, Marisol Traforetti, Pau Solé-Vilaró, Oleksii Ignatenko, Nazar Tkach, 

Organizations: Institut de Ciències del Cosmos (ICCUB), Universitat de Barcelona, Barcelona, Spain · Institució Catalana de Recerca i Estudis Avançats (ICREA), Barcelona, Spain · Departament de Física Quàntica i Astrofísica, Universitat de Barcelona, Barcelona, Spain · Faculty of Applied Sciences, Ukrainian Catholic University, Lviv, Ukraine · 

Abstract

Physics-informed neural networks (PINNs) and other residual-trained solvers judge a candidate solution by the size of its sampled PDE residual. For first-order Hamilton-Jacobi equations this is not sufficient: the same equation and boundary data admit Lipschitz almost-everywhere solutions that differ from the viscosity solution by O(1)O(1) while violating the equation only on sets of measure zero. We study whether residual minimization selects such solutions in a fixed-horizon pursuit-evasion game whose Hamilton-Jacobi-Isaacs value function is known in closed form on the circle S1S^1 and on the flat tori T2\mathbb{T}^{2} and T4\mathbb{T}^{4}. We train four neural parameterizations with ten seeds on each geometry, 120 runs in total. A standard network with periodic Fourier features converges to folded almost-everywhere solutions in all 30 runs: small residuals and the expected capture-layer gradient, yet values that are wrong over most of the domain. A network with periodicity imposed through the loss recovers the viscosity solution in one and two dimensions but becomes unreliable in four. Two parameterizations that receive the geodesic distance do substantially better: a single network fed the wrapped displacement and its distance recovers the viscosity solution in all 30 runs, while a minimum over periodic image charts succeeds in 27 of 30 and introduces a wrong-image failure mode. Finally, for the convex Hamiltonian considered here, we use the semiconcavity of the viscosity solution to build a mesh-free finite-difference test that needs only forward network evaluations; it detects the folded solutions and the harmful min-of-charts failures without access to the exact value function. A small sampled residual thus does not by itself validate a learned Hamilton-Jacobi solution; the parameterization and independent structural diagnostics can be essential for selecting the viscosity solution.

Figures & tables

Appendix figures & tables2 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Verifiable Error Bounds for Physics-Informed Neural Network Solutions of Lyapunov and Hamilton-Jacobi-Bellman Equations

    Mar 20, 2026Jun LiuHJB EquationsNeural PDE Solvers

  2. PINNs Failure Modes are Overfitting

    May 29, 2026Nigel T. Andersen, Takashi MatsubaraNeural Network GeneralizationNeural PDE Solvers

  3. Physics-Informed Residuals for Adaptive Mesh Refinement in Finite-Difference PDE Solvers

    Jun 1, 2026Henry Kasumba, Ronald KatendePDE SolvingAdaptive Mesh Refinement