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

Single Point-Based Distributed Zeroth-Order Optimization with a Non-Convex Stochastic Objective Function

Elissa Mhanna, Mohamad Assaad

This paper introduces a novel algorithm for distributed optimization designed to function in environments where gradients cannot be computed and conditions are constantly changing. By employing a "one-point" zeroth-order approach, the authors demonstrate that a network of agents can collaboratively solve complex, non-convex problems, achieving a convergence rate that rivals centralized methods.

The Challenge of Distributed Optimization

In distributed machine learning, a network of devices (such as smartphones or edge sensors) often needs to solve a global problem collaboratively without sharing private local data. The standard technique for this is Gradient Tracking (GT), which helps all devices reach a consensus on the optimal solution.

However, traditional GT faces two major real-world limitations:

  1. Reliance on Gradients: In many "black-box" scenarios—such as tuning a complex simulation or training a model with a non-differentiable loss function—calculating an exact gradient is impossible.
  2. Multiple Query Requirements: Existing "zeroth-order" (ZO) methods, which use function values instead of gradients, typically require querying the function at two or more points to estimate a direction. In a highly volatile stochastic environment (e.g., a wireless network with rapidly fluctuating signal strength), the environment may change between the first and second queries, rendering the gradient estimate useless.

This paper addresses the challenge of One-Point Distributed Zeroth-Order Optimization for non-convex functions, exploring whether a global consensus can be reached using only a single, noisy snapshot of the function at a time.

Methodology: 1P-DSGT-NC

The authors introduce 1P-DSGT-NC (One-Point Distributed Stochastic Gradient Tracking for Non-Convex functions). The algorithm relies on several key technical components:

  • One-Point Gradient Estimator: Instead of computing a true gradient, each agent uses a random perturbation vector ($z$) to probe the function at a single point: $g \approx \text{function}(x + \gamma z) \cdot z$.
  • Gradient Tracking (GT): Each agent maintains an auxiliary variable ($y$) that tracks the average of these noisy estimates across the entire network. This mechanism ensures that, despite the wild variance of local estimates, the network steadily moves toward a global consensus.
  • Handling Non-Convexity: Unlike previous works that assume "strongly convex" (bowl-shaped) functions, this method is mathematically proven to converge for non-convex landscapes, which are standard in modern deep learning.
  • Vanishing Step Sizes: The algorithm employs two distinct, decreasing step sizes ($\eta_k$ and $\gamma_k$) to carefully balance the trade-off between exploring the function space and converging to a stable minimum.

Experimental Setup

The researchers validated their theoretical claims using the MNIST database of handwritten digits.

  • Task: Binary logistic regression to classify pairs of digits (e.g., 6 vs. 7).
  • Setup: The 784-dimensional images were compressed to 10 dimensions using an autoencoder. The data was distributed across a simulated network of 31 to 100 agents connected via a random graph.
  • Noise: Artificial noise was added to the function queries to simulate unstable, real-world communication links.

Key Insights and Results

Theoretical Efficiency and Scalability

By requiring only one query per iteration, 1P-DSGT-NC is highly robust to time-varying stochasticity; the algorithm advances before the environment can shift. Surprisingly, while one-point estimates are theoretically "noisier" than two-point estimates, the authors prove their distributed method achieves a convergence rate of $O(K^{-1/3})$. This is notably better than the $O(K^{-1/4})$ rate often observed in centralized one-point baselines. Furthermore, the convergence bound scales well with the number of agents ($n$), bottlenecked primarily by the network's spectral gap rather than sheer size.

High Accuracy

The authors provide a rigorous proof that the gradient of the global objective function eventually vanishes ($\lim_{k \to \infty} \|\nabla F(\bar{x}_k)\| = 0$), guaranteeing convergence to a stationary point. In practice, the 1P-DSGT-NC algorithm reached 98.49% accuracy on the MNIST task.

Expected Accuracy vs Iteration

This performance is remarkably close to the First-Order baseline (DSGT-NC, 98.54%), which had the distinct, often unrealistic advantage of accessing exact gradients.

Rapid Consensus

The algorithm demonstrated surprisingly fast convergence in "consensus error"—the metric defining how much the agents disagree with one another.

Expected Consensus Error vs Iteration

As shown above, 1P-DSGT-NC actually outperformed the first-order benchmark in minimizing consensus error during the early stages of training, rapidly bringing the network into agreement.

Limitations and Future Work

While powerful, the approach has limitations:

  • Bias and Variance: One-point estimates are inherently biased and exhibit high variance. If an environment is stable enough to permit multiple queries, multi-point methods may require fewer iterations to converge.
  • Graph Topology: The current theoretical guarantees assume an undirected, connected graph. Future research could extend these proofs to directed graphs or dynamic networks where links constantly break and reform.
  • Hyperparameter Sensitivity: Real-world performance relies heavily on carefully tuning the decay rates for the two step sizes ($\eta$ and $\gamma$), which can be challenging in practice.

Summary updated

BibTeX
@inproceedings{mhanna2023single,
  author = {Elissa Mhanna and Mohamad Assaad},
  title = {{Single Point-Based Distributed Zeroth-Order Optimization with a Non-Convex Stochastic Objective Function}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=jqeMV8LrCB},
}
Figure