Tail inequality for the forced-sample estimator of an optimal arm
ProvedBastaniBayati.LassoBandit.forced_sample_estimator_tailWork in Bastani and Bayati's model: covariates i.i.d. from on , independent -subgaussian noises () independent of the covariates, and Assumptions 1–4 with constants and arm partition ; let , , and let be the sparsity parameter.
Let with , , and let be the forced-sample times of arm up to time (Eq. (2)). The forced-sample estimator is the LASSO estimator trained on the covariates and the rewards of arm at the times . For every optimal arm and every ,
This is Proposition 2 of Bastani and Bayati: after forced samples, the forced-sample estimator of each arm is within of the truth with high probability, enough to separate arms whose rewards differ by the margin .
Formalization Note The page states this for all ; the statement is restricted to because the compatibility assumption (Assumption 4) and the region on which the proof rests exist only for optimal arms, and without them the claim fails for a suboptimal arm whose parameter is not identifiable from the covariates. At the forced times of arm the algorithm plays arm , so the statement needs no trajectory. The estimator is an arbitrary LASSO minimizer.
import Mathlib import Definitions.Def_BastaniBayati_LassoBandit_Basic import Definitions.Def_BastaniBayati_LassoBandit_Model import Definitions.Def_BastaniBayati_LassoBandit_Constants import Definitions.Def_BastaniBayati_LassoBandit_Algorithm open MeasureTheory ProbabilityTheory Finset open scoped NNReal ENNReal
namespace BastaniBayati.LassoBandit
/-- **Proposition 2**, Bastani–Bayati, p. 286, stated for the optimal arms `i ∈ 𝒦_opt` (see the
moderation notes: the page says "for all `i ∈ [K]`", but Assumption 4 and the region `Uᵢ` on
which the proof sketch of §4.2 rests exist only for `i ∈ 𝒦_opt`). Under the model of §2.1 and
Assumptions 1–4, with `K ≥ 2`, `d > 2`, the forced-sample estimator `β̂(𝒯_{i,t}, λ₁)` — any LASSO
estimator on the forced samples `𝒯_{i,t} = 𝒯ᵢ ∩ [t]` of arm `i`, whose responses are
`X_sᵀβᵢ + ε_{i,s}` — satisfies `Pr[‖β̂(𝒯_{i,t}, λ₁) − βᵢ‖₁ > h/(4x_max)] ≤ 5/t⁴` when
`λ₁ = φ₀² p_* h/(64 s₀ x_max)`, `t ≥ (Kq)²` and `q ≥ 4⌈q₀⌉`. -/
theorem forced_sample_estimator_tail
{Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P] {d K : ℕ}
(𝒳 : Set (Fin d → ℝ)) (PX : Measure (Fin d → ℝ)) (X : ℕ → Ω → Fin d → ℝ)
(ε : Fin K → ℕ → Ω → ℝ) (σ : ℝ≥0) (β : Fin K → Fin d → ℝ)
(xmax b C0 h pstar φ0 : ℝ) (Kopt Ksub : Finset (Fin K)) (s0 : ℕ)
(hmodel : IsCovariateNoiseModel P 𝒳 PX X ε σ) (hσ : 0 < σ)
(hA1 : ParameterSet 𝒳 β xmax b) (hA2 : MarginCondition PX β C0)
(hA3 : ArmOptimality 𝒳 PX β Kopt Ksub h pstar)
(hA4 : CompatibilityAssumption 𝒳 PX β Kopt h φ0)
(hs0 : s0 = sparsity β) (hK : 2 ≤ K) (hd : 2 < d)
(sel : LassoSelector d) (hsel : IsLassoSelector sel)
(q t : ℕ)
(hq : 4 * ⌈q0 d xmax h pstar (C1 s0 σ xmax φ0) (C2 s0 xmax φ0)⌉₊ ≤ q)
(ht : (K * q) ^ 2 ≤ t) (i : Fin K) (hi : i ∈ Kopt) :
P {ω | h / (4 * xmax) < l1Norm (lassoEst sel (forcedUpTo K q i t) (fun s => X s ω)
(fun s => X s ω ⬝ᵥ β i + ε i s ω) (lam1 s0 xmax h pstar φ0) - β i)} ≤
ENNReal.ofReal (5 / (t : ℝ) ^ 4) := by sorry
end BastaniBayati.LassoBandit
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be a probability measure on , with naturals and (arms ). The other data are:
- a set and a measure ;
- covariates and noises ;
- ;
- arm parameters ;
- reals ;
- finite sets of arms and ;
- .
Model hypotheses.
- is measurable.
- For , and are measurable, and for every .
- For , has law .
- are mutually independent.
- All () are mutually independent.
- The covariate sequence is independent of the noise family.
- Each () has for all , with integrable.
Assumptions 1–4.
- ; on ; and .
- and for all and all .
- Arm optimality:
- ;
- partition the arms;
- every has on ;
- every has , where .
- , and every has . Here is the set of positive semidefinite with whenever .
Estimator. Fix any selection rule that returns a global minimizer of for every , every data set and every . Take naturals and an arm , and assume:
- , where ;
- and ;
- .
Let be the rule's output on the rows and responses for , taken in increasing . Here . The zero vector would be used if this set were empty. The regularization is .
Conclusion.
- The claim is only for .
- The estimator uses the forced times directly and does not involve any arms actually played.
- The event need not be measurable. Its probability is the outer measure.
Degenerate cases.
- forces , hence . So involves no division by zero.
- .
- , because is nonempty and .
- , because it contains .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.