Introduction
In the era of large-scale distributed machine learning, data is often siloed across multiple nodes—such as mobile devices, sensors, or edge servers—that must collaborate to train models without a central coordinator. This paradigm, known as decentralized optimization, faces significant hurdles when the objective functions are "nasty": non-convex, non-smooth, and accessible only via zeroth-order (gradient-free) oracles.
While decentralized methods for smooth or convex functions are well-studied, the intersection of non-smoothness and non-convexity in a decentralized, gradient-free setting remains a challenging frontier. This paper introduces two novel algorithms, the Decentralized Gradient-Free Method (DGFM) and its enhanced version DGFM+, to address these complexities.
The Challenge: Non-Smoothness and Decentralization
Most existing decentralized algorithms rely on the existence of gradients to guide the optimization process. However, real-world applications often involve functions where gradients are either unavailable or undefined. This "nightmare scenario" is characterized by three main difficulties:
- Non-Convexity: The presence of many local minima and saddle points makes finding a global optimum difficult.
- Non-Smoothness: Functions with "kinks" or jumps (such as ReLU activations or $\ell_1$ penalties) where traditional gradients do not exist.
- Zeroth-Order Constraints: Scenarios where only function evaluations are possible, such as black-box adversarial attacks on proprietary AI models or complex physical simulations.
In a decentralized network, nodes must also manage "consensus error"—the divergence between local estimates of the global solution. Without stable gradient information, maintaining consensus while navigating a non-smooth landscape is both theoretically and practically demanding.
Proposed Methodology
The authors propose a framework that combines three core techniques: randomized smoothing, gradient tracking, and variance reduction.
Decentralized Gradient-Free Method (DGFM)
DGFM addresses the lack of gradients through Randomized Smoothing. By sampling function values in a small neighborhood around a point, the algorithm constructs a smooth surrogate of the original jagged function. To ensure global coordination, DGFM employs Gradient Tracking. This technique allows each node to maintain an estimate of the global average gradient by communicating with its immediate neighbors, ensuring that all nodes move in a consistent direction despite only having access to local data.
DGFM+: Incorporating Variance Reduction
To further improve efficiency, DGFM+ integrates a variance reduction technique (specifically the SPIDER framework). Zeroth-order estimates are inherently noisy; DGFM+ mitigates this by using mini-batches and periodic "large-batch" samples. This approach stabilizes the optimization trajectory and significantly improves the convergence rate. To maintain network synchronization during these complex updates, DGFM+ utilizes a multi-communication module during specific update cycles.
Convergence Metric: Goldstein Stationarity
Because the target functions are non-smooth, traditional convergence to a zero gradient is not applicable. Instead, the authors utilize $(\delta, \epsilon)$-Goldstein stationarity. This metric identifies a point where the average gradient within a $\delta$-radius neighborhood is less than $\epsilon$, providing a robust measure of convergence for non-smooth landscapes.
Theoretical and Empirical Results
The paper establishes strong theoretical guarantees for both algorithms, proving that decentralized networks can achieve the same theoretical complexity as centralized stochastic zeroth-order methods:
- DGFM achieves a complexity of $\mathcal{O}(d^{3/2}\delta^{-1}\varepsilon^{-4})$.
- DGFM+ improves this to $\mathcal{O}(d^{3/2}\delta^{-1}\varepsilon^{-3})$.
Experimental Validation
The researchers evaluated the algorithms on two distinct practical tasks:
- Non-convex SVM with Capped-$\ell_1$ Penalty: Using eight datasets from the LIBSVM library (e.g.,
a9a,HIGGS,SUSY), the experiments showed that DGFM+ consistently outperformed serial methods and the basic DGFM. It demonstrated notably faster convergence in high-dimensional, large-sample cases. - Black-box Universal Adversarial Attacks: On the
MNISTandFashion-MNISTdatasets, the proposed methods were used to find a single perturbation to trick a pre-trained LeNet model. DGFM and DGFM+ were more effective at lowering the accuracy of the target model compared to existing serial methods, proving their utility in practical security auditing.
Conclusion
DGFM and DGFM+ represent a significant step forward as the first decentralized, gradient-free algorithms capable of handling non-smooth, non-convex stochastic optimization. By bridging the gap between centralized and decentralized zeroth-order methods, this work provides a powerful toolkit for privacy-preserving and distributed machine learning in complex environments. Future research may explore extending these methods to asynchronous networks and further optimizing the dependence on dimensionality $d$.
Summary updated