Generalized Simultaneous Perturbation Stochastic Approximation with Reduced Estimator Bias

Shalabh Bhatnagar, Prashanth L. A.

TL;DR

This paper introduces Generalized Simultaneous Perturbation-based Gradient Search (GSPGS), a new family of gradient estimators for zeroth-order stochastic optimization. By selectively increasing the number of function measurements per iteration, these estimators significantly reduce approximation bias, leading to faster convergence rates and higher accuracy than the industry-standard SPSA algorithm.

What Problem Does This Paper Address?

In many real-world optimization problems—such as reinforcement learning, simulation-based design, or complex engineering systems—we don't have an analytical formula for the gradient of our objective function. We only have access to noisy "black-box" samples of the function's performance.

Traditional methods like Finite Difference Stochastic Approximation (FDSA) are prohibitively expensive because they require $2d$ function measurements (where $d$ is the number of parameters) to estimate a single gradient. The Simultaneous Perturbation Stochastic Approximation (SPSA) algorithm solved this by requiring only two measurements, regardless of dimension. However, SPSA introduces a "bias" in its gradient estimate. This paper tackles a fundamental question: If we have a slightly larger simulation budget, can we use it to systematically reduce this bias and speed up convergence without returning to the massive cost of FDSA?

Methods

The authors derive a family of estimators by viewing the gradient as a mathematical operator. They use a Taylor series expansion combined with a shift operator to represent the function at perturbed points.

Key technical contributions include:

  • The Truncation Parameter ($k_1$): The authors show that the gradient operator can be expressed as an infinite series. By truncating this series at $k_1$ terms, they create a family of estimators.
  • GSPSA (Unbalanced): A one-sided version requiring $k_1 + 1$ measurements with a bias of $O(\delta^{k_1})$.
  • B-GSPSA (Balanced): A two-sided (central-difference style) version requiring $2k_2$ measurements. This is much more efficient, achieving a bias of $O(\delta^{2k_2})$. For example, just 4 measurements ($k_2=2$) yield a bias of $O(\delta^4)$.
  • Unified Framework: The theory is generalized to work with various perturbation distributions, including Bernoulli (standard SPSA), Gaussian (Smoothed Functional), and Uniform (Random Directions).

Datasets

As this is a theoretical optimization paper, the authors evaluate their algorithms on standard mathematical benchmarks rather than static datasets:

  • Quadratic Function: A smooth, convex objective used to test basic convergence and accuracy.
  • Rastrigin Function: A highly non-convex function with many local minima, used to test the algorithm's robustness in complex landscapes.
  • Scaling: Tests were performed across dimensions $d = 5, 10, 50,$ and $100$.

Key Insights and Ideas

  • The Bias-Measurement Trade-off: There is a direct, tunable relationship between the number of function samples you take and the mathematical "honesty" of your gradient estimate.
  • Efficiency of Balance: Balanced estimators (B-GSPSA) are significantly more "bang-for-the-buck." Using 4 measurements in a balanced scheme provides the same bias reduction as 5 measurements in an unbalanced one, but with much better empirical performance.
  • Improved Complexity: The paper proves that as you increase $k_1$, the iteration complexity improves from $O(\epsilon^{-3})$ (standard SPSA) toward $O(\epsilon^{-2})$, which is the theoretical limit for algorithms that have access to perfect, unbiased gradients.
  • Smoothness Requirement: A hidden "cost" of these high-order estimators is that the underlying objective function must be sufficiently smooth (i.e., many times differentiable) to actually realize the bias reduction.

Key Results

  • Theoretical Proofs: The authors provide rigorous proofs for both strong convergence (the algorithm eventually hits the local minimum) and non-asymptotic rates (how fast it gets there).
  • Numerical Superiority: In experiments on the Rastrigin function with $d=5$, the standard SPSA ($k_2=1$) had a parameter error of roughly $5.6 \times 10^{-2}$. By moving to the B-GSPSA with $k_2=2$ (only 2 extra measurements), the error plummeted to $1.12 \times 10^{-9}$.
  • Dimension Agnostic: The performance gains remained consistent even as the dimensionality of the problem increased to $d=100$.

Limitations and Future Work

  • Computational Overhead: While much cheaper than FDSA, these methods still require more function evaluations per step than vanilla SPSA. In scenarios where a single function evaluation (simulation) takes hours, the trade-off must be carefully weighed.
  • Hyperparameter Sensitivity: The performance depends on choosing the right perturbation size ($\delta$) and step size ($a$). While the paper provides theoretical guidance, practical tuning remains necessary.
  • Future Directions: The authors suggest extending this "generalized" approach to Second-Order Methods (estimating the Hessian matrix) to further accelerate convergence in ill-conditioned optimization landscapes.

Summary updated

BibTeX
@inproceedings{bhatnagar2023generalized,
  author = {Shalabh Bhatnagar and Prashanth L. A.},
  title = {{Generalized Simultaneous Perturbation Stochastic Approximation with Reduced Estimator Bias}},
  booktitle = {CISS},
  year = {2023},
  doi = {10.1109/ciss56502.2023.10089720},
}
Figure