Stochastic Zeroth-Order Riemannian Derivative Estimation and Optimization 2: ZO-RSGD Has Average Expected Squared Riemannian Gradient Norm at Most 4L(f(x₀) − f(x*))/(N+1) + 2μ²L²(d+6)³ + 16(d+4)σ²/mResearch Paper
Motivation
Many optimization problems are posed over a manifold rather than a vector space: orthogonality constraints (the Stiefel manifold), unit-norm constraints (the sphere), fixed-rank matrices. In some of them the objective can only be evaluated, not differentiated. Black-box adversarial attacks on a neural network with a norm-constrained perturbation, hyperparameter tuning and simulation-based objectives are examples, and in all of them each function value is also noisy. Zeroth-order (derivative-free) methods replace the gradient by a random finite-difference estimate built from function values alone.
In Euclidean space the analysis of such methods is well developed. Nesterov and Spokoiny (2017) analysed Gaussian-smoothing estimators for deterministic objectives, and Ghadimi and Lan (2013) gave the first non-asymptotic stationarity rates for stochastic nonconvex objectives (the RSGF method). Li, Balasubramanian and Ma (arXiv:2003.11238, published in Mathematics of Operations Research, 2023) carried this programme to embedded submanifolds. They estimate the Riemannian gradient by projecting a Gaussian vector onto the tangent space and moving along a retraction, and they prove convergence rates for the resulting methods. This mission formalizes their rate for the stochastic method, ZO-RSGD (Theorem 3.2).
Setting
Let be a finite-dimensional real inner product space (the paper's ), and let be a embedded submanifold of dimension . The tangent space at is the linear span of the tangent cone of at . For a submanifold this is the set of velocities of curves in through , and it is a subspace of dimension . carries the metric induced by the inner product of , and denotes the orthogonal projection of onto .
A retraction is a map , . For every it sends all of into and is smooth on , with and differential the identity at . The Riemannian gradient of a differentiable is .
The objective is stochastic, , with noise distributed according to a probability measure . Two assumptions are imposed:
- Assumption 2.1 (-retraction-smoothness). For almost every , for all and .
- Assumption 2.3 (unbiased oracle, bounded variance). For every , , and .
Given a smoothing parameter and a batch size , draw independent pairs , each with independent of , and put . The mini-batch zeroth-order Riemannian gradient is
ZO-RSGD (Algorithm 2) starts at and iterates with step and a fresh batch at every step. denotes a minimizer of over .
Formalization targets
Goal: Theorem 3.2
If , then for every
The constants are the paper's own. The goal states the rate for every , and . It does not state the parameter choices , , that follow from it.
Milestones
- Lemma 2.1. For a -dimensional subspace with projection , and : and .
- Lemma 2.2 (Nesterov–Spokoiny). for a standard Gaussian on and . This is already proved on the platform and is reused.
- Corollary 2.1. .
- Proposition 2.1(a). for the single-sample estimator .
- Lemma 3.1. .
Significance
Theorem 3.2 is the basic complexity result for derivative-free stochastic optimization on manifolds. With the parameter choices of (3.10) it gives an -stationary point in expectation after noisy function evaluations. The dependence is on the manifold dimension , not on the ambient dimension . This matches the Euclidean rate of Ghadimi and Lan with replaced by , and it is what makes projected-Gaussian estimators attractive when (for example, low-dimensional Stiefel manifolds embedded in large matrix spaces).
The results are proved in the paper (main text, p. 17, and Appendix C) but, to our knowledge, none of them has been machine-checked. The Euclidean Gaussian moment bound (Lemma 2.2) is formalized on the platform. The Euclidean RSGF results of Ghadimi and Lan are stated on the platform, and they are different statements: they use instead of a retraction, the full space instead of a tangent space, and a random output index. A complete formalization would also produce reusable infrastructure: Gaussian identities for orthogonal projections, the projected-Gaussian moment bound, and a template for proving stationarity rates of random iterates on a product probability space.
Difficulty
The Euclidean argument relies on a smoothed function whose gradient is exactly the mean of the estimator. That identity has no Riemannian analogue: is not a translate, so is not the gradient of any smoothed function. The bias in Proposition 2.1(a) has to be bounded directly from Assumption 2.1, and this is why the estimator is only approximately unbiased.
The convergence proof needs a one-step descent inequality conditioned on the past. The direction at step is projected onto , which depends on all earlier draws, so the conditional bound of Lemma 3.1 must be integrated against the product law of the batches. A naive reading that samples every direction from one fixed subspace, or that treats the iterates as deterministic, does not describe the algorithm. A further subtlety is that the gradient term of Lemma 3.1 must be absorbed by the descent of one step. This requires the batch to be large compared with the dimension, .
Formalization scope
- is any finite-dimensional real inner product space with its Borel σ-algebra. The Gaussian is Mathlib's
stdGaussian E. - and its dimension are given by the published
ProjLikeRetr.Retractor.IsSubmanifold 1 d M(a coordinate-slice submanifold), so is tied to and is never a free number. is the publishedProjLikeRetr.Retractor.tangentSpace M x, never an arbitrary subspace. - The retraction is defined on all of each tangent space, as the paper requires (Assumption 2.1 holds "for all , i.e., "). The objective and the samples are assumed differentiable rather than smooth, which is all the gradient formula (2.3) uses.
- Added hypotheses. The goal assumes . The paper's proof assumes it explicitly, but the theorem statement omits it. The goal also assumes that and are measurable, so that the iterates are random variables; this holds for closed such as spheres and Stiefel manifolds. Lemma 3.1 is stated for every . The paper's last proof step uses , but the bound holds for as well.
- The iterates are defined for every on the sequence space of i.i.d. batches (the algorithm without a stopping index), so exists.
- No junk expectations. Every expectation of a nonnegative quantity is a lower Lebesgue integral compared with
ENNReal.ofRealof the bound. Every vector-valued expectation comes with an integrability conclusion, and Assumption 2.3 carries the integrability of and . So no statement can hold because a Bochner integral defaulted to . - The parameter choices (3.10) and the oracle complexity are not formalized.
- The development needs projections of Gaussian measures onto subspaces, moments of Gaussian norms, conditional expectation along an i.i.d. sequence of batches, and telescoping. Proofs of any milestone are welcome, as are general lemmas about the push-forward of
stdGaussianunder an orthogonal projection.
Selected references
- J. Li, K. Balasubramanian, S. Ma, Stochastic Zeroth-Order Riemannian Derivative Estimation and Optimization, Mathematics of Operations Research, 2023. Preprint arXiv:2003.11238v3. https://arxiv.org/abs/2003.11238
- Y. Nesterov, V. Spokoiny, Random Gradient-Free Minimization of Convex Functions, Foundations of Computational Mathematics 17, 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), 2013. https://arxiv.org/abs/1309.5549
- K. Balasubramanian, S. Ghadimi, Zeroth-Order Nonconvex Stochastic Optimization: Handling Constraints, High Dimensionality, and Saddle Points, Foundations of Computational Mathematics, 2022. https://arxiv.org/abs/1809.06474
- N. Boumal, P.-A. Absil, C. Cartis, Global Rates of Convergence for Nonconvex Optimization on Manifolds, IMA Journal of Numerical Analysis, 2019. https://arxiv.org/abs/1605.08101
- P.-A. Absil, R. Mahony, R. Sepulchre, Optimization Algorithms on Matrix Manifolds, Princeton University Press, 2008.