An Online Optimization Perspective on First-Order and Zero-Order Decentralized Nonsmooth Nonconvex Stochastic Optimization

Emre Sahinoglu, Shahin Shahrampour

Introduction

This paper introduces ME-DOL (Multi Epoch Decentralized Online Learning), a novel algorithm that provides the first-ever finite-time convergence guarantees for decentralized, nonsmooth, and nonconvex stochastic optimization. By cleverly bridging the gap between online learning and nonconvex landscapes, the authors achieve an optimal sample complexity of $O(\delta^{-1}\epsilon^{-3})$, matching the performance of centralized systems in both first-order and zero-order settings.

The Challenge of Nonsmooth Nonconvexity

In modern machine learning, we frequently need to minimize a "global" loss function distributed across a network of agents (such as mobile devices or edge servers). Ideally, these functions would be "smooth" (differentiable) and "convex" (bowl-shaped). However, real-world applications—such as training neural networks with ReLU activations or robust phase retrieval—are frequently nonsmooth and nonconvex.

While solid theoretical guarantees exist for decentralized optimization when functions are smooth, the nonsmooth nonconvex territory has remained largely uncharted. Specifically, finding an exact "$\epsilon$-stationary point" (a point where the gradient is near zero) is mathematically impossible in finite time for nonsmooth functions. Researchers instead use a more tractable criterion called $(\delta, \epsilon)$-stationarity, which looks for a small gradient within a neighborhood of radius $\delta$.

Prior to this work, there were no finite-time guarantees for this class of problems in a decentralized setting without relying on restrictive assumptions like "weak convexity."

The ME-DOL Algorithm

The authors propose the Multi Epoch Decentralized Online Learning (ME-DOL) algorithm. Its architecture relies on three key pillars:

  1. Online-to-Nonconvex Conversion: The algorithm treats the nonconvex optimization task as a series of "epochs." In each epoch, it runs a decentralized online learning sub-routine. By bounding the "regret" of this online process, the authors can guarantee progress toward a stationary point of the global nonconvex function.
  2. Randomized Smoothing (RS): To handle nonsmoothness, the algorithm does not optimize the original function directly. Instead, it optimizes a "smoothed" surrogate created by adding a small amount of random noise to the inputs.
  3. Goldstein Subdifferentials: The analysis uses the concept of Goldstein subdifferentials to define stationarity. A key technical contribution is leveraging a "Geometric Lemma" to efficiently link the stationarity of the smoothed surrogate back to the original nonsmooth function.

The algorithm is versatile, supporting both First-Order Oracles (where agents can compute gradients) and Zero-Order Oracles (where agents can only evaluate the function value, common in "black-box" optimization).

Key Insights and Results

By restarting the online learning process at the beginning of each epoch, ME-DOL prevents the local variables of different agents from drifting too far apart—a common failure mode in decentralized systems.

Comparison of sample complexities for decentralized nonsmooth nonconvex optimization.

As highlighted in the complexity comparison above, ME-DOL achieves several theoretical milestones:

  • Matching the Gold Standard: The sample complexity of $O(\delta^{-1}\epsilon^{-3})$ for first-order oracles matches the best-known rates for centralized optimization. This proves that decentralization over a network does not inherently degrade sample efficiency for these complex landscapes.
  • Optimal Complexity without Variance Reduction: Remarkably, ME-DOL achieves these rates without needing "variance reduction" techniques, which are typically mathematically heavy and computationally expensive to implement in decentralized networks.
  • Dimension Efficiency: In the zero-order (gradient-free) setting, the algorithm achieves a dependence on the dimension $d$ that is $O(d)$. This is a significant improvement over previous decentralized methods (like DGFM) that scaled with $O(d^{1.5})$.

Empirical Validation

The authors validated ME-DOL using a nonconvex penalized Support Vector Machine (SVM) model with a capped-$\ell_1$ regularizer. They tested the algorithm on several standard machine learning benchmarks:

  • For Gradient Decay Analysis: ijcnn, rcv, and SUSY.
  • For Classification Accuracy: a9a, HIGGS, and covtype.

In head-to-head tests across these datasets, ME-DOL consistently outperformed existing baselines like DGFM (for zero-order) and DPSGD (for first-order) in terms of classification accuracy. The experiments also confirmed that better network connectivity (represented by a smaller spectral value $\rho$) leads to faster convergence.

Limitations and Future Directions

While the convergence rate is optimal, the constant factors in the complexity depend on the network connectivity as $(1-\rho)^{-2}$. The authors note that finding the strictly "optimal" dependence on network parameters for nonsmooth problems remains an open theoretical question. Furthermore, the current results are bounded "in expectation" (describing average behavior); future work could focus on "high-probability" bounds to guarantee performance in every single run, or extend these insights to purely deterministic nonsmooth optimization.

Summary updated

BibTeX
@inproceedings{sahinoglu2024online,
  author = {Emre Sahinoglu and Shahin Shahrampour},
  title = {{An Online Optimization Perspective on First-Order and Zero-Order Decentralized Nonsmooth Nonconvex Stochastic Optimization}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=PSzyBN7LIA},
}
Figure