Theorem 3, pp. 17–18 — projected TD(0) under Markov sampling: finite-time bounds (a) 1/√T, (b) exponential to a radius, (c) log T/T
ProvedFiniteTD.Markov.theorem_3Let be a finite nonempty state space with stochastic matrix and stationary distribution , satisfying Assumption 1 with constants , ; the chain starts from . Let , , and let the features () satisfy , with the minimum eigenvalue of . Let satisfy , let and , and run projected TD(0) (20), , along the chain. Set , , and . Then:
- (a) For and constant step size ,
- (b) For a constant step size and every ,
- (c) For the decaying step sizes , , and ,
Here and is over the stationary trajectory. This is the paper's main result: the first non-asymptotic guarantee for TD(0) with linear function approximation under Markovian observation noise, with rates matching the i.i.d. case up to a mixing-time factor.
Formalization Note The expectation is the finite sum over trajectories of the chain started from ; averages as in the text and the proof (Algorithm 1's averaging recursion is a slip). The implicit conditions in (a) and (c) (the bounds divide by and ) and in (b) (so that is defined) are explicit, as is . is characterised as the least value of on the unit sphere. is any vector with (unique by Lemma 3). In (a) and (b) the step sizes are constrained only for , as printed; in (c) for all .
import Mathlib import Definitions.Def_FiniteTD_Markov_Chain import Definitions.Def_FiniteTD_Markov_Setting
namespace FiniteTD.Markov
theorem theorem_3 {S : Type} [Fintype S] [DecidableEq S] [Nonempty S] {d : ℕ} [NeZero d]
(P : S → S → ℝ) (π : S → ℝ) (Rw : S → S → ℝ) (rmax γ : ℝ)
(φ : S → EuclideanSpace ℝ (Fin d)) (ω m ρ R : ℝ) (θstar θ0 : EuclideanSpace ℝ (Fin d))
(hP : IsStochastic P) (hπ : IsStationaryDist P π) (hRw : ∀ s s', |Rw s s'| ≤ rmax)
(hγ0 : 0 ≤ γ) (hγ1 : γ < 1) (hφ : ∀ s, ‖φ s‖ ≤ 1)
(hω : IsMinEig π φ ω) (hω0 : 0 < ω)
(hstar : gbar π P γ Rw φ θstar = 0) (hA1 : Assumption1 P π m ρ)
(hR : ‖θstar‖ ≤ R) (hθ0 : ‖θ0‖ ≤ R) :
-- (a) constant step size 1/√T, averaged iterate
(∀ T : ℕ, 1 ≤ T → ∀ α : ℕ → ℝ, (∀ t ≤ T, α t = 1 / Real.sqrt T) →
pathExp π P T (fun w => dNormSq π φ (θstar - avgIter γ Rw φ R α θ0 T (extendPath w))) ≤
(‖θstar - θ0‖ ^ 2 + (rmax + 2 * R) ^ 2 * (9 + 12 * (tauMix m ρ (1 / Real.sqrt T) : ℝ)))
/ (2 * Real.sqrt T * (1 - γ))) ∧
-- (b) constant step size α₀ < 1/(2ω(1-γ)), last iterate
(∀ α0 : ℝ, 0 < α0 → α0 < 1 / (2 * ω * (1 - γ)) →
∀ T : ℕ, ∀ α : ℕ → ℝ, (∀ t ≤ T, α t = α0) →
pathExp π P T (fun w => ‖θstar - ptd γ Rw φ R α θ0 (extendPath w) T‖ ^ 2) ≤
Real.exp (-2 * α0 * (1 - γ) * ω * T) * ‖θstar - θ0‖ ^ 2
+ α0 * ((rmax + 2 * R) ^ 2 * (9 + 12 * (tauMix m ρ α0 : ℝ)) / (2 * (1 - γ) * ω))) ∧
-- (c) decaying step size 1/(ω(t+1)(1-γ)), averaged iterate
(∀ T : ℕ, 1 ≤ T → ∀ α : ℕ → ℝ, (∀ t : ℕ, α t = 1 / (ω * ((t : ℝ) + 1) * (1 - γ))) →
pathExp π P T (fun w => dNormSq π φ (θstar - avgIter γ Rw φ R α θ0 T (extendPath w))) ≤
(rmax + 2 * R) ^ 2 * (9 + 24 * (tauMix m ρ (α T) : ℝ)) / (T * (1 - γ) ^ 2 * ω)
* (1 + Real.log T)) := by sorry
end FiniteTD.Markov
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.