Introduction
In the era of big data, machine learning models are increasingly trained on datasets distributed across vast networks of agents. This decentralized approach addresses privacy concerns and the prohibitive cost of moving massive amounts of data to a central server. However, it introduces significant challenges: the need for robust communication over potentially unstable (time-varying) networks and the computational burden of handling non-smooth objective functions, such as those incorporating $L_1$ regularization for sparsity.
Traditional methods like Stochastic Gradient Descent (SGD) often rely on sampling with replacement, which can be noisy and slow to converge. This paper introduces DPG-RR (Distributed Stochastic Proximal Algorithm with Random Reshuffling), a novel framework that combines the efficiency of sampling without replacement with a proximal-gradient approach tailored for distributed, non-smooth optimization.
The DPG-RR Algorithm
The DPG-RR algorithm is built on three core pillars designed to optimize both communication and computation:
- Random Reshuffling (RR): Unlike standard SGD, DPG-RR shuffles the local dataset at the start of each epoch and processes every data point exactly once. This "sampling without replacement" strategy has been shown to provide faster convergence rates than traditional stochastic sampling.
- Sparse Proximal Evaluations: A major bottleneck in non-smooth optimization is the calculation of the proximal operator. DPG-RR significantly reduces this overhead by performing only one proximal step per epoch, rather than one per data point. For an agent with $n$ data points, this results in a nearly $n$-fold reduction in proximal computation.
- Multi-Step Consensus Mapping: To ensure all agents converge to a global solution, the algorithm employs multiple rounds of peer-to-peer communication per iteration. This design is specifically robust to time-varying undirected graphs, ensuring information flow even when network links are intermittent.
Experimental Results
The researchers evaluated DPG-RR using the a9a (income prediction) and w8a (web classification) datasets, solving logistic regression problems with $L_1$ regularization. The algorithm was compared against established baselines, including Distributed SGD (DSGD) and Gradient Tracking SAGA (GT-SAGA).
The experimental results confirm the theoretical convergence rate of $O(1/T + 1/\sqrt{T})$. As shown in the figures, DPG-RR consistently outperforms its counterparts in both reaching consensus among agents and minimizing the objective function.
Beyond iteration counts, DPG-RR demonstrated superior wall-clock efficiency. On the a9a dataset, DPG-RR reached a solution in approximately 25 seconds, whereas the deterministic Prox-G algorithm required 55 seconds and the NEXT algorithm took 80 seconds. This speedup is attributed to the reduced frequency of proximal operations and the accelerated convergence provided by random reshuffling.
Conclusion
DPG-RR presents a powerful solution for large-scale distributed optimization, particularly when dealing with non-smooth regularizers and fluctuating network topologies. By strategically reducing the frequency of proximal steps and leveraging the benefits of random reshuffling, it achieves state-of-the-art performance in both computational speed and convergence reliability. Future research will focus on extending this framework to non-convex optimization problems, potentially bringing these efficiencies to deep learning architectures.
Summary updated