Descent lemma Created 2026-10-06 Updated 2026-10-25
Suppose is a differentiable function on an open convex set and has an -Lipschitz gradient there, in the Euclidean norm. For , the descent lemma statesA bounded continuous Hessian matrix gives one sufficient route to this estimate.[ref]
For a short proof, put . The fundamental theorem of calculus along the line segment givesThe Cauchy-Schwarz inequality and the Lipschitz gradient bound make the integrand at most ; its integral is . This proof needs no assumption that is a convex function.
For the gradient descent update , provided , substitution yieldsFor and , this ensures strict decrease whenever the gradient is nonzero. At it guarantees only nonincrease; the quadratic example has a nonshrinking alternating component at this endpoint. At the guaranteed decrease is . A bound valid only on cannot justify a step leaving .
If a fixed admissible step size is used forever, every iterate stays in , and has a finite lower bound, summing this inequality shows , hence . That conclusion alone gives neither convergence of the iterates nor a global minimum. For example, the smooth polynomial has and : gradient descent started at zero never moves, although . On , , so the Lipschitz gradient hypothesis holds on this domain. Convex functions and strongly convex functions provide additional structure; the exact quadratic convergence result above uses a positive-definite matrix.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 348 2 b ii Solution Created 2026-10-03 Updated 2026-10-05
Use the intended strong convexity bound . The original PDF omits on the right. The printed bound for every is impossible when , as shows. Equivalently, the intended bound is stated for unit vectors. The norm of is the operator norm induced by the Euclidean norm, or any matrix norm that bounds it.
SetThis function is , and its Hessian matrix satisfiesPart (i) therefore proves that is a convex function. The perturbation can use up the entire positive lower bound defining a strongly convex function; only convexity, rather than strict positivity of the Hessian matrix, is asserted.
Past exam of the mathematics course of the University of Cambridge 2022 ib Paper 1 7H Solution Created 2026-09-23 Updated 2026-09-25
Starting from , gradient descent repeatedly computes the gradient and updatesstopping when the gradient norm, step, or objective decrease is sufficiently small.
The Hessian bounds say that is -strongly convex and has -smooth gradient. With ,Thus the iteration count isconvergence becomes slower linearly with the condition number .
Set . Expanding the square givesThe function is one-strongly convex, so its Fenchel conjugate is differentiable with one-Lipschitz gradient. The displayed identity therefore proves that the Moreau envelope is differentiable even when is nonsmooth.
Set and . The definition of pushforward measure gives the confinement energy . The chain rule and differentiation under the integral sign, whenever justified, giveFor example, bounded Hessian matrix is sufficient: it gives , and the first two differentiated integrands are bounded by . The dominated convergence theorem applies because has finite second absolute moments. Compactly supported endpoints also suffice because all interpolating points lie in one compact set.
The printed growth assumption alone does not ensure a classical second derivative. Here is a counterexample within the stated assumptions. On the line take the bounded nonnegative smooth functionand the probability measures , . Both have finite second absolute moments. Their translation transport plan is optimal: its cost is one, while every coupling has cost at least the square of its mean displacement, also one. At , , so satisfies . Each summand is nonnegative, and the Fatou lemma givesThus the requested classical identity requires an additional integrability assumption on the Hessian matrix; quadratic growth controls the energy but not its second derivative.
For a confinement potential that is a -strongly convex function, the derivative formula, where valid, yieldsThe underlying displacement convexity conclusion is valid under the printed assumptions without that extra differentiation hypothesis. Apply convexity of pointwise and integrate:The same argument on every subinterval makes convex, so the second derivative lower bound also holds in the sense of distributions.
Past exam of the optimisation for data science course of the University of Oxford 2023 2 a Solution 2026-10-25
Let and take . Rearrange the defining inequality for a strongly convex function, applied to :Because is differentiable at , its directional derivative in direction isTaking the limit in the rearranged inequality givesThis is the supporting affine function inequality strengthened by a positive squared Euclidean distance. Differentiability at alone suffices; no derivative at is used.
Past exam of the optimisation for data science course of the University of Oxford 2023 2 b Solution 2026-10-25
For the linear least-squares problem objective function, direct expansion with givesIts gradient is , so the middle term equals .
Use the supplied thin singular value decomposition . Since , the linear map preserves the Euclidean norm. The square matrix is an orthogonal matrix, so . ConsequentlySubstitution into the expansion provesThus is a strongly convex function with modulus . This modulus is sharp: choose for an index attaining the smallest singular value. The Hessian matrix is , so the same conclusion says that its smallest eigenvalue is .
Past exam of the optimisation for data science course of the University of Oxford 2023 3 d Solution 2026-10-25
The supporting inequality in part 2(a) bounds below by an affine function plus a positive squared Euclidean norm, making it a coercive function. Its continuity gives a global minimizer , which is unique by strict convexity. Let , and . Here is the block size, so its role differs from the number of component functions in Question 2. Use randomized block coordinate descent with uniformly sampled blocks of size , independently at each update. Sampling uniformly from a fixed partition into equal-sized blocks gives the same calculation, since each coordinate has inclusion probability .
Let be a common upper bound on the block Lipschitz constants. Part (c) permits . With step size , part (a) givesSumming squared partial derivatives according to their inclusion probabilities,For a strongly convex function, part 2(a) also yields the strong convexity gradient inequalityIndeed, substitute into the supporting inequality and complete the square in : the expression is at least for every .
Combining the last three estimates gives a contraction in conditional expectation:By the tower property and repeated application,An optimization epoch counts coordinate partial derivative evaluations: it comprises block updates or one full gradient update. With sampling with replacement, an optimization epoch is this work measure; it need not visit every coordinate. Consequently the block method needsto bring the expected objective function gap below , for , up to integer rounding.
For the steepest descent method, use a global Lipschitz gradient constant . Part (c) with the full block permits . The descent lemma with step size , together with the strong convexity gradient inequality, givesAn exact line search along the negative gradient does at least as well in objective function decrease per update. Ignoring its additional work, the resulting epoch complexity isThe common coordinate-based guarantees favour blocks by a factor in epochs. In fact, with the conservative constants and , both methods have the same guaranteed contraction per update, while a block update uses only coordinate partial derivatives.
This compares the bounds justified by the given constants. For a particular objective function, sharper constants give the comparison against ; an actual speedup of is not universal. Computing a block coordinate gradient also need not cost exactly of a full gradient evaluation. The epoch complexity comparison assumes that coordinate partial derivative counts are a useful measure of work, and does not itself establish a wall-clock comparison.
Gradient descent uses only the current gradient and a suitable step size; its additional storage is order . It is attractive for very large or when low per-iteration cost matters most. For a smooth strongly convex function, standard step choices give linear convergence, with a rate sensitive to the condition number. Mere convexity gives a global-minimum interpretation but does not alone imply a linear rate; for nonconvex objectives the usual guarantee concerns stationary points.
BFGS uses successive gradients to update an approximation to inverse curvature, incorporating information that can correct poor scaling. Full BFGS uses order storage and update work. With suitable line searches and local smoothness and positive-curvature assumptions near a nondegenerate minimum, it has superlinear convergence. This often favours it in moderate dimensions when gradients are not extremely cheap relative to the extra work.
Neither gradient descent nor BFGS requires an explicitly evaluated Hessian matrix. Thus an expensive Hessian matrix is compatible with both, rather than a reason to reject BFGS. If an accurate Hessian matrix and its factorization are exceptionally cheap, Newton's method in optimization becomes an additional reasonable option. Convexity helps identify a stationary point as a global minimum; without it, both methods need suitable descent and curvature safeguards. The BFGS update learns curvature from the Quasi-Newton secant equation.[ref]
Quasi-Newton Methods by NEOS Guide. Quasi-Newton condition and the BFGS member of the low-rank updating family.
Proximal gradient objective error bound 2026-10-25
For , with a convex function having an -Lipschitz gradient and a proper convex function with a well-defined proximal operator, the proximal gradient method with step size satisfies the displayed bound whenever a global minimizer exists. The one-step subgradient inequality and descent lemma giveThe objective function values are nonincreasing. A telescoping sum over , followed by comparison of the last error with the arithmetic mean of the errors, proves the result. The bound controls the last objective function error without requiring a strongly convex function or a unique minimizer.
Target: convex-optimization.bigb, under Proximal gradient method. Randomized block coordinate descent 2026-10-25
A coordinate descent method that randomly selects a block and updates only its coordinates. Suppose each coordinate is selected with probability , every block has Lipschitz constant at most , and the objective function is a strongly convex function with modulus . The block descent lemma and the strong convexity gradient inequality giveFor uniform blocks of size in coordinates, updates constitute an optimization epoch, and the epoch complexity is . Here is the initial objective function gap, and the target is its expected gap at most . A coordinate-based common bound is ; actual constants can improve it.
Target: gradient-descent.bigb, under Gradient descent. Strong convexity gradient inequality 2026-10-25
For a differentiable strongly convex function with modulus and global minimizer , the supporting inequality givesCompleting the square shows that the last two terms are at least , which proves the result. Combining this with the descent lemma converts squared gradient decrease into a contraction of the objective function gap.
Target: mathematical-optimization.bigb, under Line search.