Zeroth-Order Langevin Dynamics for Stochastic Nonconvex Optimization: Curvature Regularization and Non-Asymptotic Guarantees

Stefano Bruno, Dong-Young LimarXiv 2026 · arXiv

TL;DR

This paper introduces Stochastic Zeroth-Order Langevin Dynamics (ZOLD), a derivative-free algorithm that optimizes complex, nonconvex functions using only noisy evaluations. The authors prove that ZOLD doesn't just find any minimum—it implicitly favors "flat" regions by regularizing the curvature (Hessian trace), and they provide the first rigorous mathematical guarantees for how fast this happens in high-dimensional settings.

What Problem Does This Paper Address?

In modern machine learning, we often face optimization problems where gradients are either impossible to compute (black-box systems), too expensive (fine-tuning LLMs without backpropagation), or intentionally hidden (adversarial attacks). Zeroth-order (ZO) methods solve this by estimating gradients using only function evaluations.

However, ZO methods have a "hidden" behavior: to estimate a gradient, they must "smooth" the function. This smoothing effectively changes the objective being optimized. While researchers knew this smoothing favored "flat minima"—solutions that are less sensitive to small perturbations and generally generalize better—there was a lack of rigorous theory for nonconvex landscapes. Specifically, we didn't know the "iteration complexity": exactly how many steps a zeroth-order Langevin algorithm needs to reach a curvature-regularized solution without getting stuck or exploding in complexity as the number of dimensions increases.

Methods

The authors develop and analyze ZOLD (Stochastic Zeroth-Order Langevin Dynamics). The algorithm combines two main components:

  1. Two-Point Gradient Estimator: Instead of a real gradient, it uses the difference between two noisy function evaluations at nearby points to estimate the direction of descent.
  2. Langevin Noise: It adds controlled Gaussian noise to the updates, allowing the algorithm to explore the landscape and escape local traps, eventually settling into a distribution (the Gibbs measure) concentrated around the best solutions.

The Theoretical Innovation: * Curvature Regularization: Instead of treating the bias from smoothing as an error, the authors explicitly target a "curvature-regularized" objective: $f(x) + \text{penalty}(\text{curvature})$. * Wasserstein Analysis: They use Wasserstein distance (a way to measure the distance between probability distributions) to track how close the algorithm's state is to the ideal target distribution. * Avoiding "Exponential Explosions": Most similar proofs rely on "log-Sobolev" or "Poincaré" inequalities, which often result in constants that grow exponentially with the number of dimensions ($d$). This paper uses a "strong-convexity-at-infinity" assumption to keep the complexity polynomial in $d$.

Datasets

This is a purely theoretical paper focused on proving mathematical guarantees. No empirical datasets (like ImageNet or MNIST) were used for training or evaluation. The authors instead provide rigorous proofs that apply to a broad class of nonconvex functions, including multimodal potentials like Gaussian mixtures.

Key Insights and Ideas

  • Smoothing is a Feature, Not a Bug: In standard optimization, we want the most accurate gradient possible. Here, the authors show that the "inaccuracy" introduced by zeroth-order smoothing is actually a useful tool that naturally pushes the algorithm toward flatter, more robust minima.
  • The $\eta$-$\beta$ Coupling: The authors discovered a specific mathematical relationship (a "coupling") between the smoothing parameter ($\eta$) and the inverse temperature ($\beta$). By tuning these together, they can ensure the algorithm stays on track to find the curvature-regularized minimum.
  • Efficiency in High Dimensions: By moving away from traditional functional inequalities, the authors show that ZOLD can handle high-dimensional problems (like fine-tuning large models) with a total oracle complexity that scales reasonably ($O(\epsilon^{-4})$), matching the best-known rates for first-order Langevin methods in similar settings.

Key Results

  • Non-Asymptotic Bounds: The paper provides explicit formulas for the number of iterations $K$ required to reach a target accuracy $\epsilon$.
  • Iteration Complexity:
    • To get close in Wasserstein-1 distance (measuring the mean difference), the complexity is roughly $\tilde{O}(d^2 \epsilon^{-2})$.
  • To get close in Wasserstein-2 distance (measuring variance/spread), the complexity is roughly $\tilde{O}(d^4 \epsilon^{-4})$.
  • Excess Risk: They prove that the expected value of the objective function at the end of the algorithm is within $\epsilon$ of the true curvature-regularized minimum.
  • Batch Size Independence: Unlike some previous theories that required larger and larger batches of data to improve accuracy, ZOLD works with a constant batch size of one (two function evaluations) per iteration.

Limitations and Future Work

  • Smoothness Requirements: The proofs require the objective function to be three times continuously differentiable ($C^3$). This might not hold for functions with "sharp" transitions or non-smooth components like ReLU activations without further approximation.
  • Unconstrained Space: The current analysis assumes the parameters can be any real number ($\mathbb{R}^d$). Real-world problems often have constraints (e.g., weights must be between 0 and 1), which this paper does not yet cover.
  • Future Directions: The authors suggest extending this framework to constrained optimization and exploring more general "derivative-free" Langevin schemes that might use different types of noise or smoothing.

Summary updated

Abstract

Zeroth-order methods provide a way to optimize stochastic nonconvex objectives using only noisy function evaluations. However, the smoothing inherent in their gradient estimators effectively modifies the objective being optimized. In particular, Gaussian smoothing with smoothing parameter $η>0$ induces, to leading order, an implicit Hessian-trace regularization, which motivates the study of the curvature-regularized objective of the form $f(x)+(η^2/2) tr(\nabla^2 f(x))$. We develop a non-asymptotic theory in the nonconvex setting for a class of algorithms called stochastic zeroth-order Langevin dynamics (ZOLD), which use only noisy function evaluations and do not have access to first- or higher-order derivative information, and derive excess-risk guarantees for the curvature-regularized objective. We first control the finite-time distribution of the ZOLD iterates in Wasserstein distance with respect to the Gibbs measure associated with the Gaussian-smoothed objective. An explicit coupling between the smoothing and inverse temperature parameters then quantifies the proximity of this measure to the Gibbs measure associated with the corresponding Hessian-trace-regularized objective. These distributional estimates in Wasserstein distance lead to excess-risk bounds for the curvature-regularized objective. Our analysis accommodates assumptions under which the stochastic function evaluations are allowed to have non-uniform dependence on the data stream. In addition, the constants in the non-asymptotic bounds do not rely on log-Sobolev or Poincaré inequalities as in prior zeroth-order Langevin analyses. To the best of our knowledge, this is the first non-asymptotic analysis of a zeroth-order Langevin method that simultaneously establishes excess-risk guarantees for a curvature-regularized objective and Wasserstein guarantees for the associated Gibbs measure in the nonconvex setting.
BibTeX
@misc{bruno2026zeroth,
  author = {Stefano Bruno and Dong-Young Lim},
  title = {{Zeroth-Order Langevin Dynamics for Stochastic Nonconvex Optimization: Curvature Regularization and Non-Asymptotic Guarantees}},
  year = {2026},
  eprint = {2611.10461},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.10461},
}
Figure