Appendix A, eq. (15) — one lookahead step with evaluation error
ProvedLookaheadAPI.LeastSquares.eq_15approximate-policy-iterationlookaheadp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1reinforcement-learning
Let be a finite discounted MDP with rewards in and , and let . Let be any deterministic policy and an estimate with . If is an -accurate -step lookahead policy for , i.e. , then
This is the one-step contraction of approximate policy iteration with -step lookahead (Efroni et al., 2019, with a time-varying evaluation error); iterating it over gives Proposition 1.
Preamble
import Mathlib import Definitions.Def_LookaheadAPI_LeastSquares_MDP import Definitions.Def_LookaheadAPI_LeastSquares_LSOperator import Definitions.Def_LookaheadAPI_LeastSquares_Algorithms
Formal statement
namespace LookaheadAPI.LeastSquares
/-- Appendix A, eq. (15) (p. 19): if `J_k` is within `δ_k` of `J^{μ_k}` (for any deterministic
policy `μ_k`) and `μ_{k+1}` is an `ε_LA`-accurate `H`-step lookahead policy for `J_k`, then
`‖J^{μ_{k+1}} − J^*‖_∞ ≤ α^H ‖J^{μ_k} − J^*‖_∞ + (2α^H δ_k + ε_LA)/(1 − α)`. -/
theorem eq_15 {S A : Type*} [Fintype S] [DecidableEq S] [Nonempty S] [Fintype A]
[DecidableEq A] [Nonempty A] (M : MDP S A) (H : ℕ) (hH : 1 ≤ H) (εLA δk : ℝ)
(Jk : S → ℝ) (μk μk1 : S → A)
(hδ : ‖Jk - valueOf M μk‖ ≤ δk)
(hLA : IsLookahead M H εLA Jk μk1) :
‖valueOf M μk1 - optValue M‖ ≤
M.α ^ H * ‖valueOf M μk - optValue M‖ + (2 * M.α ^ H * δk + εLA) / (1 - M.α) := by sorry
end LookaheadAPI.LeastSquares
Source
arXiv:2109.13419v7, p. 19, Appendix A, eq. (15) (eq. (14), p. 18, is its constant-δ case)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.