Existence of the hard arena family with diameter
OpenBanditAlgorithm.arena_family_existsThe construction step of the MDP lower bound.
For every and there is a layered arena on states and actions, together with a family of arenas indexed by the leaf--action pairs of , such that:
-
All members share the same skeleton. The rewarding state , the unrewarding state , the root, the level function, the depth and the child map of agree with those of for every ; the members differ only in where the advantage is planted. Member plants it exactly at : its special leaf is the first component of and its special action the second. This is what makes the family amenable to a change-of-measure argument, since two members then differ in a single transition row.
-
The family is large. Writing for the number of leaves, the index set has exactly members, and , so and the family has members. This is the source of the factor in the final rate.
-
The tree is shallow. for the common leaf depth , i.e. . Shallowness is what lets the diameter be taken as small as .
-
Every member has small diameter. For every , the MDP induced by has diameter at most , i.e. four expected episode lengths. Travel to a tree node by routing down the path from the root; travel to or by descending and gambling, which succeeds with probability at least per attempt.
All leaves sit at the same depth . This is a deliberate strengthening of the book, which takes a tree of minimum depth: with leaves at two depths an episode through a shallow leaf is one round shorter, worth of gain, while the planted advantage is only , so for large the optimal gain would be attained at a leaf carrying no advantage and the regret decomposition of Claim 38.11 would fail.
import Definitions.Def_LayeredArena open MeasureTheory ProbabilityTheory open scoped NNReal open BanditAlgorithm BanditAlgorithm.LayeredArena
theorem BanditAlgorithm.arena_family_exists
{S A : ℕ} [NeZero S] {δ Δ : ℝ≥0}
(hδ1 : δ ≤ 1) (hδ0 : (0 : ℝ) < δ) (hΔ2 : Δ ≤ 1 / 2) (hΔ4 : Δ ≤ 1 / 4)
(hS : 3 ≤ S) (hA : 2 ≤ A) :
∃ (E₀ : LayeredArena S A)
(Efam : ↥(countedPairs E₀.leafNat) → LayeredArena S A) (L : ℕ),
(∀ p, E₀.good = (Efam p).good) ∧ (∀ p, E₀.bad = (Efam p).bad) ∧
(∀ p, E₀.root = (Efam p).root) ∧ (∀ p, E₀.lvl = (Efam p).lvl) ∧
(∀ p, E₀.depth = (Efam p).depth) ∧ (∀ p, E₀.child = (Efam p).child) ∧
(∀ p, (Efam p).specialLeaf = p.val.1) ∧
(∀ p, (Efam p).specialAction = p.val.2) ∧
Fintype.card ↥(countedPairs (A := A) E₀.leafNat) = L * A ∧
A ^ E₀.depth < A * (S - 2) ∧ S - 2 ≤ 3 * L + 1 ∧
(∀ p, mdpDiameterENN ((Efam p).toMDP hδ1 hΔ2)
≤ ENNReal.ofReal (4 * E₀.epiLen (δ : ℝ))) := by
sorry