Random Gradient-Free Minimization of Convex Functions II: Random Gradient Descent for Smooth and Strongly Convex ProblemsResearch Paper
Motivation
Many optimization problems in engineering, simulation-based design and machine learning give access to the objective only through its values: the function is computed by a black-box code, and derivatives are unavailable or too expensive to program. Zeroth-order (derivative-free) methods address this setting. Classical derivative-free methods (pattern search, Nelder–Mead, model-based trust regions) come with weak or no global complexity guarantees for convex problems.
Nesterov and Spokoiny (Found. Comput. Math. 17 (2017) 527–566) showed that replacing the gradient by a finite difference along a random Gaussian direction yields methods whose expected complexity is that of the corresponding gradient method multiplied by a factor proportional to the dimension. Their paper is a standard reference for zeroth-order convex optimization and for Gaussian smoothing, and its oracle and analysis are reused in bandit convex optimization, zeroth-order stochastic optimization (e.g. Ghadimi–Lan 2013) and derivative-free reinforcement learning.
This mission concerns Section 5 of the paper: the random gradient method for smooth convex functions and its linear rate for strongly convex ones.
Setting
Let be a real inner product space of finite dimension , with norm . (The paper works with a space carrying an operator and norm ; choosing as the inner product gives exactly this setting, and the dual norm becomes the norm of the Riesz representative.)
A function belongs to with constant if it is differentiable and for all . It is strongly convex with parameter if for all .
Let be a standard Gaussian vector of (coordinates in any orthonormal basis are independent ). The Gaussian approximation of with parameter is , and the moments are . The random gradient-free oracle returns, for a sampled direction ,
and the symmetric oracle is .
Consider for a convex , assumed solvable with a minimizer , and . The random gradient method (Eq. (54), p. 546) is:
Method : Choose . Iteration . a). Generate and corresponding . b). Compute .
The directions are independent standard Gaussian vectors, and (with ).
Formalization targets
Goal: Theorem 8 (p. 546)
With step size and any , for every ,
and, if is strongly convex with parameter , then with ,
Both bounds are one theorem with one proof in the paper, so the goal states their conjunction, with every constant as printed.
Milestones
The milestones are the results the paper's proof of Theorem 8 rests on, in attack order:
- Lemma 1 (p. 534): for and for .
- Theorem 3.1, (32) (p. 537): at a point of differentiability.
- Theorem 4.2, (35) (p. 538): , and the same with for .
- Eq. (21) (pp. 534–535): for , is differentiable with .
- Eq. (25) (p. 535): , the counterpart.
- Convexity of (p. 533) and Eq. (11): for convex .
- Theorem 1, (19) (p. 534): .
Significance
The result. Theorem 8 shows that a method using two function values per iteration reaches accuracy on a smooth convex problem in iterations, and in iterations under strong convexity, provided is small enough. This is times the complexity of the deterministic gradient method, which is the natural price for replacing an -dimensional gradient by one directional estimate. The strongly convex bound makes explicit the bias floor caused by the finite-difference step, and shows that it vanishes for the limiting method .
Formalizing it. The result is proved in the paper; nothing here is open. To our knowledge none of it has a machine-checked proof. A formalization produces a reusable Gaussian-smoothing layer on Mathlib's stdGaussian (moments of the Gaussian norm, differentiation of under the integral, variance bounds of random oracles) and a complete expected-complexity proof of a randomized first-order method, in which the probabilistic structure (independent directions, iterates depending only on past directions, tower property) has to be handled explicitly.
Difficulty
The deterministic part of the argument is the textbook analysis of gradient descent. The difficulty is in the Gaussian facts it uses. The obvious bound on the oracle's second moment, , loses a factor of and would give a quadratic dependence on dimension; the of (32) needs a sharper computation. The moment bounds of Lemma 1 for non-integer and the differentiation under the integral in (21) are measure-theoretic steps that Mathlib does not package. Finally, the step from per-iteration inequalities to bounds on requires conditioning on the past directions, which must be set up on a probability space carrying the whole sequence .
Formalization scope
is an arbitrary finite-dimensional real inner product space with MeasurableSpace and BorelSpace, is Module.finrank ℝ E, and is Mathlib's gradient. Expectations over are Bochner integrals against ProbabilityTheory.stdGaussian E. A run of lives on a probability space : measurable directions , jointly independent (iIndepFun) with law stdGaussian E, iterates with deterministic and the update holding for every and outcome. is ∫ ω, f (x k ω) ∂P. The oracle is defined by cases, with at ( the one-sided directional derivative of Eq. (23), a Filter.limUnder, which equals fderiv ℝ f x u for differentiable ), so the goal covers every as the paper claims. and are any constants satisfying the defining inequalities. The standing assumptions of Section 5 (convexity, a global minimizer , ) and are explicit hypotheses; is needed for the constant .
A trivializing formalization is ruled out: the oracle is the random finite difference along i.i.d. standard Gaussian directions, not the true gradient (which would be deterministic gradient descent), and every expectation in the statements is of a quantity that is integrable under the stated hypotheses, so no bound holds through a junk value of a non-integrable integral.
A complete development needs Gaussian moment computations in finite dimension, differentiation under the integral sign for , the variance bounds of the oracles, and a conditional-expectation argument for the iteration. The smoothing layer is reusable for the companion missions on random search for nonsmooth problems and on the accelerated random method, and for other zeroth-order methods. Contributions of any of the milestones, of general Gaussian-integrability lemmas, or of alternative proofs are welcome.
Selected references
- Yu. Nesterov, V. Spokoiny, Random Gradient-Free Minimization of Convex Functions, Foundations of Computational Mathematics 17(2):527–566, 2017. https://doi.org/10.1007/s10208-015-9296-2
- S. Ghadimi, G. Lan, Stochastic First- and Zeroth-Order Methods for Nonconvex Stochastic Programming, SIAM Journal on Optimization 23(4):2341–2368, 2013. https://doi.org/10.1137/120880811
- Yu. Nesterov, Introductory Lectures on Convex Optimization: A Basic Course, Kluwer, 2004. https://doi.org/10.1007/978-1-4419-8853-9