A Zeroth-Order Proximal Stochastic Gradient Method for Weakly Convex Stochastic Optimization

Spyridon Pougkakiotis, Dionysis KalogeriasSIAM J. Sci. Comput 2022

TL;DR

This paper introduces a new zeroth-order optimization method for "weakly convex" problems, where traditional gradient information is unavailable. The method achieves state-of-the-art convergence rates and is shown to be effective for hyperparameter tuning, a crucial task in machine learning and scientific computing.

What Problem Does This Paper Address?

Many real-world optimization problems, particularly in machine learning and scientific computing, involve minimizing functions that are not necessarily smooth or even convex. These "weakly convex" functions pose a significant challenge for standard optimization algorithms that rely on gradient information. In some cases, even computing a sub-gradient (a generalization of the gradient for non-smooth functions) is impossible or prohibitively expensive. This paper addresses this gap by developing a "zeroth-order" method, which only requires function evaluations, not gradient information. Specifically, it tackles problems of the form $\min f(x) + r(x)$, where $f$ is weakly convex and $r$ is a simple, "proximable" convex function.

Methods

The core of the proposed method is a zeroth-order proximal stochastic gradient (Z-ProxSG) algorithm. It leverages Gaussian smoothing to create a smooth approximation of the non-smooth weakly convex function $f$. This smoothed function, denoted $f_\mu$, allows the use of stochastic gradient estimates derived solely from function evaluations. The algorithm then applies a standard proximal stochastic gradient scheme to minimize this smoothed surrogate problem. A key innovation is the analysis that connects the stationarity of the solution for the smoothed problem to the stationarity of the original weakly convex problem, even for general closed convex functions $r$. The convergence analysis provides theoretical guarantees for finding a "nearly-stationary" solution.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and numerical experiments on synthetic and benchmark problems.

Key Insights and Ideas

  • Zeroth-order for Weakly Convexity: Extending zeroth-order methods to the more general class of weakly convex functions is a significant step, broadening the applicability of derivative-free optimization.
  • Gaussian Smoothing as a Bridge: Gaussian smoothing provides a practical way to obtain smooth approximations of non-smooth functions, enabling the use of gradient-based techniques (even if estimated) in a zeroth-order setting.
  • Proximal Operator's Role: The proximal operator is crucial for handling the non-smooth but simple term $r(x)$, allowing the algorithm to efficiently incorporate its structure.
  • Hyperparameter Tuning as a Novel Application: Applying the Z-ProxSG method to tune hyperparameters of other optimization algorithms (like ADMM) is a novel and impactful application, demonstrating its practical utility beyond direct optimization.
  • Theoretical Guarantees: The paper provides rigorous convergence analysis, showing that the proposed method achieves rates comparable to existing sub-gradient methods, but with weaker assumptions.

Key Results

  • Theoretical Convergence: The Z-ProxSG algorithm achieves an $O(n^2\epsilon^{-4})$ convergence rate for finding an $\epsilon$-stationary point of the Moreau envelope of the surrogate problem, which is state-of-the-art for zeroth-order methods.
  • Phase Retrieval Performance: Numerical experiments on phase retrieval problems show that Z-ProxSG performs comparably to other zeroth-order methods and is only slightly slower than sub-gradient methods, despite not requiring sub-gradient information.
  • Effective Hyperparameter Tuning: The method successfully tunes the penalty parameter for the Proximal ADMM (pADMM) algorithm in PDE-constrained optimization problems. This tuning leads to improved performance of pADMM on both Poisson and convection-diffusion equation problems, demonstrating the practical value of the proposed heuristic model for hyperparameter optimization.

Limitations and Future Work

  • Constant Step-Size and Smoothing: The current analysis and implementation primarily use constant step-sizes and smoothing parameters. Adaptive strategies for these parameters could potentially improve performance.
  • Generalization of Hyperparameter Tuning: While the paper demonstrates hyperparameter tuning for pADMM, extending this heuristic model to a wider range of optimization algorithms and problem classes would be valuable.
  • Theoretical Connection to Original Problem: While the paper shows that a stationary point of the surrogate problem is near-stationary for the original problem, the exact relationship between the approximation error and the smoothing parameter $\mu$ could be further investigated, especially for non-indicator functions $r$.
  • Computational Cost: Zeroth-order methods are inherently more computationally expensive per iteration than first-order methods due to the need for multiple function evaluations to estimate gradients. Future work could focus on reducing this per-iteration cost.

Summary updated

BibTeX
@article{pougkakiotis2022zeroth,
  author = {Spyridon Pougkakiotis and Dionysis Kalogerias},
  title = {{A Zeroth-Order Proximal Stochastic Gradient Method for Weakly Convex Stochastic Optimization}},
  journal = {SIAM J. Sci. Comput.},
  year = {2022},
  url = {https://openreview.net/forum?id=S9z9jGnRXn},
}
Figure