Decentralized Gradient-Free Methods for Stochastic Non-smooth Non-convex Optimization

Zhenwei Lin, Jingfan Xia, Qi Deng, Luo Luo

Abstract

We consider decentralized gradient-free optimization of minimizing Lipschitz continuous functions that satisfy neither smoothness nor convexity assumption. We propose two novel gradient-free algorithms, the Decentralized Gradient-Free Method (DGFM) and its variant, the Decentralized Gradient-Free Method+ (DGFM+). Based on the techniques of randomized smoothing and gradient tracking, DGFM requires the computation of the zeroth-order oracle of a single sample in each iteration, making it less demanding in terms of computational resources for individual computing nodes. Theoretically, DGFM achieves a complexity of $O(d^{3/2}\delta^{-1}\epsilon^{-4})$ for obtaining a $(\delta,\epsilon)$-Goldstein stationary point. DGFM+, an advanced version of DGFM, incorporates variance reduction to further improve the convergence behavior. It samples a mini-batch at each iteration and periodically draws a larger batch of data, which improves the complexity to $O(d^{3/2}\delta^{-1}\epsilon^{-3})$. Moreover, experimental results underscore the empirical advantages of our proposed algorithms when applied to real-world datasets.

Introduction

In modern machine learning, data is frequently distributed across multiple devices to preserve privacy or handle massive scale. Optimizing these decentralized systems is inherently difficult, but the challenge intensifies when the objective function is both non-convex and non-smooth. Furthermore, in many practical scenarios—such as sensor networks or black-box adversarial attacks—gradients are unavailable, and we must rely solely on zeroth-order information (function evaluations).

This paper addresses this "quadruple threat" by introducing the first decentralized, gradient-free algorithms capable of handling general non-smooth, non-convex functions. By combining randomized smoothing with gradient tracking and variance reduction, the authors establish state-of-the-art complexity bounds for finding stationary points without derivative calculations.

Proposed Methodology

The authors introduce two primary methods to navigate the complex optimization landscape of non-smooth, non-convex functions in a decentralized setting.

1. Decentralized Gradient-Free Method (DGFM)

DGFM employs Randomized Smoothing to transform a non-smooth problem into a smooth surrogate by sampling function values in a local neighborhood. To maintain consensus across the network without a central server, it uses Gradient Tracking, where nodes communicate to estimate the global average gradient. This allows individual nodes to converge toward a common solution despite noisy zeroth-order estimates.

2. Decentralized Gradient-Free Method+ (DGFM+)

DGFM+ is an enhanced version that integrates SPIDER, a stochastic recursive variance reduction technique. By periodically utilizing a large "mega-batch" of data and smaller mini-batches at each step, DGFM+ significantly reduces the noise inherent in stochastic sampling. It also includes a multi-communication module to ensure communication efficiency.

Theoretical Complexity

The success of these algorithms is measured by their ability to find a $(\delta, \epsilon)$-Goldstein stationary point, which indicates a point where the average gradient in a small neighborhood is nearly zero.

  • DGFM achieves a complexity of $O(d^{3/2} \delta^{-1} \epsilon^{-4})$, matching the best-known rates for centralized versions of this problem.
  • DGFM+ improves this to $O(d^{3/2} \delta^{-1} \epsilon^{-3})$ through its variance reduction mechanism.

Experimental Evaluation

The researchers evaluated DGFM and DGFM+ on two primary tasks: non-convex SVM and black-box adversarial attacks.

Non-convex SVM Performance

Testing on eight standard LIBSVM datasets (including HIGGS, rcv, and covtype) demonstrated that DGFM+ consistently outperforms its centralized counterpart (GFM+) and other baseline methods. This suggests that distributing the computational workload across nodes leads to faster convergence in terms of total function calls.

Convergence performance of DGFM and DGFM+ on eight LIBSVM datasets for non-convex SVM.

Black-box Adversarial Attacks

In adversarial attack scenarios on the LeNet model using MNIST and Fashion-MNIST datasets, DGFM+ achieved the lowest model accuracy (indicating the most effective attack) while maintaining a smoother convergence curve compared to baseline methods.

Training and test performance for black-box adversarial attacks on MNIST and Fashion-MNIST.

Conclusion and Future Work

This work presents a significant advancement in decentralized optimization by providing robust, gradient-free methods for non-smooth and non-convex problems. While DGFM and DGFM+ show strong theoretical and empirical results, future research could focus on reducing hyperparameter sensitivity and exploring performance on extremely high-dimensional neural network architectures where the "curse of dimensionality" is more pronounced.

Summary updated

BibTeX
@inproceedings{lin2024decentralized,
  author = {Zhenwei Lin and Jingfan Xia and Qi Deng and Luo Luo},
  title = {{Decentralized Gradient-Free Methods for Stochastic Non-smooth Non-convex Optimization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=LheJnrwZIJ},
}
Figure