Derivative-Free Method For Decentralized Distributed Non-Smooth Optimization

Aleksandr Beznosikov, Eduard Gorbunov, Alexander GasnikovarXiv 2019

Abstract

In this paper, we propose a new derivative-free method which is based on the Sliding Algorithm from Lan (2016, 2019) for the convex composite optimization problem that includes two terms: a smooth one and a non-smooth one. We prove the convergence rate for the new method matches the corresponding rate for the first-order method up to a factor proportional to the dimension of the space. We apply this method to decentralized distributed optimization and prove the bounds for the number of communication rounds for this method match the lower bounds. We prove the bound for the number of zeroth-order oracle calls per node matches the similar state-of-the-art bound for the first-order decentralized distributed optimization up to a factor proportional to the dimension of the space.

Introduction

Optimization serves as the core engine for machine learning, but obtaining gradients—the "map" for optimization—is not always feasible. In many real-world scenarios, objectives are structured as composite functions: a sum of a smooth component (e.g., a loss function) and a non-smooth component (e.g., a regularizer). While gradients might be available for the smooth part, the non-smooth part may only provide function values through a "zeroth-order oracle."

This challenge is compounded in decentralized distributed optimization, where data is spread across a network of nodes. Privacy and bandwidth constraints often prevent moving data to a central server, requiring nodes to collaborate by communicating only with immediate neighbors. The goal is to minimize expensive communication rounds while navigating the lack of gradients for part of the objective. This paper introduces the Zeroth-Order Sliding Algorithm (zoSA) to address these constraints.

The Zeroth-Order Sliding Algorithm (zoSA)

The proposed zoSA is based on the "Gradient Sliding" technique, which decouples the number of gradient evaluations of the smooth part from the number of proximal subproblem solves for the non-smooth part. This allows the algorithm to "slide" over the smooth component, reducing unnecessary computations.

zoSA utilizes a mixed oracle approach:

  1. First-Order for Smooth: It uses actual gradients for the smooth term $g(x)$.
  2. Zeroth-Order for Non-Smooth: For the non-smooth term $f(x)$, it approximates gradients using a stochastic finite-difference approach. It samples a random direction, evaluates the function at two nearby points, and uses the difference to estimate the gradient.

For strongly convex problems, the authors introduce a multi-phase version, M-zoSA, which employs a restart technique to accelerate convergence toward the optimal solution.

Algorithm 2: The Multi-phase Zeroth-Order Sliding Algorithm (M-zoSA) for strongly convex problems.

Experimental Evaluation

The researchers evaluated zoSA on standard machine learning datasets from the LIBSVM library, including Mushrooms (8,124 instances), a5a (6,414 instances), and german.numer (1,000 instances).

To test decentralized performance, they used synthetic data for geometric median problems across four distinct network topologies: star, complete graph, chain, and cycle. These tests measured how the algorithm's efficiency scales with different levels of network connectivity.

Key Results and Insights

The study yields several critical insights into the behavior of derivative-free composite optimization:

  • Bridging the Oracle Gap: zoSA is the first method to use this specific mixed-oracle setup for composite optimization, proving that gradients for the entire objective are not required to reach near-optimal performance.
  • Dimension is the Price: The convergence rate matches first-order methods but is scaled by the dimension $n$ of the problem space. This is a fundamental trade-off in derivative-free optimization; while some geometries allow for polylogarithmic scaling, linear dependence is standard in Euclidean space.
  • Communication Efficiency: In decentralized settings, zoSA's communication complexity matches the known lower bounds for first-order methods. This indicates that using function values instead of gradients for the non-smooth part does not inherently increase the required network communication.
  • Empirical Superiority: In distributed geometric median tests, zoSA consistently outperformed standard Gradient Descent (GD) and purely zeroth-order GD (zoGD) in terms of the communication rounds needed to reach a target accuracy across all tested topologies.
Performance comparison of zoSA, GD, and zoGD on the distributed geometric median problem. zoSA (green diamonds) demonstrates superior convergence efficiency in communication rounds across various network topologies.

Conclusion and Future Work

zoSA provides a robust framework for decentralized non-smooth optimization when gradient information is partially missing. By matching the communication efficiency of first-order methods, it offers a practical solution for privacy-sensitive or resource-constrained distributed networks.

Future research directions include addressing the linear dependence on dimension $n$ for high-dimensional problems, developing a fully derivative-free version for both smooth and non-smooth components, and extending the theoretical analysis to unbounded domains.

Summary updated

BibTeX
@misc{beznosikov2019derivative,
  author = {Aleksandr Beznosikov and Eduard Gorbunov and Alexander Gasnikov},
  title = {{Derivative-Free Method For Decentralized Distributed Non-Smooth Optimization}},
  year = {2019},
  eprint = {1911.10645},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.10645},
}
Figure