Distributed stochastic nonsmooth nonconvex optimization

Vyacheslav KungurtsevOper. Res. Lett 2022

Introduction

In the evolving landscapes of machine learning and signal processing, optimization problems frequently encounter a "triple threat" of mathematical complexities: nonconvexity, nonsmoothness, and stochasticity. While decentralized algorithms have been developed for subsets of these challenges—such as smooth nonconvex problems or nonsmooth convex ones—the intersection of all three has remained a significant theoretical gap. This work provides the first formal convergence analysis for a decentralized stochastic subgradient method tailored for this specific class of problems.

The "Triple Threat" Challenge

Modern optimization tasks, particularly those involving deep neural networks (DNNs), are characterized by:

  1. Nonconvexity: Objective functions possess complex landscapes with numerous local minima and saddle points.
  2. Nonsmoothness: The use of ReLU activation functions or $l_1$ regularization introduces "kinks" where traditional gradients are undefined.
  3. Stochasticity and Distribution: Large-scale data often necessitates decentralized processing across a network, where agents only have access to noisy local estimates of the global objective.

Methodology: Decentralized Stochastic Subgradient Method

The proposed algorithm operates on a network of $n$ agents, modeled as an undirected, connected graph. Each agent $i$ aims to minimize a local cost function $f_i$, contributing to a global objective $F = \sum f_i$.

At each iteration, agents perform two primary operations:

  • Consensus Step: Agents average their current solution estimates with their immediate neighbors to maintain network-wide agreement.
  • Innovation Step: Agents update their estimates by moving in the direction of a "noisy subgradient"—a stochastic approximation of the local descent direction.

Theoretical Framework: Differential Inclusions

To analyze convergence in the absence of traditional gradients, the study employs the theory of Differential Inclusions (DI). By treating the discrete-time algorithm as an approximation of a continuous-time dynamical system, the analysis shows that the "velocity" of the system is a set of possible subgradients. A key assumption is that local functions are "max-of-smooth," a property shared by most practical nonsmooth components in AI, such as max-pooling and ReLU layers.

Numerical Results and Validation

The algorithm was validated using the MNIST dataset on a simulated network of 50 agents with 50% connectivity. The architecture utilized a two-layer neural network with ReLU activations and $l_1$ regularization.

Numerical results showing the evolution of consensus error, gradient norm, and objective value over 4,000 iterations.

As illustrated in the experimental results, the network successfully minimizes the global objective despite the lack of a central coordinator. The consensus error—measuring the disagreement between agents—drops rapidly toward zero, indicating that the averaging mechanism effectively stabilizes the network. Simultaneously, both the objective value and the gradient norm exhibit a steady decline, confirming convergence to a stationary point.

Conclusion and Future Work

This research provides a theoretical safety net for distributed training of DNNs. While the current analysis is limited to fixed, undirected graphs and exhibits relatively slow convergence due to diminishing step sizes, it establishes a foundational proof of stability for nonsmooth, nonconvex decentralized optimization. Future research may explore accelerated techniques like Nesterov momentum or extend the framework to directed and time-varying network topologies.

Summary updated

BibTeX
@article{kungurtsev2022distributed,
  author = {Vyacheslav Kungurtsev},
  title = {{Distributed stochastic nonsmooth nonconvex optimization}},
  journal = {Oper. Res. Lett.},
  year = {2022},
  doi = {10.1016/j.orl.2022.09.001},
}
Figure