Eq. (2) — transportation inequality for -PAC strategies
ProvedOptimalBAI.LowerBound.transportation_inequalityFix a canonical one-parameter exponential family and arms. Let be a set of bandit models of the family, each of which has a unique optimal arm, and let . Consider a strategy — a stopping time of the natural filtration and an -measurable decision — that is -PAC on . For a model write for the expectation under the law of the trajectory it generates, and for the number of draws of arm among the first rounds.
Then for every and every whose optimal arm differs from that of ,
where is the Kullback–Leibler divergence between the reward laws of arm under the two models and is the binary relative entropy.
This is the "transportation" inequality (Lemma 1 of Kaufmann, Cappé and Garivier, 2015) on which the proof of Theorem 1 rests: any strategy that distinguishes from with error at most must collect, in expectation, at least nats of information.
Formalization Note The paper states the inequality for ; it is false for (a strategy that draws arm 1 once and decides by the fractional part of the reward is -PAC on unit-variance Gaussian models, while the left side can be arbitrarily small), so is assumed. Divergences and expectations are in . is read at truncated to where ; that event has probability zero under the -PAC hypothesis. "Different optimal arms" is stated as: no arm is optimal for both models. Arms are 0-based in Lean.
import Mathlib import Definitions.Def_bernoulliRelativeEntropy import Definitions.Def_TrackAndStop import Definitions.Def_OptimalBAI_LowerBound_ExpFamily import Definitions.Def_OptimalBAI_LowerBound_IsDeltaPAC open MeasureTheory ENNReal InformationTheory BanditAlgorithm
namespace OptimalBAI.LowerBound
/-- Eq. (2) of Garivier–Kaufmann (arXiv:1602.04589v2, p. 4), the transportation inequality
(Lemma 1 of Kaufmann, Cappé, Garivier 2015), for `δ ∈ (0, 1/2]`. Let `𝒮` be any set of
exponential-family bandit models each with a unique optimal arm, `(π, τ, ψ)` a `δ`-PAC strategy on
`𝒮`, and `μ, λ ∈ 𝒮` with different optimal arms. Then
`∑_a d(μ_a, λ_a) E_μ[N_a(τ)] ≥ kl(δ, 1 - δ)`, with `d(μ_a, λ_a) = KL(ν_{θ_a}, ν_{θ'_a})` and
`N_a(τ)` the number of draws of arm `a` in the first `τ` rounds.
`(τ ω).toNat` is `0` when `τ ω = ⊤`; that event is null by the `δ`-PAC hypothesis. As in
Theorem 1, `δ ≤ 1/2` is added (false for `δ ∈ (1/2, 1)`). -/
theorem transportation_inequality {K : ℕ} (F : ExpFamily) (S : Set (Fin K → F.Θ))
(hS : ∀ θ ∈ S, ∃ a, F.IsBestArm θ a)
(δ : ℝ) (hδ_pos : 0 < δ) (hδ_le : δ ≤ 1 / 2)
(π : BanditPolicy K) (τ : (ℕ → Fin K × ℝ) → ℕ∞) (ψ : (ℕ → Fin K × ℝ) → Fin K)
(hτ : IsBanditStoppingTime τ) (hψ : Measurable[hτ.measurableSpace] ψ)
(hPAC : IsDeltaPAC δ π τ ψ (expFamilyBandit F '' S))
(θ θ' : Fin K → F.Θ) (hθ : θ ∈ S) (hθ' : θ' ∈ S)
(hdiff : ∀ a, F.IsBestArm θ a → ¬ F.IsBestArm θ' a) :
ENNReal.ofReal (bernoulliRelativeEntropy δ (1 - δ)) ≤
∑ a, klDiv ((expFamilyBandit F θ).P a) ((expFamilyBandit F θ').P a) *
∫⁻ ω, (trajPullCount a (τ ω).toNat ω : ℝ≥0∞)
∂banditTrajMeasure (expFamilyBandit F θ) π := by sorry
end OptimalBAI.LowerBound
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.