Distributed Zeroth Order Optimization Over Random Networks: A\n Kiefer-Wolfowitz Stochastic Approximation Approach

Dušan Jakovetić, Dragana Bajović, Anit Kumar Sahu, Soummya KararXiv 2018 · DOI · arXiv

Introduction

In the realm of distributed optimization, the standard paradigm involves a network of $N$ nodes collaborating to minimize a global cost function—typically the sum of their local costs. Most existing literature assumes that nodes have access to first-order information (gradients) or second-order information (Hessians) and that the underlying communication network is either static or changes deterministically. However, real-world deployments often face two significant hurdles: the unavailability of gradients and the inherent unreliability of wireless communication.

This paper addresses these challenges by proposing a distributed zeroth-order optimization method designed specifically for randomly varying networks. By leveraging a Kiefer-Wolfowitz stochastic approximation (KWSA) framework, the authors demonstrate that it is possible to achieve convergence rates comparable to centralized systems, even when nodes are "blind" to gradients and communication links are intermittent.

The Problem: Optimization Under Uncertainty

The authors focus on scenarios where:

  1. Zeroth-Order Access: Nodes can only observe noisy estimates of their local function values. This is common in "black-box" systems where the underlying mathematical model is too complex to differentiate or when only output measurements are available.
  2. Random Networks: The communication topology is not fixed. Instead, it varies according to an independent, identically distributed (i.i.d.) process. This accurately models environments like the Internet of Things (IoT) or industrial sensor networks where links frequently drop due to interference or mobility.

The Distributed Kiefer-Wolfowitz Algorithm

To solve this, the paper introduces a Distributed KWSA method. At each iteration $k$, every node performs two primary operations:

1. Consensus Step

Nodes communicate with their currently available neighbors to compute a weighted average of their local estimates. This step ensures that information propagates through the network. Because the network is random, the neighborhood of a node changes at every step, requiring the algorithm to be robust to frequent topology shifts.

2. Innovation (Zeroth-Order) Step

Since gradients are unavailable, nodes estimate them using a finite-difference approach. Each node queries its local function at two points—perturbed by a small value $c_k$—and uses the difference between these noisy observations to approximate the local gradient.

The success of the algorithm hinges on the careful decay of three parameters:

  • $\alpha_k$ (Step Size): Controls the magnitude of the update.
  • $c_k$ (Finite-Difference Parameter): Determines the distance between query points for gradient estimation.
  • $\beta_k$ (Consensus Weight): Balances the influence of neighboring nodes.

Key Insights and Theoretical Results

The most significant theoretical contribution is the proof that this distributed method achieves a mean square convergence rate of $O(1/k^{1/2})$. This matches the rate of a centralized Kiefer-Wolfowitz optimizer that has access to all data simultaneously.

Bias-Variance Trade-off

Zeroth-order methods introduce a specific type of bias because they only approximate the gradient. The authors show that by setting the decay rates for consensus ($\tau = 1/2$) and the finite-difference step ($\delta = 1/4$), they can effectively manage the trade-off between this approximation bias and the variance introduced by both the noisy function measurements and the random network links.

Robustness to Network Failure

The research demonstrates that the "noise" from a random network does not slow down the fundamental convergence rate, provided the network remains connected on average. While high link failure rates might increase the error constant (making the absolute error higher at a specific iteration), the speed at which the error decays remains $O(1/k^{1/2})$.

Experimental Validation

The authors validated their approach using a synthetic $\ell_2$-regularized logistic regression problem on a network of 10 nodes. They tested the algorithm against varying levels of link failure ($p_{fail} = 0, 0.5, 0.7$). Even in the most extreme case—where links failed 70% of the time—the algorithm converged at the predicted rate, performing nearly as well as a centralized stochastic gradient descent (SGD) benchmark.

Conclusion and Future Work

This work bridges the gap between zeroth-order optimization and distributed learning over unreliable networks. It proves that decentralized "black-box" optimization is not only feasible but can be as efficient as centralized approaches.

Future research directions include extending the framework to handle non-convex landscapes common in deep learning, adapting the algorithm for asynchronous updates in massive IoT deployments, and exploring bias-reduction techniques like the "twicing trick" to further improve finite-time performance.

Summary updated

Abstract

We study a standard distributed optimization framework where $N$ networked\nnodes collaboratively minimize the sum of their local convex costs. The main\nbody of existing work considers the described problem when the underling\nnetwork is either static or deterministically varying, and the distributed\noptimization algorithm is of first or second order, i.e., it involves the local\ncosts' gradients and possibly the local Hessians. In this paper, we consider\nthe currently understudied but highly relevant scenarios when: 1) only noisy\nfunction values' estimates are available (no gradients nor Hessians can be\nevaluated); and 2) the underlying network is randomly varying (according to an\nindependent, identically distributed process). For the described random\nnetworks-zeroth order optimization setting, we develop a distributed stochastic\napproximation method of the Kiefer-Wolfowitz type. Furthermore, under standard\nsmoothness and strong convexity assumptions on the local costs, we establish\nthe $O(1/k^{1/2})$ mean square convergence rate for the method -- the rate that\nmatches that of the method's centralized counterpart under equivalent\nconditions.\n
BibTeX
@misc{jakovetic2018distributed,
  author = {Dušan Jakovetić and Dragana Bajović and Anit Kumar Sahu and Soummya Kar},
  title = {{Distributed Zeroth Order Optimization Over Random Networks: A\textbackslash\{\}n Kiefer-Wolfowitz Stochastic Approximation Approach}},
  year = {2018},
  eprint = {1803.07844},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.07844},
}
Figure