§2.1, p. 6 — on a mixing AMDP the average cost is the stationary mean: ρ^π(s) = ⟨ν^π, c^π⟩ for every s
ProvedAvgRewardPMD.SPMD.avg_cost_eq_stationaryaverage-reward-mdpmarkov-chainp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1stationary-distribution
Let be a finite AMDP satisfying the mixing Assumption 1, let be a feasible policy, and let be a stationary distribution of . Then for every start state the Cesàro means of the expected costs converge, and
In particular the average cost does not depend on the start state. Taking gives the paper's , the scalar every later statement of the mission calls .
Formalization Note The cost is an arbitrary ; a regularizer enters through it. The conclusion states the convergence of the Cesàro means as well as the value of avgCost.
Differences from the source:
- generalization: the cost c + h^π → any cost c′(s,a); reason: c′(s,a) = c(s,a) + h^π(s) is an instance, and then c′^π = c^π + h^π because π(·|s) sums to one
- encoding: ν^π, the stationary distribution → any stationary distribution ν of P_π; reason: under Assumption 1 the stationary distribution is unique, so this is the same object
- encoding: ρ^π(s) := lim_{T→∞} of the Cesàro means, whose existence (2.1) presupposes → the Cesàro means converge to ⟨ν, c′^π⟩, and
avgCost(alimUnder) equals that value; reason:limUnderreturns a default value when no limit exists, so the existence the source takes for granted is stated explicitly; no instance changes
Preamble
import Mathlib import Definitions.Def_AvgRewardPMD_SPMD_Setting
Formal statement
namespace AvgRewardPMD.SPMD
open FoundationsML.ReinforcementLearning Filter Topology
theorem avg_cost_eq_stationary {S A : Type*} [Fintype S] [Fintype A] [DecidableEq S]
[DecidableEq A] (P : S → A → S → ℝ) (hP : IsTransitionKernel P) (hmix : IsMixing P)
(π : S → A → ℝ) (hπ : IsPolicy π) (ν : S → ℝ)
(hν : MarkovMixing.IsStationary (stateMatrix P π) ν) (c : S → A → ℝ) :
∀ s, Tendsto (fun T : ℕ => (T : ℝ)⁻¹ *
∑ t ∈ Finset.range T, (((stateMatrix P π) ^ t).mulVec (InducedReward π c)) s)
atTop (𝓝 (∑ s', ν s' * InducedReward π c s')) ∧
avgCost P π c s = ∑ s', ν s' * InducedReward π c s' := by sorry
end AvgRewardPMD.SPMD
Source
Li, Wu, Lan, Stochastic first-order methods for average-reward Markov decision processes, arXiv:2205.05800v6, p. 6, §2.1, display after Assumption 1 (ρ^π(s) = ρ^π := ⟨ν^π, c^π + h^π⟩)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.