Abstract
In large-scale decentralized machine learning, the computational bottleneck often lies in the "data oracle" calls—the expensive process of computing gradients from local data. This paper introduces Inexact Primal-Dual Sliding (I-PDS), a framework that decouples communication and linear optimization from these gradient computations. By employing a "sliding" mechanism, I-PDS achieves optimal gradient complexity for both convex and strongly convex problems. Notably, the framework is topology-invariant and projection-free, making it robust for real-world applications where data is constrained and network connectivity is variable.
Introduction
Decentralized optimization allows a network of workers to collaborate on training a model without ever sharing their raw data, addressing critical privacy and bandwidth concerns. However, traditional methods often require a high number of communication rounds and frequent, expensive gradient computations.
Existing "projection-free" methods like Decentralized Frank-Wolfe (DeFW) attempt to solve constrained problems but typically require exact gradients at every step and rely on the assumption that the optimal solution lies strictly inside the constraint set—an assumption that often fails in sparse recovery tasks like Lasso.
The I-PDS Framework: Decoupling Through "Sliding"
The core innovation of this work is the Inexact Primal-Dual Sliding (I-PDS) framework combined with a Conditional Gradient Sliding (CGS) subroutine. The "sliding" mechanism allows the algorithm to perform multiple communication and linear optimization (LO) steps using only a single gradient sample. This effectively "skips" the most computationally expensive part of the process when it isn't strictly necessary for convergence.
Key features of I-PDS include:
- Stochastic Oracle Support: It works with noisy gradients, the standard in modern machine learning (e.g., SGD).
- Projection-Free Operations: Instead of high-dimensional projections, it uses a Linear Optimization oracle to find the best point in a constraint set, which is significantly cheaper.
- Topology Invariance: The number of data samples required does not increase even if the network connectivity is poor (i.e., it is independent of the network's spectral gap).
Theoretical and Empirical Performance
Theoretical analysis shows that I-PDS hits the lower bounds for gradient complexity. As shown in the comparison table below, I-PDS offers significant advantages over DeFW, particularly in its ability to handle stochastic training and its invariance to network topology.
Experimental Validation
The researchers evaluated I-PDS using the ijcnn1 dataset (20,000 samples across 10 nodes) for unregularized logistic regression. The quantitative improvements were substantial:
- Gradient Efficiency: To reach a target accuracy in a convex setting, Stochastic I-PDS required only 21,200 gradient samples, whereas the baseline DeFW required 20,000,000—a nearly 1,000x reduction.
- Network Robustness: While DeFW's performance fluctuated based on graph structure (e.g., Path vs. Complete graphs), I-PDS maintained a consistent requirement of approximately 865 gradient evaluations regardless of the topology.
Conclusion
I-PDS represents a significant step forward in making decentralized machine learning practical for edge devices. By relaxing strict interior assumptions and decoupling gradient computation from communication, the framework provides a robust, efficient solution for constrained optimization. Future work may focus on improving the Linear Optimization complexity to further enhance performance in high-precision settings.
Summary updated