Semi-gradient temporal-difference learning is a core algorithmic component of reinforcement learning, but bootstrapping with function approximation generally induces a non-conservative vector field and can lead to instability. We analyze this effect for two-layer neural networks in the mean-field regime and identify a simple stability mechanism in which entropy-induced relaxation dominates the sensitivity of the moving bootstrap target. Under this condition, we prove exponential convergence to a unique fixed point and quantify its bias relative to the unregularized Bellman solution. We also show that the same mechanism extends to entropy-regularized off-policy control through soft Q-learning.
Introduction
Temporal-difference (TD) learning is one of the basic mechanisms for value estimation in reinforcement learning. Its semi-gradient form is particularly simple, updating the current prediction toward a bootstrapped target without differentiating through that target. This simplicity, however, also makes its dynamics fundamentally different from ordinary gradient descent. With function approximation, the expected semi-gradient update generally defines a non-conservative vector field, and the resulting dynamics can diverge or oscillate even in the absence of sampling noise [3, 9, 2].
Understanding this instability becomes particularly challenging with neural-network function approximation, where the representation itself evolves during learning. Despite the practical importance of neural TD methods, convergence theory for semi-gradient TD beyond linear or near-initialization regimes remains limited. The mean-field regime provides a tractable framework for studying feature learning in wide two-layer neural networks by describing training through the evolution of a distribution over parameters. Yet mean-field analyses of semi-gradient TD remain scarce. Zhang et al. (2020) establish a best-iterate guarantee in function value, but do not prove convergence of the learning dynamics themselves. Agazzi & Lu [1] characterize the equilibrium structure of mean-field semi-gradient TD and show that a convergent trajectory induces the true value function under suitable assumptions, while their convergence guarantee is obtained in a lazy-training regime. Thus, convergence of nonlinear mean-field semi-gradient TD dynamics, and the mechanism that can stabilize them, remain poorly understood.
In this work, we study noisy semi-gradient TD with two-layer neural networks in the mean-field regime. We write qt(θ)dθ for the parameter law evolving under the mean-field semi-gradient Langevin dynamics. Following the changing-objective viewpoint of Asadi et al. [2], for any parameter law q, let F(q,ν) denote the frozen-target regression objective with entropy and quadratic regularization, where the bootstrap target is frozen at q and ν represents the online predictor. We define the corresponding frozen-target minimizer map by
T(q):=νargminF(q,ν).
If the bootstrap target were fixed, mean-field Langevin theory provides relaxation toward T(q)[8] (Nitanda et al. 2022). In semi-gradient TD, however, the target is generated by the current parameter law itself, so the relevant minimizer is T(qt) and moves together with qt. The central question is whether relaxation toward the current frozen-target minimizer is strong enough to dominate this moving-target effect.
Our first contribution is a last-iterate convergence guarantee for mean-field semi-gradient TD. The analysis is governed by the relaxation rate ρτ induced by noise and regularization and the constant Lp measuring the sensitivity of the frozen-target objective to changes in the bootstrap target. If ρτ>Lp, then the frozen-target optimality gap
G(t):=F(qt,qt)−F(qt,T(qt))
decays exponentially as
G(t)≤e−2(ρτ−Lp)tG(0).
Under the same condition, the map T is Lp/(ρτ)-contractive in Wasserstein distance and therefore admits a unique fixed point q⋆=T(q⋆). Combining the decay of the frozen-target optimality gap with this contraction yields exponential convergence of the actual semi-gradient parameter law qt to q⋆ (Theorem 1). As summarized in Table 1, previous results establish either feature learning or last-iterate convergence, but not both simultaneously. We provide the first last-iterate convergence guarantee for mean-field semi-gradient TD.
Table 1. Comparison of convergence results for nonlinear TD learning.
The limiting law q⋆, however, solves an entropy- and quadratically-regularized problem rather than the original Bellman equation. We therefore complement the dynamical convergence result with an explicit bound on the resulting approximation and regularization error (Theorem 2). In the realizable case, suppose there exists a parameter law qπ such that Vqππ=Vπ and DKL(qπ∥gλ,τ)<∞. Then
∥Vq⋆−Vπ∥L2(dπ)≤1−γτDKL(qπ∥gλ,τ).
Thus, the same regularization that stabilizes the learning dynamics introduces a quantitatively controlled bias in the learned value function. Our general result also allows for function-approximation error.
Finally, we extend the same stability mechanism to entropy-regularized off-policy soft Q-learning, obtaining exponential convergence to a unique self-consistent equilibrium (Theorem 3). We also quantify the error of this equilibrium relative to the soft Bellman fixed point (Theorem 4).
Additional related work. Beyond the mean-field setting, convergence of TD learning with nonlinear or neural function approximation has been studied under various structural and overparameterization assumptions. Brandfonbrener & Bruna [5] analyze the expected nonlinear TD dynamics through geometric properties of the function class and the underlying Markov chain. A separate line of work establishes finite-time guarantees for neural TD using overparameterization and control of the network around its initialization ([6, 7, 11]). These results provide complementary convergence guarantees outside the mean-field feature-learning regime considered here.
Notes. The entries indicate guarantees established within the respective settings of each work and should not be interpreted as implication or dominance relations between the results. In particular, our convergence guarantees are obtained for regularized dynamics and therefore introduce bias relative to the unregularized Bellman solution. We quantify this regularization bias separately in Theorems 2 and 4.
Problem Setting
Notation
Let P2(Rd) denote the space of probability measures on Rd with finite second moment, and let P2ac(Rd) denote its subset of measures absolutely continuous with respect to Lebesgue measure. We write W2 for the 2-Wasserstein distance. For νi(dθ)=qi(θ)dθ∈P2ac(Rd), i=1,2, we define the differential entropy, the Kullback–Leibler divergence, and the relative Fisher information by
We identify an absolutely continuous probability measure with its density whenever no confusion arises.
Reinforcement Learning Setup
We consider a discrete-time discounted Markov decision process (S,A,P,r,γ), where S and A are possibly infinite bounded subsets of Euclidean spaces. Here P is the transition kernel, r:S×A→[0,1] is the reward function, and γ∈(0,1) is the discount factor. A policy π:S→Δ(A) maps each state s∈S to a distribution π(⋅∣s) over A.
We first consider the policy evaluation problem, where a policy π is fixed and the goal is to learn its value function Vπ, namely the expected infinite-horizon discounted return under π. It is the unique solution of the Bellman equation
Vπ(s)=Ea∼π(⋅∣s)Es′∼P(⋅∣s,a)[r(s,a)+γVπ(s′)].
We later extend the same framework to entropy-regularized off-policy control through soft Q-learning.
Semi-Gradient TD
Let V(s;ϑ) be a value-function approximator with parameter ϑ. Given a transition (sk,ak,sk+1), semi-gradient TD updates
ϑ(k+1)=ϑ(k)+αδk∇ϑV(sk;ϑ(k)),
where
δk=r(sk,ak)+γV(sk+1;ϑ(k))−V(sk;ϑ(k)).
Unlike gradient descent on the squared TD error, this update does not differentiate through the bootstrapped term V(sk+1;ϑ(k)). Consequently, its expected update field need not be the gradient of any fixed scalar objective and may exhibit oscillation or divergence under function approximation [3, 9] (Tsitsiklis & Van Roy 1997).
Two-Layer Neural Networks and Mean-Field Formulation
We now specialize the value-function approximator to a two-layer neural network and formulate its semi-gradient dynamics in the mean-field parameterization. Let X denote the input space and Θ=Rd the parameter space of a single neuron. For policy evaluation, X=S. We consider the feature map
ϕ(x;θ)=σ1(c)σ2(wTx+b),θ=(c,w,b)∈Θ,
where σ1,σ2∈C1 have bounded values and derivatives. Given particles θ=(θ1,…,θM)∈ΘM, define the two-layer network
VM(s;θ):=M1i=1∑Mϕ(s;θi).
Applying the semi-gradient TD update from the previous section to this network gives, for each particle,
θi(k+1)=θi(k)+Mαδk∇θϕ(sk;θi(k)),
where
δk=r(sk,ak)+γVM(sk+1;θ(k))−VM(sk;θ(k)).
Writing η:=α/M, the particle motion is therefore the usual semi-gradient TD update expressed in the two-layer parameterization.
To obtain the mean-field representation, introduce the empirical parameter law
νM:=M1i=1∑Mδθi.
Then
VM(s;θ)=V(s;νM),V(s;ν):=∫Θϕ(s;θ)ν(dθ),
for any ν∈P2(Θ). The mean-field formulation replaces the finite empirical law νM by a general probability law ν∈P2(Θ).
To represent the semi-gradient structure at the level of probability measures, we separate the law generating the bootstrap target from the law being updated. Following the changing-objective viewpoint of Asadi et al. [2], for a target law μ and an online law ν, define
H(μ,ν):=21Es,a,s′[(r(s,a)+γV(s′;μ)−V(s;ν))2].
The expectation is taken with respect to the transition distribution used by the algorithm. For fixed μ, the functional H(μ,⋅) is an ordinary regression objective toward the bootstrap target generated by μ. Semi-gradient TD differentiates only with respect to the online law and evaluates the two arguments on the diagonal μ=ν. Thus, while H(μ,⋅) is a fixed objective when μ is held fixed, the objective itself moves along the actual semi-gradient dynamics.
We study the regularized dynamics obtained by adding the quadratic functional
R(ν):=2λ∫Θ∥θ∥2ν(dθ),λ>0,
and define
E(μ,ν):=H(μ,ν)+R(ν).
For a functional of a probability law, we write δ/δν for its first variation with respect to ν. In the present setting,
Taking the parameter gradient of the first variation and evaluating on the diagonal μ=ν recovers the expected particle-wise semi-gradient direction, with the additional drift induced by the quadratic regularization. The diagonal evaluation is the key distinction from ordinary optimization of the fixed functional H(μ,⋅).
Noisy Semi-Gradient Mean-Field Dynamics
We now add isotropic Gaussian noise to the population semi-gradient dynamics. At the particle level, the resulting update is
where τ>0 controls the noise level, ξi(k)∼N(0,Id) are independent, and
νM(k)=M1i=1∑Mδθi(k).
is the empirical parameter law. Here the TD drift is the expected semi-gradient drift; the stochasticity in (1) comes from the added Langevin perturbation.
In continuous time, the corresponding mean-field dynamics are described by the McKean–Vlasov diffusion
dθt=−∇θδνδE(νt,νt)(θt)dt+2τdWt,(2)
where νt denotes the law of θt. Under suitable regularity and growth conditions on the drift, standard Fokker–Planck–Kolmogorov theory ensures propagation of finite second moments and absolute continuity of the time-marginal laws ([4]). We therefore write
νt(dθ)=qt(θ)dθ,νt∈P2ac(Rd).
The density qt evolves according to the nonlinear Fokker–Planck equation
∂tqt=∇θ⋅(qt∇θδνδE(qt,qt))+τΔθqt.(3)
Define the entropy-regularized frozen-target functional
F(μ,ν):=E(μ,ν)−τH(ν),
where H denotes the differential entropy defined in Section 2.1. Since
∇θδνδ(−τH)(ν)(θ)=τ∇θlogq(θ)
for ν(dθ)=q(θ)dθ, the Fokker–Planck equation can equivalently be written as
∂tqt=∇θ⋅(qt∇θδνδF(qt,qt)).(4)
For a fixed target law μ, the dynamics associated with F(μ,⋅) are ordinary mean-field Langevin dynamics and relax toward the minimizer of this fixed functional. In the actual semi-gradient dynamics, however, the target law is the current law qt itself and therefore moves together with the online law. Consequently, (4) has a gradient-flow-like form but is not the Wasserstein gradient flow of the diagonal functional ν↦F(ν,ν), since the first variation is taken only with respect to the second argument.
Main Assumptions and Preliminary Results
We first introduce the two ingredients that govern the convergence analysis. The first controls the coupling between the target and online laws in the frozen-target objective. The second quantifies the relaxation properties of the corresponding Gibbs distributions.
Assumption 1 (Mixed smoothness of the frozen-target objective). There exists Lp<∞ such that, for all admissible μ,ν1,ν2∈P2(Rd) and every θ∈Rd,
The constant Lp measures the mixed sensitivity of the frozen-target objective to the interaction between the target and online laws. For the two-layer parameterization in § 2.4, Assumption 1 follows from the boundedness of the feature map and its first derivatives together with a finite second moment of the input distribution.
For a fixed target law μ, the functional F(μ,⋅) is convex in the probability law and includes both quadratic and entropy regularization. Its minimizer therefore admits a Gibbs representation.
Proposition 1 (Gibbs form of the frozen-target minimizer; cf. Hu et al. [10]). For every μ∈P2(Rd), the functional ν↦F(μ,ν) admits a unique minimizer πμ,∗∈P2ac(Rd). Its density satisfies
πμ,∗(θ)∝exp(−τ1δνδF(μ,πμ,∗)(θ)).
More generally, for any μ,ν∈P2(Rd), define the associated Gibbs law πμ,ν by
πμ,ν(dθ)=Zμ,ν1exp(−τ1δνδF(μ,ν)(θ))dθ,
where Zμ,ν is the normalizing constant. The quadratic regularizer together with the bounded perturbation induced by H ensures that πμ,ν is well defined and belongs to P2ac(Rd).
The second ingredient is a uniform functional inequality for this Gibbs family.
Assumption 2 (Uniform log-Sobolev inequality). There exists ρ>0 such that, uniformly over all admissible μ,ν∈P2(Rd), the Gibbs law πμ,ν satisfies
DKL(m∥πμ,ν)≤2ρ1I(m∥πμ,ν)
for every m∈P2ac(Rd).
Our convergence results use Assumption 2 only through the effective relaxation strength ρτ and do not require any specific dependence of ρ on the temperature τ. Sufficient conditions for Assumption 2 are given in Appendix § 7.§ 1.
Proposition 2 (Entropy sandwich; cf. Chizat, [8]; Nitanda et al., 2022). For everyμ∈P2(Rd)andν∈P2ac(Rd),
τDKL(ν∥πμ,∗)≤F(μ,ν)−F(μ,πμ,∗)≤τDKL(ν∥πμ,ν).
Together with Assumption 2, the entropy-sandwich inequality relates the rate of decrease along the frozen-target dynamics to the frozen-target optimality gap.
Main Results
Policy Evaluation
We first establish convergence of the noisy mean-field semi-gradient dynamics in the policy-evaluation setting. Throughout this section, we write
νt(dθ)=qt(θ)dθ
for the parameter law evolving according to (4). For each target law μ, define the Gibbs response map
T(μ):=πμ,∗(θ)dθ,
where πμ,∗ is the unique minimizer of ν↦F(μ,ν).
A direct analysis of the diagonal functional F(νt,νt) does not yield a closed estimate because the bootstrap target moves together with the online law. We instead consider the frozen-target optimality gap
G(t):=F(νt,νt)−F(νt,T(νt)).
The first lemma shows that this gap decreases exponentially whenever the relaxation rate ρτ dominates the sensitivity Lp of the moving target.
Lemma 1 (Decay of the frozen-target optimality gap). Suppose thatν0∈P2ac(Rd)satisfiesF(ν0,ν0)<∞, and let(νt)t≥0be a sufficiently regular solution to(4). Under Assumptions 1 and 2, suppose further thatρτ>Lp. Then
dtdG(t)≤−2(ρτ−Lp)G(t).
Consequently,
G(t)≤e−2(ρτ−Lp)tG(0)
for everyt≥0.
Lemma 1 shows that the current parameter law approaches its instantaneous frozen-target minimizer. This alone does not imply convergence to a common limit because the minimizer itself changes with the target law. The next lemma controls this dependence.
Lemma 2 (Stability of the Gibbs response map). Under Assumptions 1 and 2, for everyμ1,μ2∈P2(Rd),
W2(T(μ1),T(μ2))≤ρτLpW2(μ1,μ2).
In particular, ifρτ>Lp, thenTis a contraction on(P2(Rd),W2).
Since (P2(Rd),W2) is complete, Lemma 2 and Banach’s fixed-point theorem imply that, under ρτ>Lp, the response map T admits a unique fixed point. We denote it by ν⋆, so that
ν⋆=T(ν⋆).
The two preceding lemmas now yield convergence of the full semi-gradient dynamics.
Theorem 1. (Exponential convergence to the self-consistent equilibrium). Suppose that the conditions of Lemma 1 hold and that
ρτ>Lp.
Then(νt)t≥0converges exponentially inW2to the unique self-consistent equilibriumν⋆. More precisely, for everyt≥0,
W2(νt,ν⋆)≤ρτ−Lp2ρτG(0)e−(ρτ−Lp)t.
Lemma 1 controls relaxation toward the instantaneous frozen-target minimizer, while Lemma 2 controls the sensitivity of that minimizer to changes in the bootstrap target. The condition ρτ>Lp ensures that the relaxation is strong enough to dominate the moving-target effect.
Approximation and Regularization Error
Theorem 1 establishes convergence to a unique self-consistent equilibrium. Since this equilibrium is defined through an entropy- and quadratically-regularized objective, it need not represent the unregularized value function exactly. We next quantify this error.
Let
gλ,τ:=N(0,λτId).
For any absolutely continuous parameter law ν,
R(ν)−τH(ν)=τDKL(ν∥gλ,τ)−2τdlogλ2πτ.
We write Vν(s):=V(s;ν). For any measurable function f on S, define the Bellman operator of the evaluated policy by
(Tπf)(s):=Ea∼π(⋅∣s)Es′∼P(⋅∣s,a)[r(s,a)+γf(s′)].
Theorem 2. (Approximation and regularization error). LetPπbe the transition operator of the evaluated policy and letdπbe a stationary state distribution forPπ. Suppose that the expectation defining the frozen-target objectiveHis taken under the transition distributiondπ(ds)π(da∣s)P(ds′∣s,a). Letν⋆be a self-consistent equilibrium satisfying
Theorem 2 separates two sources of error. The first term measures the approximation error of the mean-field function class, while the second reflects the parameter-space regularization. In the realizable case, the approximation term vanishes.
Extension to Soft Q-Learning
We now extend the analysis to entropy-regularized off-policy control. Fix β>0 and a finite reference measure mA on A, taken to be counting measure when A is finite. For a Q-function Q, define the soft value operator
(SβQ)(s):=βlog∫Aexp(βQ(s,a))mA(da)
and the soft Bellman operator
(TβQ)(s,a):=r(s,a)+γEs′∼P(⋅∣s,a)[(SβQ)(s′)].
We write Qν(s,a):=Q(s,a;ν) for the Q-function represented by a parameter law ν. For target and online laws μ and ν, define the frozen-target soft-Q objective
where μb(ds,da,ds′)=db(ds,da)P(ds′∣s,a) for a fixed off-policy state-action sampling distribution db. We set
EQ(μ,ν):=HQ(μ,ν)+R(ν),FQ(μ,ν):=EQ(μ,ν)−τH(ν).
The dependence on the target and online laws remains analogous to that in policy evaluation. Appendix § 9.§ 1 verifies the corresponding mixed-smoothness condition with constant LpQ. Let
Theorem 3 (Exponential convergence of soft Q-learning). Suppose that the soft-Q frozen-target objective satisfies the mixed-smoothness condition with constant LpQ and that its associated Gibbs family satisfies the uniform log-Sobolev inequality with constant ρ. Let (νt)t≥0 be a sufficiently regular solution to the corresponding noisy mean-field semi-gradient dynamics, with FQ(ν0,ν0)<∞. If
ρτ>LpQ,
then the Gibbs response map TQ admits a unique fixed point ν⋆Q, and the mean-field soft-Q dynamics converge exponentially to ν⋆Q in W2. More precisely, for every t≥0,
W2(νt,ν⋆Q)≤ρτ−LpQ2ρτGQ(0)e−(ρτ−LpQ)t.
The proof follows the same two-step structure as in policy evaluation. The soft-Q analogue of Lemma 1 gives exponential decay of GQ(t), while the analogue of Lemma 2 controls the Gibbs response map. We leave these parallel intermediate statements inside the proof rather than repeating them as separate lemmas.
To compare the limiting equilibrium with the soft Bellman fixed point, we assume full support of the off-policy state-action distribution. This converts the L2(db) Bellman residual to a sup-norm bound, after which we use the standard sup-norm contraction of the soft Bellman operator.
Theorem 4 (Soft-Q approximation and regularization error). Suppose that S and A are finite, and let db be the state-action marginal of the off-policy sampling distribution. Assume that
dmin:=s,amindb(s,a)>0.
Let Qβ⋆ be the fixed point of the soft Bellman operator Tβ, and let ν⋆Q be a self-consistent soft-Q equilibrium satisfying
where the infimum is over parameter laws with finite DKL(ν∥gλ,τ).
Numerical Illustration
We illustrate the effect of regularization on finite-width semi-gradient TD in Asterix and Breakout (MinAtar) using fixed pretrained policies. We compare unregularized TD, quadratic regularization, and quadratic regularization with Langevin noise. The quadratic-only baseline separates the effect of the confining regularization from the additional effect of Langevin noise. All methods use the same transition data and network initialization, so that the comparison isolates the effect of regularization. Experimental details are given in Appendix § 10.
Figure 1 shows two regimes. On Asterix, the unregularized objective deteriorates after an initial decrease, while regularization suppresses this long-run increase. On Breakout, unregularized TD is already stable and the improvement is smaller. The additional effect of Langevin noise is modest at the scale considered here. The contrast between the two environments suggests that the benefit of regularization is most visible when the unregularized semi-gradient dynamics exhibit unfavorable long-run behavior. These experiments provide a qualitative illustration of the stability mechanism. We do not estimate ρ or Lp in these environments, so they are not a direct verification of the sufficient condition ρτ>Lp.
Figure 1. Empirical H(νt,νt) on Asterix and Breakout under unregularized TD, quadratic regularization, and quadratic regularization with Langevin noise. The quadratic-only baseline isolates the effect of the confining regularizer from that of the Langevin perturbation. Lower values correspond to smaller empirical squared TD residuals. The noisy curves show the mean and one standard deviation over five noise realizations.
Conclusion
We studied noisy semi-gradient TD with two-layer neural networks in the mean-field regime and identified a stability mechanism in which relaxation toward the frozen-target minimizer dominates the sensitivity of the moving bootstrap target. Under this condition, we proved exponential convergence to a unique self-consistent equilibrium and quantified its error relative to the unregularized value function. We also showed that the same mechanism extends to entropy-regularized off-policy soft Q-learning.
Scope and limitations. Our analysis focuses on the population continuous-time dynamics in order to isolate the stability mechanism caused by the moving bootstrap target. We do not provide finite-width, time-discretization, or stochastic-gradient guarantees in this work. Related propagation-of-chaos results for mean-field TD [1] and finite-particle and discretization analyses for mean-field Langevin dynamics (Suzuki et al., 2023) provide natural starting points for such extensions. Establishing their quantitative counterparts for the present semi-gradient dynamics is left for future work.
Verification of the Main Assumptions
A Sufficient Condition for the Uniform Log-Sobolev Inequality
Assumption 2 is imposed abstractly in the main results. Here we give one concrete sufficient condition under an additional second-order regularity assumption on the feature map. This additional condition is used only to invoke the Bakry–Émery criterion and is not specific to the semi-gradient structure studied in this paper. In particular, it is satisfied by the two-layer parametrization in § 2.4 for standard smooth bounded activations such as tanh and sigmoid when the input domain is bounded. Our main convergence theorem is stated in terms of a general uniform log-Sobolev constant ρ, so any sharper estimate of ρ enlarges the resulting stability regime without changing the argument.
Recall that, for fixed target and online laws μ,ν, the associated Gibbs law has density
these bounds hold when the input domain is bounded and σ1,σ2 and their derivatives up to second order are bounded. This includes, for example, tanh and sigmoid activations.
Since μ and ν are probability measures,
∣V(s;μ)∣≤B0,∣V(s;ν)∣≤B0.
Together with r∈[0,1], this yields the uniform residual bound
∣Δμ,ν(s,a,s′)∣≤DΔ,DΔ:=1+(1+γ)B0.
Proposition 3. (A Bakry–Émery certificate for Assumption 2). Suppose that (5) holds and λ>DΔB2.
Then every Gibbs law πμ,ν satisfies
DKL(m∥πμ,ν)≤2ρBE1I(m∥πμ,ν)
for every m∈P2ac(Rd), uniformly over μ,ν, with
ρBE:=τλ−DΔB2.
Equivalently,
ρBEτ=λ−DΔB2.
Proof. Differentiating the first variation with respect to θ twice gives
Up to an additive normalizing constant, the negative log-density of πμ,ν is
Uμ,ν(θ):=τ1δνδE(μ,ν)(θ).
Therefore,
∇θ2Uμ,ν(θ)⪰τλ−DΔB2Id=ρBEId.
The Bakry–Émery criterion then gives the claimed log-Sobolev inequality. □
Proposition 3 is only one sufficient certificate for Assumption 2. Combined with the stability condition ρτ>Lp, it yields the explicit sufficient condition
λ>DΔB2+Lp.
The convergence analysis itself does not rely on this particular certificate or on the additional second-order regularity used above. Any stronger log-Sobolev estimate for the Gibbs family can instead be substituted directly into the general condition ρτ>Lp.
Verification of the Mixed-Smoothness Condition
We next verify the mixed-smoothness condition for the two-layer mean-field parameterization used in the main text. For x∈X, define
Lϕ(x):=θ∈Rdsup∥∇θϕ(x;θ)∥.
We assume
E[Lϕ(s)Lϕ(s′)]<∞
under the transition distribution defining H. This condition follows from the standing assumptions for the two-layer feature map, as shown below.
The first variation of H with respect to its target law is
Hence Lp<∞ whenever the state marginals of the transition distribution have finite second moments. In particular, this is automatic under the bounded-state assumption in § 2.2.
Proofs for Policy Evaluation
Proof of Lemma 1
Proof. Recall that
G(t)=F(νt,νt)−F(νt,T(νt)),
where νt(dθ)=qt(θ)dθ and T(νt) is the minimizer of ν↦F(νt,ν). By the chain rule and the envelope theorem applied to the minimizer T(νt),
Here the derivative of F with respect to its first argument is the same as that of E, since the entropy and quadratic regularization act only on the second argument.
To separate the two contributions to the evolution of G(t), define the relaxation field
Assumption 1 implies that, for every s∈[0,1], the function inside the square brackets is LpW2(ν1,ν2)-Lipschitz in θ. Therefore, Kantorovich–Rubinstein duality and W1≤W2 yield
ΔH≤LpW2(μ1,μ2)W2(ν1,ν2).(20)
On the other hand, Assumption 2 implies Talagrand’s inequality for both ν1 and ν2. Applying it in both directions and adding gives
Proof. Fix any comparator ν∈P2(Rd) satisfying DKL(ν∥gλ,τ)<∞. Since ν⋆ minimizes ν′↦F(ν⋆,ν′), consider the interpolation
νε=(1−ε)ν⋆+εν,ε∈(0,1].
The optimality of ν⋆ gives
F(ν⋆,νε)−F(ν⋆,ν⋆)≥0.
Using the identity
R(ν)−τH(ν)=τDKL(ν∥gλ,τ)−2τdlogλ2πτ,
together with the convexity of relative entropy, we obtain the corresponding first-order inequality as ε↓0. Under the on-policy transition distribution specified in Theorem 2, the regression term satisfies
We first verify that the dependence of HQ on the target and online laws satisfies the same mixed-smoothness structure as in policy evaluation. For each target law μ, define the Boltzmann policy induced by Qμ as
Proof. By Appendix § 9.§ 1, the frozen-target soft-Q objective satisfies the same mixed-smoothness condition as in policy evaluation, with constant LpQ. Moreover, for each fixed target law μ, the Gibbs characterization, the uniform log-Sobolev inequality, and the entropy-sandwich inequality apply to FQ(μ,⋅) exactly as they do to F(μ,⋅).
Therefore, the proof of Lemma 1 applies with
F,E,H,T,Lp,Greplaced byFQ,EQ,HQ,TQ,LpQ,GQ.
Hence
dtdGQ(t)≤−2(ρτ−LpQ)GQ(t),(38)
and consequently
GQ(t)≤e−2(ρτ−LpQ)tGQ(0).(39)
Likewise, the proof of Lemma 2 applies to the soft-Q Gibbs response map and gives
W2(TQ(μ1),TQ(μ2))≤ρτLpQW2(μ1,μ2).(40)
Thus, if ρτ>LpQ, the map TQ is a contraction on P2(Rd) and admits a unique fixed point ν⋆Q.
Finally, repeating the argument in the proof of Theorem 1,
Taking the infimum over all parameter laws ν with finite DKL(ν∥gλ,τ) proves the claim.
Experimental Details
Environments and data collection. We consider policy evaluation on Asterix and Breakout in MinAtar. For each environment, we use the pretrained PPO checkpoint distributed with the gymnax-blines repository (agents/Asterix-MinAtar/ppo.pkl and agents/Breakout-MinAtar/ppo.pkl, respectively), and keep the policy fixed throughout the experiment. The repository provides the PPO training pipeline together with the corresponding pretrained checkpoints in agents/<env_name>/ppo.pkl. Using these fixed stochastic policies, we collect a transition pool by running 2048 parallel environments for 128 steps, yielding 262,144 transitions per environment. Terminal transitions use the final observation before the environment reset. From each pool, we use a fixed set of 16,384 transitions for training and a disjoint set of 65,536 transitions for evaluation. The same data split is used for all methods. These finite-rollout distributions are used only for the numerical illustration and are not intended to exactly represent a stationary state distribution.
Finite-width dynamics. We use the finite-particle approximation of the two-layer parameterization in § 2.4,
with width M=4096 and output scale C=100. Observations are flattened before being passed to the network. We initialize
wi∼N(0,I)/din,bi∼0.1N(0,1),ci∼N(0,1),
and use the same initialization for all compared methods.
At each iteration, the semi-gradient is computed on the entire fixed training set, with gradients stopped through the bootstrap target. We use discount factor γ=0.99, step size η=10−4, and run for 2×105 iterations, corresponding to continuous time T=20 under t=kη. We compare
(λ,τ)∈{(0,0),(0.1,0),(0.1,2×10−3)},
corresponding respectively to no regularization, quadratic regularization only, and quadratic regularization with Langevin noise. For τ>0, the particle update includes independent Gaussian noise with scale 2τη as in the noisy semi-gradient dynamics.
Evaluation and randomness. We report the empirical counterpart of H(νt,νt) on the fixed evaluation set,
For τ=0, the update is deterministic given the initialization and dataset, and we therefore report a single trajectory. For τ=2×10−3, we keep the initialization fixed and vary only the Langevin-noise realization. Figure 1 reports the mean and one standard deviation over five noise seeds.
References
[1]Andrea Agazzi and Jianfeng Lu. Temporal-difference learning with nonlinear function approximation: lazy training and mean field regimes. In Proceedings of the 2nd Mathematical and Scientific Machine Learning Conference, volume 145 of Proceedings of Machine Learning Research, pp. 37–74. PMLR, 2022. URL https://proceedings.mlr.press/v145/agazzi22a.html.
[2]Kavosh Asadi, Shoham Sabach, Yao Liu, Omer Gottesman, and Rasool Fakoor. TD convergence: An optimization perspective. In Advances in Neural Information Processing Systems, volume 36, pp. 49169–49186, 2023. DOI: 10.52202/075280-2138. URL https://proceedings.neurips.cc/paper_files/paper/2023/hash/9a08fbb992f15faa695c42b6a2c8e000–Abstract.html.DOI
[3]Leemon C. Baird, III. Residual algorithms: Reinforcement learning with function approximation. In Proceedings of the Twelfth International Conference on Machine Learning, pp. 30–37, San Francisco, CA, 1995. Morgan Kaufmann. DOI: 10.1016/B978-1-55860-377-6.50013-X.DOI
[4]Vladimir I. Bogachev, Nicolai V. Krylov, Michael Röckner, and Stanislav V. Shaposhnikov. Fokker–Planck–Kolmogorov Equations, volume 207 of Mathematical Surveys and Monographs. American Mathematical Society, Providence, RI, 2015. DOI: 10.1090/surv/207.DOI
[5]David Brandfonbrener and Joan Bruna. Geometric insights into the convergence of nonlinear TD learning. In International Conference on Learning Representations, 2020. URL https://openreview.net/forum?id=SJezGp4YPr.arxiv.org/abs/1905.12185
[6]Qi Cai, Zhuoran Yang, Jason D. Lee, and Zhaoran Wang. Neural temporal-difference learning converges to global optima. In Advances in Neural Information Processing Systems, volume 32, pp. 11312–11322, 2019. URL https://proceedings.neurips.cc/paper/2019/hash/98baeb82b67b66b62e12a7fa8ad921f6–Abstract.html.
[7]Semih Cayci, Siddhartha Satpathi, Niao He, and R. Srikant. Sample complexity and overparameterization bounds for temporal-difference learning with neural network approximation. IEEE Transactions on Automatic Control, 68(5):2891–2905, 2023. DOI: 10.1109/TAC.2023.3234234.DOI
[8]Lénaïc Chizat. Mean-field Langevin dynamics: Exponential convergence and annealing. Transactions on Machine Learning Research, 2022. ISSN 2835-8856. URL https://openreview.net/forum?id=BDqzLH1gEm.arxiv.org/abs/2202.01009
[9]Geoffrey J. Gordon. Reinforcement learning with function approximation converges to a region. In Advances in Neural Information Processing Systems, volume 13, pp. 1040–1046. MIT Press, 2000. URL https://proceedings.neurips.cc/paper/2000/hash/04df4d434d481c5bb723be1b6df1ee65–Abstract.html.
[10]Kaitong Hu, Zhenjie Ren, David Šiška, and Lukasz Sprpruch. Mean-field Langevin dynamics and energy landscape of neural networks. Annales de l’Institut Henri Poincaré, Probabilités et Statistiques, 57(4):2043–2065, 2021. DOI: 10.1214/20-AIHP1140.DOI
[11]Zhifa Ke, Zaiwen Wen, and Junyu Zhang. An improved finite-time analysis of temporal difference learning with deep neural networks. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 23407–23429. PMLR, 2024. URL https://proceedings.mlr.press/v235/ke24b.html.arxiv.org/abs/2405.04017