Stochastic Zeroth Order Gradient and Hessian Estimators: Variance Reduction and Refined Bias Bounds

Yasong Feng,Tianyu Wang
DOI: https://doi.org/10.1093/imaiai/iaad014
2023-01-01
Information and Inference
Abstract:We study stochastic zeroth-order gradient and Hessian estimators for real-valued functions in $\mathbb{R}^n$. We show that, via taking finite difference along random orthogonal directions, the variance of the stochastic finite difference estimators can be significantly reduced. In particular, we design estimators for smooth functions such that, if one uses $ \varTheta \left ( k \right ) $ random directions sampled from the Stiefel manifold $ \text{St} (n,k) $ and finite-difference granularity $\delta $, the variance of the gradient estimator is bounded by $ \mathscr{O} \left ( \left ( \frac{n}{k} - 1 \right ) + \left ( \frac{n^2}{k} - n \right ) \delta ^2 + \frac{ n^2 \delta ^4} { k } \right ) $, and the variance of the Hessian estimator is bounded by $\mathscr{O} \left ( \left ( \frac{n^2}{k^2} - 1 \right ) + \left ( \frac{n^4}{k^2} - n^2 \right ) \delta ^2 + \frac{n^4 \delta ^4 }{k^2} \right ) $. When $k = n$, the variances become negligibly small. In addition, we provide improved bias bounds for the estimators. The bias of both gradient and Hessian estimators for smooth function $f$ is of order $\mathscr{O} \big( \delta ^2 \varGamma \big )$, where $\delta $ is the finite-difference granularity, and $ \varGamma $ depends on high-order derivatives of $f$. Our results are evidenced by empirical observations.
What problem does this paper attempt to address?