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

Query-Efficient Zeroth-Order Algorithms for Nonconvex Constrained Optimization

Ruiyang Jin, Yuke Zhou, Yujie Tang, Jie Song, Siyang Gao

TL;DR

This paper introduces two new zeroth-order optimization algorithms, ZOB-GDA and ZOB-SGDA, designed to solve complex nonconvex optimization problems with black-box constraints. By updating variables along randomly selected blocks of dimensions, these algorithms break the traditional trade-off between per-step efficiency and total query complexity, achieving state-of-the-art overall complexity while keeping single-step query costs as low as $\mathcal{O}(1)$.

What Problem Does This Paper Address?

Many real-world engineering problems—such as power grid management, simulation optimization, and tuning large machine learning models—require optimizing a system where we lack analytical formulas for both the objective function and the constraints. Because these functions behave as "black boxes," we can only observe outputs by querying inputs, a paradigm known as zeroth-order (ZO) optimization.

In high-dimensional constrained spaces, existing ZO methods face a harsh trade-off:

  1. Coordinate-wise Gradient Estimation (CGE) methods achieve optimal overall query complexity ($\mathcal{O}(d/\epsilon^4)$) but require a full gradient estimation at every single step, costing $\mathcal{O}(d)$ queries per iteration (where $d$ is the dimension). This becomes prohibitively expensive as $d$ grows.
  2. Randomized Gradient Estimation (RGE) methods are cheap per step ($\mathcal{O}(1)$ queries) but suffer from massive variance in constrained settings, leading to a much slower overall convergence rate ($\mathcal{O}(d/\epsilon^6)$).

The authors tackle this gap, aiming to design an algorithm that achieves both high single-step efficiency and the best-known overall query complexity.

Methods

The authors reformulate the constrained problem into a deterministic min-max problem using a primal-dual Lagrange framework. To solve it efficiently, they introduce Block Coordinate-wise Gradient Estimation (BCGE). Instead of estimating the full gradient across all $d$ dimensions or picking a single random direction, BCGE uniformly samples a random block of dimensions (of size $b$) to update at each iteration.

Using this framework, they propose two algorithms:

  • ZOB-GDA (Zeroth-Order Block Gradient Descent Ascent): Integrates block updates directly with standard gradient descent ascent.
  • ZOB-SGDA (Zeroth-Order Block Smoothed Gradient Descent Ascent): Incorporates an additional historical averaging step for the primal variables. This smoothing step stabilizes the optimization dynamics and dramatically accelerates convergence.

Crucially, the block size $b$ is an adjustable hyperparameter. Setting $b=1$ reduces the single-step query cost to $\mathcal{O}(1)$ without sacrificing the overall convergence rate.

Datasets

The paper evaluates the algorithms using two simulation-based benchmarks:

  1. Energy Management Problem: A simulated 141-bus power distribution network ($d = 168$). The goal is to minimize load adjustment costs while satisfying power exchange constraints dictated by non-linear, black-box power flow dynamics.
  2. High-Dimensional Parameter Optimization: A synthetic 1000-dimensional nonconvex optimization problem ($d = 1000$) with a non-linear sigmoid-type constraint, designed to test the scalability of the algorithms.

Key Insights and Ideas

  • The Power of Partial Gradients: You don't need a full gradient to keep variance under control. Estimating precise coordinate-wise gradients for just a small random block ($b \ll d$) provides enough structural accuracy to match the overall convergence rate of full-gradient methods.
  • Smoothing for Stability: Simply adding a proximal-like smoothing term in ZOB-SGDA dramatically improves the theoretical overall query complexity from $\mathcal{O}(d/\epsilon^6)$ to $\mathcal{O}(d/\epsilon^4)$, matching the best available bounds for first-order algorithms up to a factor of $d$.
  • Parallelism Isn't Always a Silver Bullet: In practice, parallelizing the block gradient estimation across multiple workers yielded limited speedups or even worse wall-clock performance because the black-box function evaluations themselves were computationally cheap, meaning parallel overhead dominated.

Key Results

  • Theoretical Dominance: As shown in Table 1, ZOB-SGDA achieves the best-known overall query complexity of $\mathcal{O}(d/\epsilon^4)$ while maintaining a controllable per-step query cost of $\mathcal{O}(b)$.
Table 1: Comparison of single-step and overall query complexity bounds
  • Empirical Speedup: In the 141-bus energy management problem, ZOB-GDA and ZOB-SGDA converged to solutions with zero constraint violations up to 10 times faster (in terms of total queries) than existing methods like ZOAGP, ZO-MinMax, and SZO-ConEx.
  • To reach a tight 0.1% relative error in the energy management problem, ZOB-SGDA (with $b=10$) required only 1,866 total queries, compared to ZOAGP’s 43,257 queries.
  • In the 1000-dimensional problem, the proposed algorithms successfully scaled and converged substantially faster than baseline methods, proving their viability for high-dimensional applications.

Limitations and Future Work

  • Stochastic Environments: The current theoretical guarantees apply only to deterministic black-boxes. Extending this to stochastic settings (where queries return noisy outputs) is challenging because the inherent noise of the system weakens the low-variance advantage of the block coordinate approach.
  • Theoretical vs. Practical Block Size: While theory states that the overall query complexity bound is independent of the block size $b$, empirical results show that tuning $b$ acts as a critical hyperparameter that heavily impacts actual performance. Finer-grained theoretical bounds that explicitly account for $b$ are needed.
  • Dual Multiplier Constraints: The proof requires the dual variables (Lagrange multipliers) to stay strictly below their upper bounds, which is a common but restrictive assumption in primal-dual GDA analysis.

Summary updated

BibTeX
@misc{jin2025query,
  author = {Ruiyang Jin and Yuke Zhou and Yujie Tang and Jie Song and Siyang Gao},
  title = {{Query-Efficient Zeroth-Order Algorithms for Nonconvex Constrained Optimization}},
  year = {2025},
  eprint = {2510.19165},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.19165},
}
Figure