Strong independence conditioned on the entire external sequence
DefinitionWeightedMajority_Shifting_Supplement_StrongIndependenceonline-learningp2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1prediction-with-expert-adviceweighted-majority
Let be a probability measure. For a finite run of trials, let be the vector of pool predictions, the label and the master's prediction. Let be the published WMR weighted average. Write and . Strong independence means
The external-data and past-prediction algebras are constructed from these variables, including future external data. This extends the published WMR model with precisely the strong condition used by the conditional tail theorem and established by the lazy implementation. Trial indices start at zero.
Definition code
import Definitions.Def_WeightedMajority_Randomized_WMRModel
open MeasureTheory
namespace WeightedMajority.Shifting.Supplement
/-- The entire external prediction/label sequence, including trials after the current one.
The paper's positive trial indices are shifted down by one. -/
@[reducible] def external {Ω : Type*} {n : ℕ} (t : ℕ) (x : ℕ → Fin n → Ω → ℝ)
(ρ : ℕ → Ω → ℝ) : MeasurableSpace Ω :=
MeasurableSpace.comap
(fun ω => fun j : Fin t => ((fun i => x j.val i ω), ρ j.val ω)) inferInstance
/-- Only master predictions strictly before trial `j`. -/
@[reducible] def pastPredictions {Ω : Type*} (j : ℕ) (lam : ℕ → Ω → ℝ) : MeasurableSpace Ω :=
MeasurableSpace.comap (fun ω => fun k : Fin j => lam k.val ω) inferInstance
/-- The strong independence condition, p. 238: condition on all external data and all
strictly earlier master predictions. This predicate asserts no tail bound. -/
def StrongIndependence {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) {n : ℕ}
(t : ℕ) (w1 : Fin n → ℝ) (F : ℕ → Fin n → ℝ → ℝ → ℝ)
(x : ℕ → Fin n → Ω → ℝ) (ρ lam : ℕ → Ω → ℝ) : Prop :=
∀ j < t, P[lam j | external t x ρ ⊔ pastPredictions j lam]
=ᵐ[P] WeightedMajority.Randomized.gamma w1 F x ρ j
end WeightedMajority.Shifting.Supplement
Source
Littlestone, Warmuth, The Weighted Majority Algorithm, Inform. and Comput. 108 (1994), DOI 10.1006/inco.1994.1009, p. 238, strong independence condition