Lemma 4.7, p. 18 — with valid estimates, both Bellman errors are at most , global and subsampled
ProvedCorruptRobustRL.Supervised.lemma4_7_bellman_error_boundRun UCBVI-BASE (Algorithm 2) for the nominal MDP with horizon , with arbitrary active sets, any action selector, a global model-estimate and a subsampled one , both with the tabular ranges, and let be the resulting Q-supervisor. If both model-estimates are valid with respect to , then for every stage , state and action , with ,
and the same bound holds with in place of .
This converts the Bellman errors of Proposition 4.2 into bonuses plus transition-estimation errors, which are the terms of Theorem 4.1.
Formalization Note The Q-supervisor is given as T with the hypothesis T = ucbviSup H act gl sb sel; the statement covers every learner of SuperVIsed.C, whose Q-supervisor is such a run.
import Mathlib import Definitions.Def_CorruptRobustRL_Supervised_MDP import Definitions.Def_CorruptRobustRL_Supervised_Supervisor import Definitions.Def_CorruptRobustRL_Supervised_Algorithm
namespace CorruptRobustRL.Supervised
open Finset QSupervisor
/-- Lemma 4.7 (p. 18): for a base learner (one run `𝒯` of UCBVI-BASE) whose global and subsampled
model-estimates are valid, `max(Bell̄_h, Bell̄_h − Bell̲_h) ≤ min(3H, 2b + max_{V ∈ 𝒱_{h+1}} (p̂ − p⋆)ᵀ V)`
for each of the two model-estimates, where `𝒱_{h+1} = {V̄_{h+1} − V⋆_{h+1}, V̄_{h+1} − V̲_{h+1}}`. -/
theorem lemma4_7_bellman_error_bound
{X A : Type} [Fintype X] [DecidableEq X] [Fintype A] [DecidableEq A] [Nonempty A]
(M : NominalMDP X A) (hM : M.IsNominal) (H : ℕ) (hH : 1 ≤ H)
(act : ℕ → X → Finset A) (gl sb : ModelEst X A) (sel : Selector A)
(T : QSupervisor X A) (hTdef : T = ucbviSup H act gl sb sel)
(hgl : gl.IsModelEst H) (hsb : sb.IsModelEst H)
(hvgl : gl.IsValid M H T) (hvsb : sb.IsValid M H T) :
∀ h < H, ∀ x a,
max (upperBell M H T h x a) (upperBell M H T h x a - lowerBell M H T h x a) ≤
min (3 * (H : ℝ)) (2 * gl.b x a +
max (∑ x', (gl.p x a x' - M.pstar x a x') * (Vbar H T (h + 1) x' - Vstar M H (h + 1) x'))
(∑ x', (gl.p x a x' - M.pstar x a x') * (Vbar H T (h + 1) x' - Vlow H T (h + 1) x'))) ∧
max (upperBell M H T h x a) (upperBell M H T h x a - lowerBell M H T h x a) ≤
min (3 * (H : ℝ)) (2 * sb.b x a +
max (∑ x', (sb.p x a x' - M.pstar x a x') * (Vbar H T (h + 1) x' - Vstar M H (h + 1) x'))
(∑ x', (sb.p x a x' - M.pstar x a x') * (Vbar H T (h + 1) x' - Vlow H T (h + 1) x'))) := by sorry
end CorruptRobustRL.Supervised
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.