Lemma 2, p. 17 — M-LinUCB with β_t = β*_t on the pricing PLB is Inner Algorithm B with UCB (2)
ProvedLuoSunLiu.DIP.lemma_2This statement has two parts.
- LinUCB in closed form. For , , any actions and rewards , and any , the maximum of over the ellipsoid is attained and equals
- Equivalence of the algorithms. Let , , and an estimate be given. Couple arms, prices and responses with the PLB by , and . Then, on every sample path and for every horizon , the actions are a run of M-LinUCB (Algorithm 5) with
if and only if the arms and prices are a run of Inner Algorithm B (Algorithm 3) with the UCB construction (2) and .
The equivalence lets the regret analysis of M-LinUCB on a perturbed linear bandit (Lemma 3) be applied to the pricing algorithm.
Formalization Note Part 1 is the step of the proof (pp. 37–38) that identifies ; it justifies the closed form used in the definition of LinUCB. In part 2, Algorithm 3 is read with forced exploration of unpulled available arms, as the paper's proof of Lemma 2 requires (it sets for unpulled arms, p. 36); with the printed (2) an unpulled arm would get a finite UCB and the equivalence would fail. The episode starts at period (); the responses may be any real numbers.
import Mathlib import Definitions.Def_SelfNormalizedProcess import Definitions.Def_LuoSunLiu_DIP_Model import Definitions.Def_LuoSunLiu_DIP_InnerB import Definitions.Def_LuoSunLiu_DIP_PLB open MeasureTheory Matrix
namespace LuoSunLiu.DIP
/-- Lemma 2 (Luo, Sun and Liu, arXiv:2109.07340v2, p. 17; proof pp. 36–38).
(a) For `λ > 0` and `β ≥ 0`, `LinUCB_t(a)` is the maximum of `⟨ξ, a⟩` over the ellipsoid
`𝒞_t(β) = {ξ : ‖ξ - ξ̂_{t-1}‖²_{V_{t-1}(λ)} ≤ β}` (Algorithm 5, line 8).
(b) Under the price-action coupling `A_t = p_t e_{j_t}`, `𝒜_t = {Q_t(p) : p ∈ 𝒮_t}`,
`Z_t = p_t y_t`, M-LinUCB with `β_t = β*_t` runs on the sample path `ω` up to `T₀` exactly when
Inner Algorithm B with the UCB (2) and `β_t = β*_t` does. -/
theorem lemma_2 :
(∀ {d : ℕ} {Ω : Type*} (lam β : ℝ) (A : ℕ → Ω → Fin d → ℝ) (Z : ℕ → Ω → ℝ)
(t : ℕ) (ω : Ω) (a : Fin d → ℝ), 0 < lam → 0 ≤ β →
IsGreatest
{v : ℝ | ∃ ξ : Fin d → ℝ,
(ξ - BanditAlgorithm.regularizedLeastSquares d lam A Z (t - 1) ω) ⬝ᵥ
BanditAlgorithm.regularizedDesignMatrix d lam A (t - 1) ω *ᵥ
(ξ - BanditAlgorithm.regularizedLeastSquares d lam A Z (t - 1) ω) ≤ β ∧
v = ξ ⬝ᵥ a}
(linUCB lam β A Z t ω a)) ∧
(∀ {d0 d : ℕ} (M : PricingModel d0) (θh : Fin d0 → ℝ) (lam δ : ℝ) {Ω : Type*}
(x : ℕ → Ω → Fin d0 → ℝ) (j : ℕ → Ω → Fin d) (p y : ℕ → Ω → ℝ) (T0 : ℕ) (ω : Ω),
0 < M.pmax → 0 < lam → 1 ≤ d →
(IsMLinUCBRunAt lam (betaStar M.pmax lam d δ)
(fun t ω => pricingActions M θh d (x t ω))
(fun t ω => Pi.single (j t ω) (p t ω)) (fun t ω => p t ω * y t ω) T0 ω ↔
IsInnerBRun M.pmax θh lam (betaStar M.pmax lam d δ) 0 T0
(fun t => x t ω) (fun t => j t ω) (fun t => p t ω) (fun t => y t ω))) := by sorry
end LuoSunLiu.DIP
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.