Eq. (6): the strongly convex empirical minimizer is replace-one stable,
ProvedLearnStability.ConvexSCO.erm_replace_one_stabilityConsider a stochastic convex optimization problem on whose objective is, for every , -strongly convex () and -Lipschitz in . Let with , fix an index and a replacement instance , and let be with replaced by . Let minimize over and minimize over . Then
This is a deterministic statement: it holds for every sample and every replacement. It says that empirical minimization of a strongly convex objective is uniform-RO stable with rate .
Formalization Note The paper's stochastic convex optimization standing assumptions (closed, bounded , , measurability) are carried in the hypothesis bundle although this step does not use them.
import Mathlib import Definitions.Def_LearnStability_ConvexSCO_Setting import Definitions.Def_LearnStability_ConvexSCO_Problem
namespace LearnStability.ConvexSCO
/-- Eq. (6), proof of Theorem 2 (p. 2645): in a stochastic convex optimization problem whose
objective is `λ`-strongly convex (`λ > 0`) and `L`-Lipschitz in `h` on `H`, let `ĥ_S` minimize
the empirical risk `F_S` over `H` and let `ĥ_S^{(i)}` minimize the empirical risk of the sample
`S^{(i)}` obtained by replacing the `i`-th instance of `S` by `z'_i`. Then for every
`z ∈ Z`, `|f(ĥ_S, z) − f(ĥ_S^{(i)}, z)| ≤ 4L²/(λm)`. -/
theorem erm_replace_one_stability {Z E : Type*} [MeasurableSpace Z] [NormedAddCommGroup E]
[InnerProductSpace ℝ E] [CompleteSpace E] {Hset : Set E} {f : E → Z → ℝ} {L C lam : ℝ}
(hP : IsStochasticConvexProblem Hset f L C) (hlam : 0 < lam)
(hsc : ∀ z, StrongConvexOn Hset lam (fun h => f h z))
{m : ℕ} (hm : 1 ≤ m) (S : Fin m → Z) (i : Fin m) (z'_i : Z) {hS hSi : E}
(hS_mem : hS ∈ Hset) (hS_min : ∀ h ∈ Hset, empRisk f S hS ≤ empRisk f S h)
(hSi_mem : hSi ∈ Hset)
(hSi_min : ∀ h ∈ Hset,
empRisk f (Function.update S i z'_i) hSi ≤ empRisk f (Function.update S i z'_i) h) :
∀ z : Z, |f hS z - f hSi z| ≤ 4 * L ^ 2 / (lam * m) := by sorry
end LearnStability.ConvexSCO
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. is a complete real inner product space, is a measurable space, , , and .
Hypothesis 1: is a stochastic convex optimization problem.
- is nonempty, convex, closed and norm-bounded.
- Each with is measurable.
- on .
- Each is convex on .
- , and for all and .
Hypothesis 2: strong convexity. , and for every the map is -strongly convex on . That is, for and with :
Hypothesis 3: the two samples. is a natural number, , and . is with its -th entry replaced by .
Hypothesis 4: the two minimizers. With :
- satisfies for all .
- satisfies for all .
Conclusion. For every :
Degenerate cases.
- : excluded.
- nonempty: forced, because exists with .
- a single point: both minimizers coincide and the conclusion is .
- : the Lipschitz condition with constant together with strong convexity forces to be a single point, so the statement reduces to the previous case.
- : , but the two minimizers are still arbitrary minimizers of the same function.
- Unused data: enters only through the structure hypothesis. No measure appears.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.