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

Lower Bounds for Smooth Nonconvex Zeroth-Order Optimization: The Price of Determinism under Low Curvature Trace

Yuxing Peng, Zhiqing Tang, Weijia Jia

TL;DR

This paper proves that for high-dimensional zeroth-order optimization, randomness is a fundamental necessity rather than just a convenience. While randomized methods can exploit "low curvature trace" (a form of low intrinsic dimensionality) to scale independently of the ambient dimension $d$, deterministic methods are inevitably trapped by it, facing a query complexity that is significantly higher—often by a factor of $\sqrt{d}$.

What Problem Does This Paper Address?

Zeroth-order (ZO) optimization—optimizing a function using only its values without access to gradients—is essential for fine-tuning large language models (LLMs) on consumer hardware or attacking "black-box" AI systems. Standard theory suggests ZO methods scale poorly, requiring $O(d)$ times more queries than gradient-based methods, where $d$ is the number of parameters.

However, in practice, randomized ZO methods like MeZO perform remarkably well on high-dimensional tasks. Researchers attribute this to the "low intrinsic dimension" or "low curvature trace" of these problems—the idea that the function only changes significantly in a few directions. The authors of this paper ask a critical question: Is this efficiency gain a property of the problem's structure alone, or does it strictly require randomness? Can a deterministic algorithm "learn" the active subspace just as efficiently?

Methods

The authors analyze the query complexity of finding $\epsilon$-stationary points (where the gradient norm is small) for smooth nonconvex functions. They focus on a function class characterized by a low curvature trace budget $E$. Intuitively, $E$ acts as an "effective dimension": the Hessian's trace is bounded by $LE$, meaning curvature is concentrated in a few directions or spread very thinly.

To establish their results, they employ several key techniques:

  • Lower Bound Constructions: For deterministic algorithms, they use a "resisting oracle" and "hidden chains." The oracle hides the "active" direction in a subspace orthogonal to all previous queries, forcing the algorithm to spend $O(d)$ queries to find each new direction.
  • Upper Bound Algorithms:
    • Randomized: They analyze the Gaussian two-point method with an added acceptance test, showing it achieves optimal $O(ET)$ complexity.
  • Deterministic: They propose a restarted subspace search algorithm that builds a basis of discovered directions, attaining $O(d \min\{T, \sqrt{ET}\})$ queries.
  • Formal Verification: The authors formalized their deterministic lower bounds using the Lean 4 theorem prover, ensuring the mathematical rigor of their "price of determinism" claims.

Datasets

The paper validates its theoretical findings through:

  1. Synthetic Functions: Specifically designed hard instances like rank-one quadratics, rotated separable nonconvex functions, and tridiagonal quadratic chains.
  2. GPT-2 (GELU): The authors measured the local curvature of a GPT-2 model during fine-tuning on the SST-2 and RTE datasets. This was done to verify if real-world LLMs actually satisfy the "low curvature trace" assumption that justifies the use of ZO methods.

Key Insights and Ideas

  • The Price of Determinism: The core "aha moment" is that deterministic methods must "pay" the full ambient dimension $d$ for every new active direction they discover. In contrast, randomized probes "pay" only for the total curvature (the trace).
  • Trace vs. Rank: A fixed trace budget $E$ only allows a deterministic algorithm to find about $\sqrt{ET}$ steep directions before it runs out of "budget" to hide further progress. This leads to a massive gap in efficiency.
  • Randomness as an Information Source: In the ZO setting, random directions act as a cheap way to probe the high-dimensional space. A deterministic algorithm, by being predictable, allows an adversarial function to hide its features in the $d-1$ dimensions the algorithm hasn't checked yet.
  • Empirical Validation of Theory: Curvature measurements on GPT-2 (shown in Figure 2c) confirm that the effective rank is indeed small (around $\sqrt{d}$), providing a solid empirical foundation for the paper's theoretical model.

Key Results

The paper's main findings are summarized in the following table and figure:

Table 1: Summary of query complexity bounds for randomized (R) vs. deterministic (D) algorithms.
  • Randomized Complexity: $\Theta(ET)$ queries. This is optimal and scales with the effective dimension $E$, not the ambient dimension $d$.
  • Deterministic Complexity: $\tilde{\Theta}(d \min\{T, \sqrt{ET}\})$ queries.
  • The Gap: Determinism multiplies the cost by a factor of roughly $d/(E + \sqrt{ET})$. For a fixed effective rank, this cost grows linearly with the dimension $d$.
Figure 1: A map of the parameter plane showing where randomized and deterministic bounds match. The orange region highlights where the "price of determinism" is most severe (a gap of $\approx \sqrt{d}$).

As seen in Figure 1, when the accuracy requirement $T$ and trace budget $E$ are in certain regimes (the orange area), the gap between randomized and deterministic methods is at its widest.

Limitations and Future Work

  • Exact vs. Noisy Oracles: The lower bounds assume exact function values. The authors note that independent noise might actually help deterministic methods by providing a source of "accidental" randomness.
  • Pointwise Trace Bounds: The current deterministic lower bounds rely on a global trace bound. Extending these to a "pointwise" class (where the trace bound only holds locally) remains an open problem.
  • Unknown Trace Budget: The randomized upper bound requires knowing the trace budget $E$ to set the step size. Developing a method that adapts to an unknown $E$ without losing efficiency is a promising future direction.
  • Regime for $ET > d$: The complexity when the trace budget exceeds the ambient dimension is not yet fully resolved.

Summary updated

BibTeX
@misc{peng2026lower,
  author = {Yuxing Peng and Zhiqing Tang and Weijia Jia},
  title = {{Lower Bounds for Smooth Nonconvex Zeroth-Order Optimization: The Price of Determinism under Low Curvature Trace}},
  year = {2026},
  eprint = {2610.27550},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.27550},
}

Loading related content...

Figure