Lemma 3: the Lasso's loss is -Lipschitz in
ProvedXuMannorRobust.Lasso.lemma3_lasso_loss_lipschitzalgorithmic-robustnesslassolearning-theoryp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1
Let , let be a training set of samples , and let be a solution of the Lasso (5) for . With the absolute loss , for all ,
The loss of the learned Lasso predictor is thus Lipschitz in the test sample, with a constant depending only on the responses of the training set. Combined with Theorem 6 it yields the robustness of the Lasso (Example 6).
Formalization Note A sample is a pair in ℝ × (Fin m → ℝ); Lean's norm on this product is the maximum of the absolute values of all coordinates, which is exactly on . The points range over the whole space. is assumed explicitly (the paper treats as a penalty). For the factor is in Lean.
Preamble
import Mathlib import Definitions.Def_XuMannorRobust_Lasso_LassoFormulation import Definitions.Def_XuMannorRobust_Lasso_LassoLoss
Formal statement
namespace XuMannorRobust.Lasso
/-- **Lemma 3** (Xu & Mannor 2012, p. 419). If `c > 0` and `w*(s)` solves the Lasso (5) for the
training set `s`, then for all `z_a, z_b ∈ ℝ × ℝ^m`,
`|l(w*(s), z_a) − l(w*(s), z_b)| ≤ [(1/(nc)) ∑_{i=1}^n (s_i^{(y)})² + 1] ‖z_a − z_b‖_∞`.
The norm on `ℝ × (Fin m → ℝ)` is Lean's product norm, the maximum of the absolute values of all
`m + 1` coordinates, i.e. the `ℓ_∞` norm on `ℝ^{m+1}`. -/
theorem lemma3_lasso_loss_lipschitz {m n : ℕ} (c : ℝ) (hc : 0 < c)
(s : Fin n → ℝ × (Fin m → ℝ)) (w : Fin m → ℝ) (hw : IsLassoSolution c s w)
(za zb : ℝ × (Fin m → ℝ)) :
|lassoLoss w za - lassoLoss w zb| ≤
((1 / ((n : ℝ) * c)) * ∑ i, (s i).1 ^ 2 + 1) * ‖za - zb‖ := by sorry
end XuMannorRobust.Lasso
Source
Xu & Mannor, Robustness and Generalization, Mach Learn 86 (2012), DOI 10.1007/s10994-011-5268-1, p. 419, Appendix F, Lemma 3
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.