Lemma 3.1 — uniform eigenvalue bounds for the SQN Hessian approximations H_t
ProvedStochQuasiNewton.SQN.hessian_approx_eigenvalue_boundsLet be functions on , let , , and suppose that for all and all samples of size , where (Assumption 1). Fix positive integers and . Then there are constants such that, for every run of Algorithm 1 (any step lengths, initial point and samples, with Hessian samples of size ) and every for which the correction vectors are nonzero, the Hessian approximation of Algorithm 2 satisfies
The constants are fixed before the run: they do not depend on the step lengths, the initial point, the samples or .
Formalization Note The paper's Algorithm 2 is undefined when some (it divides by ); the hypothesis for is added. The paper's "for all " in (3.3) is read as all samples of the size that Algorithm 1 draws, which excludes the empty sample (for which (2.3) is ). is Matrix.PosDef of the difference.
import Mathlib import Definitions.Def_StochQuasiNewton_SQN_FiniteSum import Definitions.Def_StochQuasiNewton_SQN_LBFGS import Definitions.Def_StochQuasiNewton_SQN_Algorithm open scoped RealInnerProductSpace
namespace StochQuasiNewton.SQN
/-- Lemma 3.1: under Assumption 1 (the losses are `C²` and every subsampled Hessian with `b_H`
samples satisfies `λ I ≺ ∇²F_{S_H}(w) ≺ Λ I`), there are constants `0 < μ₁ ≤ μ₂`, fixed before
the run, such that along every run of Algorithm 1 whose correction vectors `s_1, …, s_t` are
nonzero, the Hessian approximation of Algorithm 2 satisfies `μ₁ I ≺ H_t ≺ μ₂ I` (3.6). -/
theorem hessian_approx_eigenvalue_bounds {n N : ℕ}
(f : Fin N → EuclideanSpace ℝ (Fin n) → ℝ) (hf : ∀ i, ContDiff ℝ 2 (f i))
(lam Lam : ℝ) (hlam : 0 < lam) (hLam : 0 < Lam) (M L bH : ℕ) (hM : 1 ≤ M) (hL : 1 ≤ L)
(hbH : 1 ≤ bH) (hbHN : bH ≤ N)
(hHess : ∀ SH : Finset (Fin N), SH.card = bH → ∀ w : EuclideanSpace ℝ (Fin n),
StrictLoewnerBounds lam Lam (subsampledHessian f SH w)) :
∃ μ₁ μ₂ : ℝ, 0 < μ₁ ∧ μ₁ ≤ μ₂ ∧
∀ (α : ℕ → ℝ) (w1 : EuclideanSpace ℝ (Fin n)) (S SH : ℕ → Finset (Fin N)),
(∀ t, (SH t).card = bH) →
∀ t, 1 ≤ t → (∀ j, 1 ≤ j → j ≤ t → sqnPairS f M L α w1 S SH j ≠ 0) →
(sqnHessianApprox f M L α w1 S SH t - μ₁ • (1 : Matrix (Fin n) (Fin n) ℝ)).PosDef ∧
(μ₂ • (1 : Matrix (Fin n) (Fin n) ℝ) - sqnHessianApprox f M L α w1 S SH t).PosDef := by sorry
end StochQuasiNewton.SQN
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.