A Gradient Smoothed Functional Algorithm with Truncated Cauchy Random Perturbations for Stochastic Optimization

Akash Mondal, Prashanth L. A., Shalabh BhatnagararXiv 2022 · DOI

Introduction

Zeroth-order stochastic optimization is a critical tool in scenarios where the objective function's mathematical form is unknown or too complex to differentiate. In fields ranging from neural network hyperparameter tuning to complex simulation optimization, practitioners must rely on function evaluations alone to estimate gradients. Traditional methods, such as Simultaneous Perturbation Stochastic Approximation (SPSA) and Gaussian Smoothed Functional (GSF) algorithms, often struggle with two primary challenges: scalability in high-dimensional spaces and the tendency to become trapped at stationary points like saddle points or local maxima.

This paper introduces the Truncated Cauchy Smoothed Functional (TCSF) algorithm, a novel approach that replaces standard Gaussian perturbations with heavy-tailed Cauchy noise. By truncating the Cauchy distribution to a sphere, the authors provide a robust estimator that not only accelerates convergence but also possesses an inherent mechanism to escape unstable equilibria.

The TCSF Framework

The core innovation of TCSF lies in its perturbation strategy. While most gradient-free methods use Gaussian (Normal) or Bernoulli distributions to "probe" the function landscape, TCSF utilizes a $d$-dimensional Cauchy distribution.

The Cauchy Kernel

The Cauchy distribution is characterized by "heavy tails," meaning it is more likely to generate large perturbations compared to a Gaussian distribution. To ensure mathematical stability and well-behaved moments, the authors truncate this distribution to a sphere of radius $\delta$. This choice of kernel allows the algorithm to explore the search space more effectively.

Balanced Estimator (B-TCSF)

To further enhance performance, the authors propose a "balanced" version of the algorithm (B-TCSF). This variant employs two function evaluations per iteration to construct a central-difference-style gradient estimate. This approach significantly reduces the bias of the gradient approximation, leading to faster and more stable convergence in practice.

Theoretical Advantages

The paper provides a rigorous theoretical foundation for TCSF, highlighting several key advantages over existing zeroth-order methods:

  1. Improved Asymptotic Mean Squared Error (AMSE): The authors demonstrate that the specific geometry of the Cauchy perturbation leads to a lower AMSE compared to GSF or SPSA. This implies that TCSF provides a more accurate gradient estimate for a given number of samples.
  2. Natural Escape Mechanism: One of the most significant findings is that TCSF converges almost surely to local minima. Unlike many algorithms that require the injection of artificial noise to move away from saddle points, the heavy-tailed nature of the Cauchy kernel naturally pushes the iterates away from unstable stationary points.
  3. Optimal Convergence Rates: The algorithm achieves a non-asymptotic convergence rate of $O(1/\sqrt{N})$ for finding $\epsilon$-stationary points, matching the theoretical upper bounds for zeroth-order stochastic approximation while maintaining superior empirical performance.

Experimental Evaluation

The authors evaluated TCSF against standard baselines, including GSF, SPSA, and Randomized Directional Stochastic Approximation (RDSA), using a variety of mathematical stress-test functions:

  • Quadratic Function: Used to establish a baseline for convex optimization.
  • Rastrigin’s Function: A highly non-convex, multi-modal landscape designed to trap algorithms in local minima.
  • Rosenbrock’s Function: A narrow, curved valley that tests an algorithm's ability to handle poor scaling and coordinate dependency.

To simulate real-world conditions, these functions were tested under three distinct types of stochastic noise (Type-1, Type-2, and Type-3 Gaussian noise).

Key Results

  • Accuracy: On the Rastrigin function under Type-1 noise, TCSF achieved a near-optimal value of approximately 0.0, whereas GSF and SPSA remained trapped at values of 0.00019 and 0.0092, respectively.
  • Efficiency: In terms of iteration count, B-TCSF reached target error thresholds on the Quadratic function in approximately 2,994 iterations, significantly outperforming GSF (8,727 iterations) and SPSA (5,952 iterations).
  • Robustness: TCSF consistently outperformed competing methods across all noise profiles, demonstrating its reliability in diverse stochastic environments.

Conclusion and Future Work

The TCSF algorithm represents a significant advancement in zeroth-order optimization. By utilizing truncated Cauchy perturbations, the method provides a more accurate gradient estimate and a built-in mechanism for avoiding saddle points. While the current theory focuses primarily on smooth (Lipschitz continuous) functions and requires careful tuning of the smoothing parameter ($\delta$) and step size ($\gamma$), the empirical results suggest broad utility.

Future research directions include extending this framework to non-smooth objective functions and developing a Newton-based variant. A second-order TCSF would use Cauchy perturbations to estimate the Hessian matrix, potentially offering even faster convergence by accounting for the local curvature of the optimization landscape.

Summary updated

BibTeX
@misc{mondal2022gradient,
  author = {Akash Mondal and Prashanth L. A. and Shalabh Bhatnagar},
  title = {{A Gradient Smoothed Functional Algorithm with Truncated Cauchy Random Perturbations for Stochastic Optimization}},
  year = {2022},
  eprint = {2208.00290},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.00290},
}
Figure