Faster Gradient-Free Proximal Stochastic Methods for Nonconvex Nonsmooth Optimization.

Feihu Huang, Bin Gu, Zhouyuan Huo, Songcan Chen, Heng Huang

Introduction

In many modern machine learning applications, explicit gradients are unavailable. This "black-box" scenario occurs when dealing with complex simulations, bandit settings, or when performing adversarial attacks on pre-trained neural networks where internal parameters are inaccessible. While Proximal Gradient (PG) methods are standard for nonsmooth problems (e.g., $L_1$ regularization), they typically require gradient information. Zeroth-order (ZO) optimization addresses this by estimating gradients using only function values. However, traditional ZO proximal methods like RSPGF suffer from high variance, resulting in a slow convergence rate of $O(1/\sqrt{T})$.

Proposed Methods: ZO-ProxSVRG and ZO-ProxSAGA

This paper introduces two novel zeroth-order proximal stochastic algorithms that achieve a significantly faster $O(1/T)$ convergence rate for nonconvex nonsmooth optimization. By integrating variance reduction techniques—previously limited to first-order optimization—the authors bridge the gap between gradient-based and gradient-free efficiency.

  1. ZO-ProxSVRG: An epoch-based method that periodically computes a full zeroth-order gradient estimate to anchor subsequent stochastic updates, effectively reducing variance.
  2. ZO-ProxSAGA: A memory-based approach that maintains a table of previous gradient estimates, avoiding the periodic full-gradient computation required by SVRG.

Technical Innovations

A core challenge in ZO optimization is that gradient estimates are inherently biased. The authors utilize two types of estimators: GauSGE (Gaussian Smoothing) and CooSGE (Coordinate Smoothing). They rigorously demonstrate that by carefully tuning the smoothing parameter ($\mu$) and step size ($\eta$), the bias can be controlled, allowing variance reduction to function effectively even without unbiased estimates.

Convergence of the objective function on the 20news dataset.

Empirical Evaluation

The algorithms were tested on black-box binary classification tasks using standard LIBSVM datasets (20news, a9a, w8a, and covtype.binary) and on generating universal adversarial perturbations for MNIST-trained deep neural networks.

Key Results

The proposed methods consistently outperformed the state-of-the-art RSPGF baseline in both convergence speed and final objective values.

  • Theoretical Speedup: The authors proved a convergence rate of $O(d/T)$, where $d$ is the dimension, a substantial improvement over the $O(1/\sqrt{T})$ baseline.
  • Coordinate Smoothing (CooSGE): While CooSGE requires more function queries per iteration, it provides more stable estimates, often leading to faster convergence in terms of actual CPU time.
  • Test Error Performance: Across all tested datasets, ZO-ProxSVRG and ZO-ProxSAGA reached lower test errors significantly faster than previous methods.
Test error vs. CPU time across four benchmark datasets.

Conclusion and Future Work

By relaxing the "unbiasedness" requirement of traditional variance reduction, this work enables highly efficient gradient-free optimization for nonsmooth, nonconvex problems. While the $O(d/T)$ rate is a major step forward, the linear dependence on dimensionality $d$ remains a challenge for extremely high-dimensional tasks. Future research may explore asynchronous parallel implementations to further scale these methods for massive datasets.

Summary updated

Abstract

Proximal gradient method has been playing an important role to solve many machine learning tasks, especially for the nonsmooth problems. However, in some machine learning problems such as the bandit model and the black-box learning problem, proximal gradient method could fail because the explicit gradients of these problems are difficult or infeasible to obtain. The gradient-free (zeroth-order) method can address these problems because only the objective function values are required in the optimization. Recently, the first zeroth-order proximal stochastic algorithm was proposed to solve the nonconvex nonsmooth problems. However, its convergence rate is O(1/√T) for the nonconvex problems, which is significantly slower than the best convergence rate O(T1) of the zerothorder stochastic algorithm, where T is the iteration number. To fill this gap, in the paper, we propose a class of faster zeroth-order proximal stochastic methods with the variance reduction techniques of SVRG and SAGA, which are denoted as ZO-ProxSVRG and ZO-ProxSAGA, respectively. In theoretical analysis, we address the main challenge that an unbiased estimate of the true gradient does not hold in the zerothorder case, which was required in previous theoretical analysis of both SVRG and SAGA. Moreover, we prove that both ZO-ProxSVRG and ZO-ProxSAGA algorithms have O(T1) convergence rates. Finally, the experimental results verify that our algorithms have a faster convergence rate than the existing zeroth-order proximal stochastic algorithm.
BibTeX
@inproceedings{huang2019faster,
  author = {Feihu Huang and Bin Gu and Zhouyuan Huo and Songcan Chen and Heng Huang},
  title = {{Faster Gradient-Free Proximal Stochastic Methods for Nonconvex Nonsmooth Optimization.}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33011503},
}
Figure