Modern machine learning and complex business decision-making frequently encounter optimization landscapes that are both nonsmooth (e.g., due to ReLU activations) and nonconvex. While gradient-based methods dominate smooth optimization, many real-world scenarios—such as black-box simulators or complex supply chain models—do not provide gradient information. This paper introduces the first gradient-free algorithms specifically designed for nonsmooth, nonconvex optimization, establishing a rigorous theoretical foundation and achieving guaranteed finite-time convergence.
The Challenge: Nonsmoothness and the Oracle Gap
Two primary hurdles complicate nonsmooth, nonconvex optimization:
- The Optimality Gap: In smooth optimization, finding a point where the gradient is zero is the standard criterion. For nonsmooth functions, "Clarke stationarity" is the theoretical ideal. However, it has been mathematically proven that no finite-time algorithm can guarantee finding a Clarke stationary point.
- The Oracle Gap: Many applications only provide zeroth-order access (function values) without any derivative information. Existing gradient-free methods typically assume the underlying function is smooth, leaving a significant methodological gap for nonsmooth applications.
Methodology: Bridging Smoothing and Goldstein Subdifferentials
To overcome these challenges, the authors propose the Gradient-Free Method (GFM) for deterministic functions and the Stochastic Gradient-Free Method (SGFM) for noisy environments.
Instead of pursuing the intractable Clarke stationarity, these algorithms target Goldstein stationary points. A point is considered Goldstein stationary if the convex hull of all gradients in a small $\delta$-neighborhood contains the zero vector, indicating a stable region.
The core technique relies on Randomized Smoothing, which approximates the nonsmooth function $f$ with a smoothed version $f_\delta$ by averaging values over a unit ball. The theoretical breakthrough of the paper (Theorem 3.1) proves that the gradient of this smoothed function is always contained within the Goldstein subdifferential. This critical link justifies using gradient-free estimates to find Goldstein stationary points.
To estimate the gradient without first-order oracles, the algorithms utilize a Two-Point Estimator. It samples a random direction $w$ and calculates the finite difference between $f(x + \delta w)$ and $f(x - \delta w)$. Furthermore, the authors introduce Two-Phase Variants (2-GFM and 2-SGFM) that add a post-optimization validation step. This "reliability engineering" improves the failure probability dependence from polynomial to logarithmic, ensuring the algorithm works with high probability on a single run rather than just "on average."
Key Results and Insights
- Theoretical Convergence: The mathematical analysis proves that both GFM and SGFM achieve an expected convergence rate of $O(d^{3/2} \delta^{-1} \epsilon^{-4})$, where $d$ is the problem dimension. This rate matches the best-known rates for stochastic gradient-based methods in similar settings, properly adjusted for the lack of gradient information.
- Empirical Parity: The authors validated 2-SGFM by training Convolutional Neural Networks (CNNs) with inherently nonsmooth ReLU activations on the MNIST dataset (with CIFAR-10 explored in the appendix). Remarkably, the gradient-free approach achieved training accuracy and loss curves comparable to popular first-order optimizers like SGD, Adagrad, and ADAM, successfully reaching over 90% accuracy on MNIST within a reasonable number of epochs.
Limitations and Future Directions
While the $O(d^{3/2})$ dimension dependence is a theoretical breakthrough, it quantifies the inherent "dimension penalty" of zeroth-order optimization. For extremely large models, such as Large Language Models with billions of parameters, pure gradient-free methods remain computationally prohibitive compared to their first-order counterparts.
Additionally, the current theoretical framework relies on the assumption that the function is Lipschitz continuous. Extending these guarantees to non-Lipschitz functions represents a promising direction for future research. Finally, while the experiments demonstrated success on standard CNNs, testing these methods on deeper, more complex architectures like ResNets or Transformers will be crucial to understanding how highly complex nonsmooth landscapes affect gradient-free performance.
Summary updated