Corollary 8.4.5 — implicit explore or exploit: a T-step optimal policy of M_K has U_{π,t,M} ≥ U*_{t,M} − Pr(escape from K)
ProvedSampleComplexityRL.Exploration.implicit_explore_exploitdynamic-programmingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1reinforcement-learning
Let be an MDP with finite state set , finite nonempty action set , transition model and rewards , let and let be the induced MDP. Let be a -step optimal policy in , i.e. for all and all states . Then for every state and every time ,
Thus a single optimal policy of the optimistic model either escapes from the known states with substantial probability (it explores) or is nearly -step optimal in (it exploits), with no explicit decision between the two.
Formalization Note The thesis prints the range ""; the -value is defined only for (Definition 8.4.2), and the printed proof and Lemma 8.4.4 use , so the statement is made for . is the supremum over all -step policies.
Preamble
import Mathlib import Definitions.Def_FoundationsML_ReinforcementLearning_IsTransitionKernel import Definitions.Def_SampleComplexityRL_Exploration_Model
Formal statement
namespace SampleComplexityRL.Exploration
open FoundationsML.ReinforcementLearning
/-- **Corollary 8.4.5 (Implicit Explore or Exploit)** (Kakade 2003, p. 108). Let `M = (P, r)` be
an MDP with rewards in `[0,1]`, `K` a set of states and `M_K` the induced MDP, and let `π` be an
optimal `T`-step policy in `M_K`. For all states `s` and times `t < T`,
`U_{π,t,M}(s) ≥ U*_{t,M}(s) − Pr(escape from K | π, M, s_t = s)`.
The printed range is `t ≤ T`; `U_{π,t,M}` is defined only for `t < T` (Definition 8.4.2), the
range of Lemma 8.4.4 and of the printed proof, so the statement is made for `t < T`. -/
theorem implicit_explore_exploit {S A : Type} [Fintype S] [DecidableEq S] [Fintype A]
[DecidableEq A] [Nonempty A]
(P : S → A → S → ℝ) (r : S → A → ℝ) (hP : IsTransitionKernel P)
(hr : ∀ s a, 0 ≤ r s a ∧ r s a ≤ 1)
(K : Finset S) (T : ℕ) (π : ℕ → S → A)
(hπ : IsTStepOptimal (inducedP P K) (inducedR r K) T π)
(t : ℕ) (ht : t < T) (s : S) :
optUValue P r T t s - escapeProb P K T π t s ≤ uValue P r T π t s := by sorry
end SampleComplexityRL.Exploration
Source
Kakade, On the Sample Complexity of Reinforcement Learning, PhD thesis, University College London, 2003, p. 108, Corollary 8.4.5
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.