Amortized Score-Hamiltonian Policy Iteration: A Grid-Free Scheme for Relaxed Stochastic Control Problems
Authors: Qi Feng, Gu Wang
Organizations: Department of Mathematics, Florida State University, Tallahassee, 32306 · Department of Mathematical Sciences, Worcester Polytechnic Institute, Worcester, MA 01609
We develop an amortized, grid-free implementation of continuous Langevin dynamics based policy-value iteration for entropy-regularized, infinite-horizon relaxed stochastic control problems. The improvement rate of the exact iteration is a discounted aggregate of relative Fisher information between the policy and the Gibbs law of its Hamiltonian. The associated score residual is the velocity with which the control's Langevin dynamics transport its law. We project this velocity onto a conditional sampler shared across states, instead of one Langevin dynamics per state, and the value dynamics onto a parametric critic, estimating both projections at sampled states to obtain coupled actor--critic flows. The score loss measures the actor's agreement with the current critic, while the policy-evaluation residual measures the critic's agreement with the actor. We also derive gradient and Hessian residuals, including a Feynman--Kac representation for the gradient equation, to control errors not detected by the projected value iteration. An exact decomposition of the HJB residual combines these errors into a policy-suboptimality bound under verification and logarithmic Sobolev assumptions. In the linear-quadratic class, both projections are exact and recover the pointwise iteration, and we provide numerical experiments on general models to demonstrate the coupled actor--critic learning in high-dimensions.
Figures & tables
Method
Marginal TV
Value-gradient error
Value error
HJB RMS
R
0.06115
29.95%
5.43%
1.025
V
0.05580
27.62%
4.98%
0.950
V X
0.00935
4.74%
16.39%
0.874
V XX
0.00935
4.74%
16.64%
0.887
Table 1: Trainable-critic results after 80 updates on 600 independent states. The value-gradient error compares B⊤∇vθ with zˉ . TV averages the six control marginals.
Figure 1: Six control marginals at a predeterminted state. Black is the optimal reference and the colored curves use Gibbs policies from the trained V, V X and V XX critics.
Figure 2: Mean marginal TV, relative control-relevant value-gradient error and HJB-residual RMS on the 400 monitoring states.
Policy
TV at x=−0.4
Jμ
Gaussian actor
0.510
−0.818
Monotone actor
0.094
−0.452
Critic Gibbs law
0.005
−0.433
Table 2: Frozen-critic policies compared with the discrete reference, whose value is Jμ=−0.4328 . TV integrates the conditional density discrepancy on the control grid.
Figure 3: Reference, monotone-flow and Gaussian conditional densities. The dashed curve in each panel is the reference conditional mean.
Figure 4: Coupled monotone run at x=1.5 : the critic’s control-relevant value gradient, actor TV from its moving Gibbs target and the discrete reference, and the policy density updates
Held-out quantity
Error
Value vθ vs. vref , relative RMS
37.9%
Critic value gradient B⊤∇vθ , relative RMS
8.57%
Mean control, RMS per coordinate
0.0360
Mean marginal TV, initial actor
0.597
Mean marginal TV, trained actor
0.128
Largest observed marginal TV, trained actor
0.304
Table 3: The 2000 -update run evaluated on 200 independent states from the learned actor’s occupation law. TV compares corresponding one-dimensional marginals, not the joint policy. The value comparison includes actor suboptimality.
Figure 5: Sixteen control marginals at x0=O(0.81) : numerical reference, initial actor and learned monotone actor.
We introduce a continuous policy-value iteration algorithm where the approximations of the value function of a stochastic control problem and the optimal control are simultaneously updated through Langevin-type dynamics. This framework applies to both the entropy-regularized relaxed control problems and the classical control problems, with infinite horizon. We establish policy improvement and demonstrate convergence to the optimal control under the monotonicity condition of the Hamiltonian. By utilizing Langevin-type stochastic differential equations for continuous updates along the policy iteration direction, our approach enables the use of distribution sampling and non-convex learning techniques in machine learning to optimize the value function and identify the optimal control simultaneously.
Qi Feng, Gu Wang
Department of Mathematics, Florida State University, Tallahassee, 32306 · Department of Mathematical Sciences, Worcester Polytechnic Institute, Worcester, MA 01609
In this paper, we study the role of the critic in actor--critic for entropy-regularized, finite, discounted environments. We establish that, when the critic is exact, using the latter as a baseline is a variance-reduction method in a strong sense. In this case, actor--critic with stochastic gradients matches the sample complexity of deterministic policy gradient, reaching an ε-optimal regularized value with O~(log(1/ε)) samples. In practice, the critic is learned alongside the actor: the variance of the actor update is then influenced by the critic's variance and bias. Specifically, when the critic has a sufficiently small error, the variance reduction and rapid convergence are preserved. This suggests to learn the critic first, keeping it up to date after each actor update, underscoring the crucial role of accurate critic estimation in actor--critic methods.
Safwan Labbi, Paul Mangold, Daniil Tiapkin +1
CMAP, CNRS, École Polytechnique, Institut Polytechnique de Paris, 91120 Palaiseau, France · Université Paris-Saclay, CNRS, LMO, 91405, Orsay, France · Google DeepMind +2
We analyze a neural semi-discrete method for high-dimensional first-order Hamilton-Jacobi-Bellman (HJB) equations with known or learned dynamics. Centered differences and an artificial viscosity Nh=O(h) define a monotone operator evaluated through 2d+1 shifted network queries; policy iteration solves the resulting Bellman equation without a tensor grid. At fixed h, the sharp componentwise condition maxi∣fi∣≤2N turns every frozen-policy operator into a nearest-neighbor Markov-chain generator with a policy-independent total jump rate. Uniformization gives whole-space well-posedness for measurable feedbacks, an explicit Poisson-tail bound on the numerical domain of dependence, and boundary-free localization. The representation also yields a posteriori policy-evaluation bounds that account for residual and learned-model errors. A greedy-gap analysis controls inexact policy iteration at fixed h; a separate consistency estimate connects the semi-discrete equation to the continuous HJB equation. Experiments reproduce the extremal tail, show rates consistent with O(h) and nearly h-independent exact-policy-iteration decay, and assess empirical estimator effectivity. A nonsmooth example shows that the continuous residual can miss a non-viscosity solution, whereas the shifted residual detects the defect. Further tests provide a structured interval-verified certificate calibration, an early-budget benefit of policy freezing for bang-bang control, and learned-dynamics diagnostics. A structured nonlinear problem with active compact-control constraints is tested against a manufactured semi-discrete reference through d=1024.
Minseok Kim, Yeongjong Kim, Namkyeong Cho +1
Department of Applied Artificial Intelligence, Seoul National University of Science and Technology, Seoul, Republic of Korea. · Department of Mathematics, Pohang University of Science and Technology, Pohang, Republic of Korea. · Department of Mathematical Finance and Big Data, Gachon University, Seongnam, Republic of Korea +1