Cubic regularization of Newton's method #
The cubic regularization of Newton's method of Nesterov and Polyak [NP06] minimizes a function
f : H → ℝ on a real Hilbert space with gradient g (∀ x, HasGradientAt f (g x) x) and
Hessian A (∀ x, HasFDerivAt g (A x) x) that is L-Lipschitz, ‖A x - A y‖ ≤ L ‖x - y‖, on
a set F whose interior contains the initial level set {y | f y ≤ f (x 0)}
NP03, Section 2; F = univ is allowed. This covers functions such as x⁴ or exp, whose
Hessians are Lipschitz on bounded sets or on half-lines (-∞, a), but not on all of H. A step
from x minimizes the cubic model m_x h = f x + ⟪g x, h⟫ + 1/2 ⟪A x h, h⟫ + M/6 ‖h‖³ over h and
moves to x + h. For M ≥ L the steps stay in F, the model lies above f, each step decreases
f by M/12 ‖h‖³, and ‖h‖ bounds both the gradient and the negative part of the Hessian at the
new point. For values bounded below this gives global convergence to second-order stationary points,
with the rate O(N^(-2/3)) for the gradient; for convex f the values converge at the rate
O(1 / N²).
Main definitions #
ConvexAnalysis.cubicModel f g A M x h: the cubic modelm_x h.ConvexAnalysis.IsCubicNewtonStep g A M x h:hsatisfies the first-order conditiong x + A x h + (M/2 ‖h‖) h = 0and the second-order conditionA x + (M/2 ‖h‖) I ⪰ 0, written-(M/2 ‖h‖ ‖v‖²) ≤ ⟪A x v, v⟫for allv. ForM ≥ 0these are exactly the global minimizers of the model (ConvexAnalysis.isMinOn_cubicModel_iff).
Main statements #
Taylor bounds for a Hessian that is L-Lipschitz at x along the segment [x, x + h],
‖A z - A x‖ ≤ L ‖z - x‖ NP03, Lemma 1, Nesterov, Lemma 4.1.1:
ConvexAnalysis.norm_sub_sub_apply_le_of_segment_subset(inKantorovich.lean):‖g (x + h) - g x - A x h‖ ≤ L/2 ‖h‖².ConvexAnalysis.abs_sub_sub_le_of_lipschitz_hessian:|f (x + h) - f x - ⟪g x, h⟫ - 1/2 ⟪A x h, h⟫| ≤ L/6 ‖h‖³, hencef (x + h) ≤ m_x hforM ≥ L(ConvexAnalysis.le_cubicModel).ConvexAnalysis.isSymmetric_of_hasFDerivAt_gradient: the Hessian is symmetric.
The model NP03, Section 2 and Section 5.1:
ConvexAnalysis.exists_isMinOn_cubicModel: in finite dimension the model has a global minimizer forM > 0; so a step exists (ConvexAnalysis.exists_isCubicNewtonStep).ConvexAnalysis.isMinOn_cubicModel_iff: for symmetricA xandM ≥ 0,his a global minimizer of the model iffConvexAnalysis.IsCubicNewtonStep g A M x h. The necessity of the second-order condition is NP03, Proposition 1 and (4.1.8) in Nesterov, Lemma 4.1.2;ConvexAnalysis.cubicModel_sub_cubicModelis the identity behind both directions.ConvexAnalysis.IsCubicNewtonStep.cubicModel_le:m_x h ≤ f x - M/12 ‖h‖³NP03, Lemma 4, Nesterov, Lemma 4.1.5;ConvexAnalysis.IsCubicNewtonStep.inner_nonpos:⟪g x, h⟫ ≤ 0NP03, Lemma 2, Nesterov, Lemma 4.1.3.
One step x ↦ x + h, with the Lipschitz condition at x along the segment [x, x + h]:
ConvexAnalysis.IsCubicNewtonStep.apply_add_le:f (x + h) ≤ f x - M/12 ‖h‖³forM ≥ L.ConvexAnalysis.IsCubicNewtonStep.apply_add_le_add:f (x + h) ≤ f y + (L + M)/6 ‖y - x‖³for everyy(with the Lipschitz condition also along[x, y]), forM ≥ LNP03, Lemma 4, Nesterov, Lemma 4.1.5.ConvexAnalysis.IsCubicNewtonStep.norm_gradient_le:‖g (x + h)‖ ≤ (L + M)/2 ‖h‖²NP03, Lemma 3, Nesterov, Lemma 4.1.4.ConvexAnalysis.IsCubicNewtonStep.neg_le_inner_hessian:A (x + h) ⪰ -((2 L + M)/2 ‖h‖) INP03, Lemma 5, Nesterov, Lemma 4.1.6.ConvexAnalysis.IsCubicNewtonStep.segment_subset_interior: if the level set{y | f y ≤ c}lies ininterior F,AisL-Lipschitz atxonFandf x ≤ c, then the step's segment lies ininterior FNP03, Lemma 2, Nesterov, Lemma 4.1.3 (there forM > 2 L / 3, here forM ≥ L).
The method x (k + 1) = x k + h k with ConvexAnalysis.IsCubicNewtonStep g A M (x k) (h k),
0 < M, L ≤ M, and A L-Lipschitz on F with {y | f y ≤ f (x 0)} ⊆ interior F; the iterates
stay in the level set (ConvexAnalysis.cubicNewton_apply_le_apply_zero), the steps' segments in
interior F (ConvexAnalysis.cubicNewton_segment_subset_interior), and f decreases by
M/12 ‖h k‖³ (ConvexAnalysis.cubicNewton_apply_succ_le). For m ≤ f (x k) for all k
NP03, Theorem 1 and Theorem 2, Nesterov, Theorems 4.1.1 and 4.1.2:
ConvexAnalysis.cubicNewton_sum_norm_pow_le,ConvexAnalysis.cubicNewton_tsum_norm_pow_le:∑ ‖h k‖³ ≤ 12 (f (x 0) - m) / M.ConvexAnalysis.cubicNewton_tendsto_step,ConvexAnalysis.cubicNewton_tendsto_gradient:h k → 0andg (x k) → 0.ConvexAnalysis.cubicNewton_rate: for everyNsomek ≤ Nhas‖g (x (k + 1))‖ ≤ (L + M)/2 D^(2/3)andA (x (k + 1)) ⪰ -((2 L + M)/2 D^(1/3)) I, whereD = 12 (f (x 0) - m) / (M (N + 1)).ConvexAnalysis.cubicNewton_eq_zero_and_isPositive_of_mapClusterPt: every cluster pointzof the iterates is second-order stationary,g z = 0andA z ⪰ 0; this needs no lower bound.ConvexAnalysis.cubicNewton_rate_of_starConvex_of_norm_sub_le,ConvexAnalysis.cubicNewton_rate_of_convexOn_of_norm_sub_le: forfconvex (or star-convex with respect tox⋆) and iterates with‖x k - x⋆‖ ≤ D,f (x (k + 1)) - f x⋆ ≤ 9 (L + M) D³ / (2 (k + 5)²)NP03, Theorem 4, Nesterov, Theorem 4.1.4;ConvexAnalysis.cubicNewton_rate_of_starConvex,ConvexAnalysis.cubicNewton_rate_of_convexOnassume‖y - x⋆‖ ≤ Don the level set{y | f y ≤ f (x 0)}instead.
Implementation notes #
- The Hessian is a function
A : H → H →L[ℝ] HwithHasFDerivAt g (A x) xfor allx, as the gradient is a functionf'inConvexAnalysis.Algorithms; the Lipschitz condition is∀ x ∈ F, ∀ y ∈ F, ‖A x - A y‖ ≤ L * ‖x - y‖withL : ℝ, as in NP03, Assumption 1. [NP03] takeFclosed and convex with the level set in its interior, andftwice differentiable onF; herefandgare differentiable on all ofH, and neither closedness nor convexity ofFis used. The steps stay ininterior Fby the argument of NP03, Lemma 2: on the part of the segment[x, x + h]before it first leavesinterior F, the Taylor bound givesf ≤ f x, so the first point outside lies in the level set, a contradiction (ConvexAnalysis.IsCubicNewtonStep.segment_subset_interior). In the convex rate, the segments[x k, x⋆]lie in the level set by star-convexity whenf x⋆ ≤ f (x 0), and the bound is trivial otherwise, sox⋆ ∈ Fis not needed. The orderA ⪰ -c Iis written∀ v, -(c * ‖v‖ ^ 2) ≤ ⟪A v, v⟫, which needs no symmetry; where symmetry is available the results also give Mathlib'sContinuousLinearMap.IsPositive(ConvexAnalysis.IsCubicNewtonStep.isPositive, the cluster point theorem). Symmetry ofA xfollows fromsecond_derivative_symmetric_of_eventually; the results on the model alone take it as a hypothesis(A x : H →ₗ[ℝ] H).IsSymmetric. - The theorems on the method hold for any steps satisfying the two conditions, so for every
choice of global minimizers of the model, and in any Hilbert space; only the existence of the
steps needs finite dimension. [NP06] allow a parameter
M k ∈ [L₀, 2 L]chosen by a line search; hereMis a constant withM ≥ L. ForM = 2 Lthe convex rate is27 L D³ / (2 (k + 4)²)atx k,k ≥ 1, one index better than the bound27 L D³ / (2 (k + 3)²)of NP03, Theorem 4, which Nesterov, Theorem 4.1.4 writes as3 L D³ / (2 (1 + k / 3)²): the first step givesf (x 1) - f x⋆ ≤ L D³ / 2, which is below the bound27 L D³ / 50atk = 1, and the induction step, the comparison with(1 - α) x k + α x⋆forα = 3 / (k + 4) ≤ 1, works from there. HereDbounds the distance of the iterates (or of the level set) tox⋆instead of the diameter of the level set, andx⋆need not be a minimizer. The lower boundmis needed only along the iterates,m ≤ f (x k); NP03, Theorem 1 assume it onF. - The constants were derived along [NP03] and checked against it:
M/12in the decrease,(L + M)/2for the gradient,(2 L + M)/2for the Hessian. - The second-order condition at a global minimizer
h ≠ 0comes from comparing with the pointsywith‖y‖ = ‖h‖, whereConvexAnalysis.cubicModel_sub_cubicModelleaves only the quadratic term, and a continuity argument for the directions orthogonal toh. - On 2026-11-30 Mathlib had no Newton-type methods, and no open or closed PR for "cubic regularization", "Newton method" (the hits are Newton polygons and Newton identities) or "Lipschitz Hessian"; PR #42957 ("Hessian", differential geometry) is unrelated. optlib has no Newton-type methods; nothing was adapted.
References #
- Yu. Nesterov, B. T. Polyak, Cubic regularization of Newton method and its global performance, Math. Program. 108 (2006), 177–205.
- Yu. Nesterov, B. T. Polyak, Cubic regularization of a Newton scheme and its global performance, CORE Discussion Paper 2003/41, Université catholique de Louvain, 2003, the preprint of [NP06]. Lemma and theorem numbers are cited from this preprint.
- Yu. Nesterov, Lectures on Convex Optimization, 2nd ed., Springer, 2018, Section 4.1, Lemmas 4.1.1–4.1.6 and Theorems 4.1.1, 4.1.2 and 4.1.4; the constants agree with [NP03].
Tags #
Newton's method, cubic regularization, Lipschitz Hessian, second-order stationary point
The cubic model of f at x NP, Section 2:
m_x h = f x + ⟪g x, h⟫ + 1/2 ⟪A x h, h⟫ + M/6 ‖h‖³, the second-order Taylor polynomial of f
at x plus the cubic regularization term. It depends on f, g and A only through their
values at x.
Equations
Instances For
The cubic model at h = 0 is f x.
A cubic Newton step h at x NP, Section 2: h satisfies the first-order condition
g x + A x h + (M/2 ‖h‖) h = 0 and the second-order condition A x + (M/2 ‖h‖) I ⪰ 0 of a global
minimizer of the cubic model. For symmetric A x and M ≥ 0 these are exactly the global
minimizers (ConvexAnalysis.isMinOn_cubicModel_iff).
The first-order condition
g x + A x h + (M/2 ‖h‖) h = 0.The second-order condition
A x + (M/2 ‖h‖) I ⪰ 0.
Instances For
The first-order condition paired with the step:
⟪g x, h⟫ = -⟪A x h, h⟫ - M/2 ‖h‖³ NP03, Section 2.
A cubic Newton step is a direction of descent in the weak sense ⟪g x, h⟫ ≤ 0
NP03, Lemma 2, (4.1.9) in Nesterov, Lemma 4.1.3.
The value of the model at a cubic Newton step: m_x h ≤ f x - M/12 ‖h‖³
NP03, Lemma 4, Nesterov, Lemma 4.1.5.
The gradient after a cubic Newton step NP03, Lemma 3,
Nesterov, Lemma 4.1.4:
‖g (x + h)‖ ≤ (L + M)/2 ‖h‖² for M ≥ 0 and a Hessian that is L-Lipschitz at x along the
step, ‖A z - A x‖ ≤ L ‖z - x‖ for z ∈ [x, x + h].
The Hessian after a cubic Newton step NP03, Lemma 5,
Nesterov, Lemma 4.1.6:
A (x + h) ⪰ -((2 L + M)/2 ‖h‖) I if ‖A (x + h) - A x‖ ≤ L ‖h‖ (for example for an
L-Lipschitz Hessian), that is λ_min (A (x + h)) ≥ -(L + M/2) ‖h‖.
The second-order condition of a cubic Newton step in the form A x + (M/2 ‖h‖) I ⪰ 0 of
NP03, Proposition 1, with Mathlib's ContinuousLinearMap.IsPositive, for symmetric
A x.
The model around a point of the first-order condition: if A x is symmetric and
g x + A x h + (M/2 ‖h‖) h = 0, then for every y
m_x y - m_x h = 1/2 ⟪A x (y - h), y - h⟫ + M/4 ‖h‖ ‖y - h‖² + M/12 (‖y‖ - ‖h‖)² (2 ‖y‖ + ‖h‖).
This is the identity behind NP03, Theorem 10.
A cubic Newton step is a global minimizer of the cubic model, for symmetric A x and
M ≥ 0 NP03, Section 5.1.
Optimality conditions for the cubic model NP03, Section 2 and Proposition 1,
(4.1.8) in Nesterov, Lemma 4.1.2: a global minimizer h of the model, for symmetric
A x, satisfies g x + A x h + (M/2 ‖h‖) h = 0 and A x + (M/2 ‖h‖) I ⪰ 0. No sign condition on
M is needed.
Characterization of the global minimizers of the cubic model NP03, Section 5.1: for
symmetric A x and M ≥ 0, h is a global minimizer of the model iff it is a cubic Newton
step.
Existence of a global minimizer of the cubic model in finite dimension for M > 0: the
model is continuous and coercive.
The Hessian is symmetric: if g is the gradient of f near x, the derivative B of
g at x satisfies ⟪B v, w⟫ = ⟪v, B w⟫. This is Mathlib's
second_derivative_symmetric_of_eventually.
Taylor bound for the function NP03, Lemma 1, (4.1.4) in
Nesterov, Lemma 4.1.1: for f with gradient g and Hessian
A that is L-Lipschitz at x along the segment [x, x + h] (‖A z - A x‖ ≤ L ‖z - x‖; for
example, A is L-Lipschitz on a set containing the segment),
|f (x + h) - f x - ⟪g x, h⟫ - 1/2 ⟪A x h, h⟫| ≤ L/6 ‖h‖³. The bound for the gradient is
ConvexAnalysis.norm_sub_sub_apply_le_of_segment_subset.
The cubic model lies above f for M ≥ L: f (x + h) ≤ m_x h NP03, Lemma 4, for a
Hessian that is L-Lipschitz at x along the segment [x, x + h].
The cubic model is at most f y + (L + M)/6 ‖y - x‖³ at y - x NP03, Lemma 4, for a
Hessian that is L-Lipschitz at x along the segment [x, y].
ConvexAnalysis.isMinOn_cubicModel_iff with the symmetry of the Hessian supplied: for
M ≥ 0, the global minimizers of the cubic model are exactly the cubic Newton steps.
Existence of cubic Newton steps in finite dimension for M > 0: a global minimizer of
the cubic model exists and is a step.
Sufficient decrease of a cubic Newton step NP03, Lemma 4,
Nesterov, Lemma 4.1.5: for M ≥ L and a Hessian
that is L-Lipschitz at x along the step, f (x + h) ≤ f x - M/12 ‖h‖³.
A cubic Newton step is at least as good as every comparison point with a cubic penalty
NP03, Lemma 4: for M ≥ L, f (x + h) ≤ f y + (L + M)/6 ‖y - x‖³ for every y such that
the Hessian is L-Lipschitz at x along the segments [x, x + h] and [x, y].
A cubic Newton step stays where the Hessian is Lipschitz NP03, Lemma 2,
Nesterov, Lemma 4.1.3 (there for M > 2 L / 3): let the
level set {y | f y ≤ c} lie in the interior of a set F on which the Hessian is L-Lipschitz at
x, let f x ≤ c, L ≤ M and 0 ≤ M. Then the segment [x, x + h] of a cubic Newton step lies
in interior F. Along the segment, f stays below f x as long as the segment stays in F (by
the Taylor bound), and the level set lies in the interior of F, so the segment cannot leave
F.
The method #
The Hessian is assumed L-Lipschitz on a set F whose interior contains the initial level set
{y | f y ≤ f (x 0)}, as in NP03, Section 2; for a Hessian that is Lipschitz on all of H,
take F = univ.
Along the cubic regularization of Newton's method, the iterates stay in the initial level set
{y | f y ≤ f (x 0)} NP03, Lemma 2.
Along the cubic regularization of Newton's method, the segment of every step lies in the
interior of the set F where the Hessian is Lipschitz NP03, Lemma 2.
Sufficient decrease along the cubic regularization of Newton's method NP03, Lemma 4:
f (x (k + 1)) ≤ f (x k) - M/12 ‖h k‖³.
The cubed steps are summable along the cubic regularization of Newton's method
NP03, Theorem 1: for x (k + 1) = x k + h k with cubic Newton steps h k, 0 < M, L ≤ M
and m ≤ f (x k) for all k, ∑_{k < N} ‖h k‖³ ≤ 12 (f (x 0) - m) / M.
Along the cubic regularization of Newton's method, ‖h k‖³ is summable when the values
f (x k) are bounded below.
NP03, Theorem 1: along the cubic regularization of Newton's method,
∑ ‖h k‖³ ≤ 12 (f (x 0) - m) / M when m ≤ f (x k) for all k.
Along the cubic regularization of Newton's method, the steps tend to 0 when the values
f (x k) are bounded below.
The gradients tend to 0 along the cubic regularization of Newton's method when the
values f (x k) are bounded below NP03, Theorem 1.
Rate of the cubic regularization of Newton's method NP03, Theorem 1,
Nesterov, Theorem 4.1.1: for
m ≤ f (x k) for all k and every N, some k ≤ N has, with
D = 12 (f (x 0) - m) / (M (N + 1)),
‖g (x (k + 1))‖ ≤ (L + M)/2 D^(2/3) and A (x (k + 1)) ⪰ -((2 L + M)/2 D^(1/3)) I. So the
smallest gradient norm among the first N + 1 steps is O(N^(-2/3)), and at the same iterate
the smallest eigenvalue of the Hessian is at least -O(N^(-1/3)).
Cluster points are second-order stationary NP03, Theorem 2,
Nesterov, Theorem 4.1.2: along the cubic regularization of Newton's method, every
cluster point z of the iterates satisfies g z = 0 and A z ⪰ 0. No lower bound on f is
needed: the values decrease, so f z bounds them below; Nesterov assumes a bounded level set.
Rate of the cubic regularization of Newton's method for star-convex functions
NP03, Theorem 4, Nesterov, Theorem 4.1.4: if f is star-convex with respect
to x⋆, f ((1 - α) y + α x⋆) ≤ (1 - α) f y + α f x⋆ for α ∈ [0, 1], and the iterates satisfy
‖x k - x⋆‖ ≤ D, then f (x (k + 1)) - f x⋆ ≤ 9 (L + M) D³ / (2 (k + 5)²). The point x⋆ need
not be a minimizer, and need not lie in F.
With c = (L + M) D³ / 6 the bound is 27 c / (j + 4)² at x j, j ≥ 1. For M = 2 L,
Nesterov, (4.1.26) is 27 c / (j + 3)² at x j, j ≥ 0, under the extra hypothesis
f (x 0) - f x⋆ ≤ 3 c; the shift by one comes from the first step, f (x 1) - f x⋆ ≤ c, which
is at most 27 c / 5², and the induction step with α = 3 / j needs only j ≥ 3.
Rate of the cubic regularization of Newton's method for star-convex functions
NP03, Theorem 4, Nesterov, Theorem 4.1.4: if f is star-convex with respect
to x⋆ and ‖y - x⋆‖ ≤ D on the level set {y | f y ≤ f (x 0)}, then
f (x (k + 1)) - f x⋆ ≤ 9 (L + M) D³ / (2 (k + 5)²).
Rate of the cubic regularization of Newton's method for convex functions
NP03, Theorem 4, Nesterov, Theorem 4.1.4: for convex f and iterates with
‖x k - x⋆‖ ≤ D, f (x (k + 1)) - f x⋆ ≤ 9 (L + M) D³ / (2 (k + 5)²).
Rate of the cubic regularization of Newton's method for convex functions
NP03, Theorem 4, Nesterov, Theorem 4.1.4: for convex f and ‖y - x⋆‖ ≤ D
on the level set {y | f y ≤ f (x 0)}, f (x (k + 1)) - f x⋆ ≤ 9 (L + M) D³ / (2 (k + 5)²).