Lemma 2.23 — a convex loss can be clipped at iff it has a minimizer in
ProvedSupportVectorMachines.LossFunctions.lemma_2_23_clipped_convex_lossesThis is Lemma 2.23 of Steinwart & Christmann, Support Vector Machines (Springer 2008, p. 34): an elementary criterion for when a convex loss can be clipped.
Let be a loss function such that is convex for every , , and let . Then the following are equivalent:
- can be clipped at (Definition 2.22): for all , where denotes truncated to .
- For every , , the function has at least one global minimizer in .
The lemma reduces the (a priori infinite-dimensional) question of whether clipping helps to a one-dimensional statement about where a convex function attains its minimum, and it is the tool the book uses throughout to show that the standard classification surrogates (hinge, least-squares, truncated least-squares) can all be clipped at .
Formalization Note Nonnegativity of L is not needed for either direction of the
argument and is dropped from the hypotheses (a strictly more general statement than the
book's literal typing L : X × Y × ℝ → [0,∞), but not a different claim: the equivalence
holds verbatim for any convex real-valued L(x,y,·)). "Has a global minimizer in [-M,M]" is
stated directly as ∃ t0 ∈ [-M,M], ∀ t, L x y t0 ≤ L x y t.
import Mathlib import Definitions.Def_SupportVectorMachines_LossFunctions_RiskBasics import Definitions.Def_SupportVectorMachines_LossFunctions_ClassificationLosses
namespace SupportVectorMachines.LossFunctions
/-- Lemma 2.23 (Clipped convex losses), p. 34: let `L : X × Y × ℝ → [0,∞)` be a loss such that
`L(x,y,·)` is convex for every `x,y`, and let `M > 0`. Then `L` can be clipped at `M` if and only
if, for every `x, y`, the function `L(x,y,·) : ℝ → ℝ` has at least one global minimizer in
`[-M,M]`. -/
theorem lemma_2_23_clipped_convex_losses {X : Type*} (L : Loss X)
(hconv : ∀ x y, ConvexOn ℝ Set.univ (L x y)) (M : ℝ) (hM : 0 < M) :
CanBeClipped L M ↔ ∀ x y, ∃ t0 ∈ Set.Icc (-M) M, ∀ t, L x y t0 ≤ L x y t := by sorry
end SupportVectorMachines.LossFunctions
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.