NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Obtaining Lower Query Complexities Through Lightweight Zeroth-Order Proximal Gradient Algorithms

Bin Gu, Xiyuan Wei, Hualin Zhang, Yi Chang, Heng Huang

Abstract

Zeroth-order (ZO) optimization is a critical tool for black-box optimization where explicit gradient information is inaccessible. Traditional ZO proximal algorithms often rely on coordinated estimators that require $O(d)$ queries per iteration, leading to high function query complexity (FQC) in high-dimensional settings. We present two novel frameworks, AdaptRdct-C and AdaptRdct-NC, designed to utilize lightweight random gradient estimators with $O(1)$ query cost. By introducing the Zeroth-Order Objective Decrease (ZOOD) property, we provide a theoretical foundation for these frameworks to achieve state-of-the-art FQC. Specifically, our approach shifts the complexity from multiplicative $O(nd)$ dependencies to additive $O(n+d)$ forms. Experimental results on black-box adversarial attacks and logistic regression confirm the efficiency of our proposed algorithms, ZOR-ProxSVRG and ZOR-ProxSAGA.

1. Introduction

In many modern machine learning applications, such as black-box adversarial attacks on deep neural networks or complex simulation tuning, the objective function's gradient is either unknown or computationally prohibitive to calculate. Zeroth-order (ZO) optimization addresses this by estimating gradients using only function evaluations. However, a major bottleneck is the "query-hungry" nature of these methods. Standard coordinated ZO estimators perturb all $d$ dimensions, resulting in a per-iteration cost that scales with the dimensionality. While random ZO estimators offer a cheaper $O(1)$ alternative, their high variance typically hinders convergence.

2. Methodology: The ZOOD Property and Reduction Frameworks

To bridge the gap between cheap, noisy estimators and fast convergence, we introduce the Zeroth-Order Objective Decrease (ZOOD) property. This property defines a sufficient condition for an inner solver: it must guarantee a specific decrease in the objective function despite the presence of estimation error.

Building on this, we propose two stagewise reduction frameworks:

  • AdaptRdct-C: Tailored for convex problems.
  • AdaptRdct-NC: Designed for non-convex problems.

These frameworks function as wrappers that execute a lightweight inner solver (e.g., ZOR-ProxSVRG or ZOR-ProxSAGA) across multiple stages. In each stage, a quadratic penalty term is added to stabilize the optimization process, allowing the system to tolerate the noise inherent in $O(1)$ random estimators.

3. Complexity Analysis and Results

The primary contribution of this work is the significant reduction in Function Query Complexity (FQC). By utilizing random estimators within the AdaptRdct frameworks, we effectively decouple the dimensionality $d$ from the sample size $n$ in the complexity bounds.

Table 1: Comparison of Function Query Complexity (FQC) for non-convex zeroth-order proximal algorithms.

As shown in Table 1, for non-convex problems, our method improves the FQC from $O(dn^{2/3}/\epsilon^2)$ to $\tilde{O}((n+d)/\epsilon^2)$. This transition from multiplicative to additive complexity is particularly beneficial for high-dimensional datasets where $d$ is large.

Table 2: Comparison of FQC for convex zeroth-order proximal algorithms.

For convex problems (Table 2), the AdaptRdct-C framework achieves a complexity of $\tilde{O}(n \log(1/\epsilon) + d/\epsilon)$, outperforming the $O(d/\epsilon^2)$ complexity of traditional methods like RSPGF.

4. Empirical Evaluation

We validated our frameworks on two distinct tasks: generating black-box adversarial attacks on CIFAR-10 and MNIST datasets, and solving regularized logistic regression problems. In adversarial attack scenarios, the AdaptRdct-NC variants reached target loss levels with significantly fewer queries than state-of-the-art baselines. While random estimators introduce a "system error floor" due to inherent noise, a hybrid strategy—starting with lightweight methods and finishing with high-precision coordinated methods—can achieve optimal precision with minimal total queries.

5. Conclusion

This work demonstrates that trading precision for speed through lightweight random estimators, when managed by a robust reduction framework, leads to superior query complexity in zeroth-order optimization. Future research will explore integrating more advanced variance reduction techniques into this lightweight paradigm to further push the boundaries of black-box optimization efficiency.

For full proofs and detailed experimental setups, refer to the original paper: arXiv:2410.02559v1

Summary updated

BibTeX
@article{gu2024obtaining,
  author = {Bin Gu and Xiyuan Wei and Hualin Zhang and Yi Chang and Heng Huang},
  title = {{Obtaining Lower Query Complexities Through Lightweight Zeroth-Order Proximal Gradient Algorithms}},
  journal = {Neural Computation},
  year = {2024},
  doi = {10.1162/neco\_a\_01636},
}
Figure