On the Convergence of Jacobian-Free Backpropagation for Optimal Control Problems with Implicit Hamiltonians
Eric Gelphman, Deepanshu Verma, Nicole Tianjiao Yang, Stanley Osher, Samy Wu Fung
TL;DR
This work addresses learning semi-global feedback controllers for high-dimensional optimal control problems with implicit Hamiltonians, where closed-form Hamiltonian maximizers are unavailable. It provides the first convergence guarantees for Jacobian-Free Backpropagation (JFB) used within biased stochastic gradient descent, showing convergence to stationary points of the expected objective $\mathbb{E}_x[J_x(\theta)]$ under minibatch training and standard smoothness/contractivity assumptions. The authors prove key alignment and descent lemmas, derive a finite-sample descent bound, and establish convergence in expectation and in probability to critical points, with extensions to neighborhoods under weaker assumptions. Empirically, they verify the theoretical assumptions in practice and demonstrate that JFB scales to high-dimensional, multi-agent control problems (e.g., 100 agents) where implicit differentiation is memory-prohibitive, achieving comparable performance with substantially greater efficiency compared to AD or CVXPYLayers. Overall, the paper provides both theoretical justification and practical evidence that JFB is a principled, scalable approach for learning value-function–based feedback controllers when the Hamiltonian is implicit.
Abstract
Optimal feedback control with implicit Hamiltonians poses a fundamental challenge for learning-based value function methods due to the absence of closed-form optimal control laws. Recent work~\cite{gelphman2025end} introduced an implicit deep learning approach using Jacobian-Free Backpropagation (JFB) to address this setting, but only established sample-wise descent guarantees. In this paper, we establish convergence guarantees for JFB in the stochastic minibatch setting, showing that the resulting updates converge to stationary points of the expected optimal control objective. We further demonstrate scalability on substantially higher-dimensional problems, including multi-agent optimal consumption and swarm-based quadrotor and bicycle control. Together, our results provide both theoretical justification and empirical evidence for using JFB in high-dimensional optimal control with implicit Hamiltonians.
