Abstract
This paper introduces ZO-iALM, the first zeroth-order (gradient-free) optimization framework capable of handling complex black-box problems with both nonsmooth objectives and nonlinear functional constraints. By leveraging a novel accelerated coordinate update strategy and a high-accuracy multi-point gradient estimator, the authors achieve theoretical query complexities that match state-of-the-art first-order methods, scaled only by the variable dimension.
Introduction
In many real-world scenarios—ranging from attacking deep neural networks to managing sensor networks—we encounter "black-box" optimization problems. In these cases, we can calculate the output of a function (zeroth-order info) but cannot access its derivatives (first-order info) because the underlying system is too complex, proprietary, or computationally expensive to differentiate.
While zeroth-order (ZO) optimization is a mature field, most existing methods struggle with functional constraints (e.g., ensuring a solution satisfies $c(x) = 0$ where $c$ is a black-box function). Most prior ZO work focused on simple constraints like boxes or balls. This paper fills that gap by tackling nonconvex problems with possibly nonconvex constraints and nonsmooth components, a setup common in sophisticated machine learning and engineering tasks.
The ZO-iALM Framework
The authors propose a "triple-loop" algorithm called ZO-iALM (Zeroth-Order Inexact Augmented Lagrangian Method). Its architecture consists of three nested layers:
- Outer Loop (iALM): Manages the constraints using an Augmented Lagrangian framework, updating the "penalty" for violating constraints.
- Middle Loop (ZO-iPPM): Uses an Inexact Proximal Point Method to transform the nonconvex subproblems from the outer loop into a series of strongly convex subproblems.
- Inner Loop (ZO-APCU): The core engine. This is a Zeroth-Order Accelerated Proximal Coordinate Update. It is the first of its kind to achieve "acceleration" using only function values by exploiting the coordinate structure of the problem.
Multi-point Gradient Estimation
Standard ZO methods often use simple finite differences (2-point estimates), which are prone to numerical errors. The authors developed a multi-point coordinate-wise gradient estimator. By sampling $p$ points along a coordinate axis, they can achieve much higher accuracy (error bounded by $O(a^j)$ where $a$ is the sampling radius), allowing the algorithm to find high-precision solutions that standard ZO methods miss.
Experimental Evaluation
The researchers evaluated their method on several benchmarks, including resource allocation in sensor networks and adversarial example generation using the Ovarian Cancer dataset.
As shown in the figure above, ZO-iALM demonstrates superior query efficiency in satisfying functional constraints compared to baselines like ZO-AdaMM and ZO-ProxSGD. In the sensor network task, ZO-iALM reached the target accuracy with significantly fewer function evaluations.
Furthermore, in the context of black-box adversarial attacks, the proposed method proved more effective at maximizing the loss function under specific constraints.
Key Insights and Results
- Bridging the Gap to First-Order: ZO-iALM reaches an $\epsilon$-KKT point in $O(d\epsilon^{-3})$ queries, which is the same "order" as first-order methods, just multiplied by the dimension $d$.
- Acceleration is Possible in ZO: ZO-APCU proves that by carefully estimating gradients coordinate-wise, you can significantly reduce the number of function "queries" needed.
- Precision Matters: The multi-point estimator allows the solver to reach high-accuracy solutions where 2-point estimators would stall due to approximation noise.
Conclusion
ZO-iALM sets a new benchmark for constrained ZO optimization by providing the first-ever complexity results for nonconvex functional constrained problems. While the triple-loop structure is architecturally complex and scales with dimensionality, it offers a robust path forward for high-precision black-box optimization in engineering and machine learning.
Summary updated