Lemma 8 — D-Tracking guarantees
ProvedOptimalBAI.TrackStop.d_tracking_boundsLet be the mean vector of an exponential family bandit model and its optimal proportions. Let also denote a target map with values in that returns optimal proportions at every point of . Consider a trajectory whose arms follow the D-Tracking rule with this target, and let be the number of draws of arm in the first rounds and the empirical means. Then:
- for every and every arm , ;
- for all and all , there exists , depending only on and (not on the trajectory), such that for every trajectory following the rule
Forced exploration makes every arm grow like , and once the plug-in targets settle near the empirical proportions follow them.
Formalization Note The statement is pathwise, for every trajectory that follows the rule with any tie-breaking; is chosen before the trajectory, as the paper's remark after Lemma 17 (p. 22, "the constant in Lemma 17 depends on , hence the notation ") and its use in Lemma 20 (p. 28) require. is assumed, as throughout the paper's analysis ( and need two arms).
import Mathlib import Definitions.Def_OptimalBAI_TrackStop_Tracking open BanditAlgorithm
namespace OptimalBAI.TrackStop
/-- Lemma 8 (Garivier–Kaufmann, arXiv:1602.04589v2, p. 7). Let `μ ∈ 𝒮` with optimal proportions
`w = w*(μ)`, and let `wt` be a target map with values in `Σ_K` that returns optimal proportions on
`𝒮`. Along any trajectory that follows D-Tracking with target `wt`,
`N_a(t) ≥ (√t - K/2)_+ - 1` for every `t` and `a`. Moreover, for all `ε > 0` and all `t₀` there is
`t_ε ≥ t₀`, the same for every trajectory (the paper, p. 22: "the constant `n₁` in Lemma 17 depends
on `ε`, hence the notation `t_ε`"), such that along any trajectory that follows D-Tracking, if
`max_a |w*_a(μ̂(t)) - w_a| ≤ ε` for every `t ≥ t₀`, then `max_a |N_a(t)/t - w_a| ≤ 3(K-1)ε` for
every `t ≥ t_ε`. -/
theorem d_tracking_bounds (F : ExpFamily) {K : ℕ} (hK : 2 ≤ K)
(μ : Fin K → ℝ) (hμ : μ ∈ bestArmMeans F K) (w : Fin K → ℝ) (hw : IsOptimalProportion F μ w)
(wt : (Fin K → ℝ) → (Fin K → ℝ)) (hwt_simplex : ∀ μ', wt μ' ∈ simplex K)
(hwt_opt : ∀ μ' ∈ bestArmMeans F K, IsOptimalProportion F μ' (wt μ')) :
(∀ ω : ℕ → Fin K × ℝ, FollowsDTracking wt ω → ∀ (t : ℕ) (a : Fin K),
max (Real.sqrt (t : ℝ) - (K : ℝ) / 2) 0 - 1 ≤ (trajPullCount a t ω : ℝ)) ∧
∀ ε : ℝ, 0 < ε → ∀ t₀ : ℕ, ∃ tε : ℕ, t₀ ≤ tε ∧
∀ ω : ℕ → Fin K × ℝ, FollowsDTracking wt ω →
((∀ t : ℕ, t₀ ≤ t → ∀ a : Fin K, |wt (trajMeanVec t ω) a - w a| ≤ ε) →
∀ t : ℕ, tε ≤ t → ∀ a : Fin K,
|(trajPullCount a t ω : ℝ) / (t : ℝ) - w a| ≤ 3 * ((K : ℝ) - 1) * ε) := by sorry
end OptimalBAI.TrackStop
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.