(80), Appendix D, p. 46 — change of measure on bandit histories, for any finite set of changed arms
ProvedFragileBandit.CauchyTail.change_of_measureChange of measure on adaptive bandit histories. Let be any bandit algorithm and let and be two environments that agree outside a finite set of arms: for . For distributions write for the Radon–Nikodym derivative of the absolutely continuous part of with respect to (Lebesgue decomposition). For every horizon and every measurable event of the first rounds,
where and are the arm and the reward of round . The product equals . If moreover for every , equality holds.
This is the likelihood-ratio identity behind every lower bound of the paper: (13) and (43) change one arm, the case of Theorem 1 (p. 39) changes arms, and (80) changes one arm without absolute continuity.
Differences from the source:
- generalization: one changed arm (arm 1), and the specific events C_n (80) / {N_2(T) > (1−γ)T} (43) → any finite set S of changed arms and any measurable event E of the first T rounds; equality clause under Q_j ≪ Q̃_j for j ∈ S; reason: S = {1} and E = C_n give (80); with absolute continuity the equality clause is (43); S = {1, …, i−1} is the change of measure of p. 39
- encoding: dQ/dQ̃, the density of the absolutely continuous part of Q with respect to Q̃ (Appendix D, p. 45); ∏_{t ≤ N_1(T)} dP_1/dP̃_1(X_1(t)) → Measure.rnDeriv (ν.P a) (ν'.P a) evaluated at the reward of every round t ≤ T whose arm a lies in S, in ℝ≥0∞; lower Lebesgue integral over E against banditMeasure ν' π T; reason: Mathlib's rnDeriv is the paper's convention; the product over rounds with arm in S is the product over the plays of the arms of S
- encoding: P_νπ on ([K] × ℝ)^∞ (p. 7), events about N_i(T) → banditMeasure ν π T on the histories of the first T rounds (published BanditPolicy), N_i(T) = armPullCount i h; reason: the infinite-horizon law restricted to the first T rounds is exactly banditMeasure ν π T, and N_i(T) depends only on those rounds
import Mathlib import Definitions.Def_FragileBandit_CauchyTail_Setting
namespace FragileBandit.CauchyTail
open MeasureTheory ProbabilityTheory Filter BanditAlgorithm
open scoped ENNReal Topology
/-- Change of measure on bandit histories (Appendix D, (80), p. 46; also (43), p. 38 and (13), p. 13),
for a finite set `S` of arms whose laws change from `ν̃` (here `ν'`) to `ν`. For every horizon `T` and
measurable event `E` of the first `T` rounds,
`P_νπ(E) ≥ E_ν̃π[𝟙_E ∏_{t ≤ T, A(t) ∈ S} (dQ_{A(t)}/dQ̃_{A(t)})(Y(t))]`, where `dQ/dQ̃` is the
Radon–Nikodym derivative of the absolutely continuous part of `Q` with respect to `Q̃`; equality holds when
`Q_j ≪ Q̃_j` for every `j ∈ S`. -/
theorem change_of_measure {K : ℕ} (π : BanditPolicy K) (ν ν' : StochasticBandit K)
(S : Finset (Fin K)) (hS : ∀ j, j ∉ S → ν.P j = ν'.P j) (T : ℕ)
(E : Set (BanditHistory K T)) (hE : MeasurableSet E) :
(∫⁻ h in E, ∏ t : Fin T,
(if (h t).1 ∈ S then (ν.P (h t).1).rnDeriv (ν'.P (h t).1) (h t).2 else 1)
∂(banditMeasure ν' π T)) ≤ banditMeasure ν π T E ∧
((∀ j ∈ S, ν.P j ≪ ν'.P j) →
banditMeasure ν π T E =
∫⁻ h in E, ∏ t : Fin T,
(if (h t).1 ∈ S then (ν.P (h t).1).rnDeriv (ν'.P (h t).1) (h t).2 else 1)
∂(banditMeasure ν' π T)) := by sorry
end FragileBandit.CauchyTail
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.