Follow the Perturbed Leader #
In an online linear optimization problem ([KV05]; discussed in prose in
[BlumMansour2007AGT, §4.7.1, p. 98]), a learner chooses in each round t an element a from a
finite decision set α represented by action vectors v : α → ι → ℝ in ℝ^ι, observes a stage
cost vector ℓ t : ι → ℝ, and incurs linear cost v a ⬝ᵥ ℓ t = ∑ i, v a i * ℓ t i.
Follow the Perturbed Leader (FPL, due to Hannan (1957) and analyzed for general online linear
decision problems by Kalai and Vempala [KV05]) draws a random perturbation uniformly
from the cube [0, 1 / ε]^ι (equivalently (1 / ε) • u for u uniform on the unit cube
Set.Icc (0 : ι → ℝ) 1) and plays in round t the decision minimizing
v a ⬝ᵥ (∑ s ∈ range t, ℓ s + (1 / ε) • u) (fplLeader, inducing the round-t distribution
fplProb v ε ℓ t : α → ℝ).
Source note: [BlumMansour2007AGT, §4.7.1, p. 98] summarizes the online linear optimization model of Kalai and Vempala in prose without stating a numbered theorem, and [KV05] was not directly inspected. The uniform-cube formulation and regret bounds below are self-contained mathematical statements over real vectors and Lebesgue volume, without claiming offline-oracle running time, and are not registered as a cited theorem.
Proof architecture and connection to FTRL #
- Fixed-perturbation FPL via
OCO.IsFTRL(isFTRL_fplLeader): For any fixedu : ι → ℝandε > 0, positive scaling byεpreserves the lexicographic leader (fplLeader_smul_pos), sot ↦ fplLeader v (ε • ∑ s ∈ range t, ℓ s + u)is an instance ofCslib.MachineLearning.OnlineLearning.OCO.IsFTRLonSet.univwith linear regularizerψ a = (1 / ε) * (v a ⬝ᵥ u). ApplyingOCO.IsFTRL.regret_le_add_sum_subbounds the realized regret on each trajectory cell byD / εplus the per-round stability differencesv (x_t u) ⬝ᵥ ℓ t - v (x_{t + 1} u) ⬝ᵥ ℓ t. - Cube translation-overlap stability (
fpl_stability_step): Between roundtand roundt + 1, the scaled cumulative cost shifts byδ = ε • ℓ t. By translation invariance of Lebesgue volume onℝ^ι,fplProb v ε ℓ (t + 1) aequals the volume of the leader region inside the shifted cubeSet.Icc δ (1 + δ). Cancelling the overlap withSet.Icc 0 1leaves onlySet.Icc (0 : ι → ℝ) 1 \ Set.Icc δ (1 + δ), which is covered by|ι|coordinate slabs of total volume at most∑ i, |δ i| = ε * ∑ i, |ℓ t i|. - Expected regret bounds (
fpl_regret_le,fpl_regret_le_sqrt,fpl_experts_regret_le_sqrt): Combining theD / εperturbation term withTrounds ofε * R * Astability gives expected regretD / ε + ε * (R * A * T), and tuningε = √(D / (R * A * T))yields2 * √(D * R * A * T). On the standard basis vectorsPi.single a 1(fplExpertsProb),[0, 1]losses haveD = 1,R = 1, andA = |ι|, specializing to2 * √(|ι| * T).
Main definitions #
Cslib.MachineLearning.OnlineLearning.FPL.fplLeader: lexicographic minimum-cost leader inαminimizingv a ⬝ᵥ c.Cslib.MachineLearning.OnlineLearning.FPL.fplProb: round-taction distribution of FPL under a uniform perturbation onSet.Icc (0 : ι → ℝ) 1.Cslib.MachineLearning.OnlineLearning.FPL.fplExpertsProb: FPL specialized to theN-expert setting (v a = Pi.single a 1).
Main results #
Cslib.MachineLearning.OnlineLearning.FPL.isFTRL_fplLeader: fixed-perturbation FPL is an instance ofOCO.IsFTRL.Cslib.MachineLearning.OnlineLearning.FPL.fpl_stability_step: per-roundε * R * ‖ℓ t‖₁distribution stability from unit-cube translation overlap.Cslib.MachineLearning.OnlineLearning.FPL.fpl_regret_le: expected regret boundD / ε + ε * (R * A * T).Cslib.MachineLearning.OnlineLearning.FPL.fpl_regret_le_sqrt: tuned2 * √(D * (R * A * T))expected regret bound.Cslib.MachineLearning.OnlineLearning.FPL.isOnlineAlgorithm_fplExpertsProb,Cslib.MachineLearning.OnlineLearning.FPL.fpl_experts_regret_le_sqrt: experts specialization satisfyingExperts.IsOnlineAlgorithmand achieving2 * √(|ι| * T)expected regret on[0, 1]losses.
References #
Deterministic leader choosing the smallest a : α (under LinearOrder α) minimizing the
linear cost v a ⬝ᵥ c.
Exact characterization of fplLeader: a is chosen iff it minimizes v · ⬝ᵥ c and has
strictly smaller cost than every b < a.
Fixed-perturbation FPL is an instance of OCO.IsFTRL: for ε > 0 and perturbation
u : ι → ℝ, t ↦ fplLeader v (ε • ∑ s ∈ range t, ℓ s + u) minimizes the FTRL objective with
linear regularizer a ↦ (1 / ε) * (v a ⬝ᵥ u).
Measurability, unit-cube action distribution, and translation overlap #
Probability that FPL with parameter ε plays decision a : α in round t under a uniform
perturbation u on the unit cube Set.Icc (0 : ι → ℝ) 1.
Per-round stability of fplProb: if v a ⬝ᵥ ℓ t - v b ⬝ᵥ ℓ t ≤ R for all a, b : α, then
for ε ≥ 0,
∑ a, (fplProb v ε ℓ t a - fplProb v ε ℓ (t + 1) a) * (v a ⬝ᵥ ℓ t) ≤ ε * R * ∑ i, |ℓ t i|.
Expected regret bounds #
Follow-the-Perturbed-Leader expected regret bound: suppose on the unit cube
u ∈ Set.Icc (0 : ι → ℝ) 1 every pair a, b satisfies v a ⬝ᵥ u - v b ⬝ᵥ u ≤ D (for example
when ∑ i, |v a i - v b i| ≤ D), and in every round t < T the cost vector ℓ t has decision
span v a ⬝ᵥ ℓ t - v b ⬝ᵥ ℓ t ≤ R and L¹ norm ∑ i, |ℓ t i| ≤ A. Then for every ε > 0 and
comparator a_star : α, expected cost is at most
∑ t ∈ range T, v a_star ⬝ᵥ ℓ t + D / ε + ε * (R * A * T).
Tuned FPL expected regret 2 * √(D * (R * A * T)): setting ε = √(D / (R * A * T))
balances the perturbation and stability terms to 2 * √(D * (R * A * T)).
Specialization to N-expert prediction #
Follow-the-Perturbed-Leader specialized to the N-expert setting, representing each expert
a : ι by its standard basis vector Pi.single a 1.
fplExpertsProb ε is a causal online experts algorithm (Experts.IsOnlineAlgorithm).
FPL expected regret 2 * √(|ι| * T) for N experts on [0, 1] losses: on the standard
basis vectors Pi.single a 1, the one-sided cube span is D = 1, the stage span is R = 1, and
the L¹ loss bound is A = |ι|, giving 2 * √(|ι| * T) with ε = √(1 / (|ι| * T)).