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

Yasong Feng, Tianyu Wang
5/29/2022
cs.LGmath.OC

Official code: wangt1anyu/grad-hess-var-code (0 stars, HTML, last commit 2023-01-09).

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.

Show full abstract

In particular, we design estimators for smooth functions such that, if one uses $ Θ\left( k \right) $ random directions sampled from the Stiefel's manifold $ \text{St} (n,k) $ and finite-difference granularity $δ$, the variance of the gradient estimator is bounded by $ \mathcal{O} \left( \left( \frac{n}{k} - 1 \right) + \left( \frac{n^2}{k} - n \right) δ^2 + \frac{ n^2 δ^4 }{ k } \right) $, and the variance of the Hessian estimator is bounded by $\mathcal{O} \left( \left( \frac{n^2}{k^2} - 1 \right) + \left( \frac{n^4}{k^2} - n^2 \right) δ^2 + \frac{n^4 δ^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 $\mathcal{O} \left( δ^2 Γ\right)$, where $δ$ is the finite-difference granularity, and $ Γ$ depends on high order derivatives of $f$. Our results are evidenced by empirical observations.

View on arXivView PDF

Code Implementations(1)

00HTML, Jupyter NotebookMay 29, 20223 years ago

Similar Papers

Cite this paper

@article{feng2022stochastic,
  title  = {Stochastic Zeroth Order Gradient and Hessian Estimators: Variance Reduction and Refined Bias Bounds},
  author = {Yasong Feng and Tianyu Wang},
  year   = {2022},
  eprint = {2205.14737},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.14737}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.14737.svg)](https://codeofpaper.com/paper/2205.14737)

Discussion