LASSO tail inequality for adapted observations
ProvedBastaniBayati.LassoBandit.lasso_tail_inequality_adaptedConsider a linear model with rows observed sequentially on a filtered probability space : each row is -measurable, so it may depend on the past rows and responses ; each noise is -measurable and -subgaussian conditionally on , i.e. for all (). Assume every realization satisfies (), and .
Then for any and , every LASSO estimator with satisfies
where and .
This is Proposition 1 of Bastani and Bayati: a LASSO oracle inequality that does not need i.i.d. rows, which is what allows the all-sample estimators of the LASSO Bandit, trained on adaptively collected data, to be analysed.
Formalization Note Rows are indexed , with row measurable for and noise measurable for and conditionally subgaussian given . The conditionally subgaussian noise is the version the paper says it proves (paragraph after Remark 6); , , , are made explicit. The estimator is an arbitrary minimizer for each outcome; probabilities of possibly non-measurable events are outer measures.
import Mathlib import Definitions.Def_BastaniBayati_LassoBandit_Basic import Definitions.Def_BastaniBayati_LassoBandit_Constants open MeasureTheory ProbabilityTheory Finset open scoped NNReal ENNReal
namespace BastaniBayati.LassoBandit
/-- **Proposition 1** (LASSO Tail Inequality for Adapted Observations), Bastani–Bayati, p. 283.
Rows `X₀, …, X_{n−1}` (the paper's `X₁, …, Xₙ`) and noises `ε₀, …, ε_{n−1}` on a filtered
probability space: `X_t` is `ℱ_t`-measurable (it may depend on the past rows and responses),
`ε_t` is `ℱ_{t+1}`-measurable and `σ`-subgaussian conditionally on `ℱ_t`, the responses are
`Y(t) = X_tᵀβ + ε_t`, `‖β‖₀ = s₀ ≥ 1`, every realization has `‖X_t‖_∞ ≤ x_max`. Then for every
`φ, χ > 0`, every LASSO estimator `β̂` with `λ = χφ²/(4s₀)` satisfies
`Pr[‖β̂ − β‖₁ > χ] ≤ 2 exp[−C₁(φ) n χ² + log d] + Pr[Σ̂(X) ∉ 𝒞(supp(β), φ)]`. -/
theorem lasso_tail_inequality_adapted {Ω : Type*} [mΩ : MeasurableSpace Ω] (P : Measure Ω)
[IsProbabilityMeasure P] {d n : ℕ} (ℱ : Filtration ℕ mΩ) (X : ℕ → Ω → Fin d → ℝ)
(ε : ℕ → Ω → ℝ) (β : Fin d → ℝ) (σ : ℝ≥0) (xmax : ℝ) (s0 : ℕ) (φ χ : ℝ)
(βhat : Ω → Fin d → ℝ)
(hn : 1 ≤ n) (hσ : 0 < σ) (hxmax : 0 < xmax)
(hs0 : (supp β).card = s0) (hs0pos : 1 ≤ s0) (hφ : 0 < φ) (hχ : 0 < χ)
(hX_adapted : ∀ t < n, Measurable[ℱ t] (X t))
(hε_meas : ∀ t < n, Measurable[ℱ (t + 1)] (ε t))
(hε_int : ∀ t < n, ∀ s : ℝ, Integrable (fun ω => Real.exp (s * ε t ω)) P)
(hε_subg : ∀ t < n, ∀ s : ℝ,
P[fun ω => Real.exp (s * ε t ω) | ℱ t] ≤ᵐ[P] fun _ => Real.exp ((σ : ℝ) ^ 2 * s ^ 2 / 2))
(hbound : ∀ t < n, ∀ ω, ‖X t ω‖ ≤ xmax)
(hβhat : ∀ ω, IsLassoMinimizer (fun k : Fin n => X k ω) (fun k : Fin n => X k ω ⬝ᵥ β + ε k ω)
(χ * φ ^ 2 / (4 * s0)) (βhat ω)) :
P {ω | χ < l1Norm (βhat ω - β)} ≤
ENNReal.ofReal (2 * Real.exp (-(C1 s0 σ xmax φ) * n * χ ^ 2 + Real.log d)) +
P {ω | sampleCov (fun k : Fin n => X k ω) ∉ compatSet (supp β) φ} := 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 a filtration . The other data are:
- naturals and ;
- random rows and noises ;
- a fixed whose support has exactly elements;
- reals , , and ;
- a map .
Hypotheses (for every ):
- is -measurable, and is -measurable.
- For all , is integrable and, -almost surely,
- For every , .
- For every , globally minimizes
- No measurability of is assumed. Nothing is assumed about for .
Conclusion.
- .
- .
- is the set of positive semidefinite matrices such that for every with . Here is with the coordinates outside set to .
- The events need not be measurable. of such a set is its outer measure.
Degenerate cases. forces and . For the term is . Since and all constants are positive, no division by zero arises. Minimizers exist because , so the hypothesis on is satisfiable. The right-hand side may exceed , in which case the bound is trivial.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.