Abstract: This paper considers a distributed stochastic strongly convex optimization, where agents connected over a network aim to cooperatively minimize the average of all agents' local cost functions. Due to the stochasticity of gradient estimation and distributedness of local objective, fast linearly convergent distributed algorithms have not been achieved yet. This work proposes a novel distributed stochastic gradient tracking algorithm with variance reduction, where the local gradients are estimated by an increasing batch-size of sampled gradients. With an undirected connected communication graph and a geometrically increasing batch-size, the iterates are shown to converge in mean to the optimal solution at a geometric rate (achieving linear convergence). The iteration, communication, and oracle complexity for obtaining an $\epsilon$-optimal solution are established as well. Particularly, the communication complexity is $\mathcal{O}(\ln (1/\epsilon))$ while the oracle complexity (number of sampled gradients) is $\mathcal{O}(1/\epsilon^2)$, which is of the same order as that of centralized approaches. Hence, the proposed scheme is communication-efficient without requiring extra sampled gradients. Numerical simulations are given to demonstrate the theoretic results.
Introduction
In distributed optimization, a network of agents (such as sensors, mobile devices, or robots) works together to minimize a global cost function. Each agent only possesses knowledge of its own local cost function and can only communicate with its immediate neighbors.
When gradients are "stochastic"—meaning they are noisy estimates, a common scenario in machine learning and sensor networks—traditional distributed algorithms face significant hurdles. They typically converge sub-linearly or reach a "noise floor" where they stop approaching the solution. Achieving linear convergence, where the error drops at a consistent geometric rate, has been a major challenge in distributed stochastic settings. This paper addresses this gap for strongly convex problems.
Methodology: The D-VSS-SGT Algorithm
The authors propose the Distributed Variable Sample-size Stochastic Gradient Tracking (D-VSS-SGT) algorithm, which rests on two primary mechanisms:
- Gradient Tracking: Each agent maintains an auxiliary variable to track the average gradient of the entire network. This mechanism ensures that agents move toward the global optimum even when their local data significantly differs from the network average.
- Adaptive Variance Reduction: Rather than using a single sample to estimate a gradient, agents utilize a batch of samples. Crucially, the size of this batch, $N(k)$, increases geometrically over time ($N(k) = \lceil q^{-2k} \rceil$). By increasing the sample size as the algorithm progresses, the noise in the gradient estimate is suppressed at a rate that allows for the use of a constant stepsize.
While standard algorithms often rely on a decaying stepsize to manage noise—which inherently slows convergence—the constant stepsize enabled by increasing batch sizes allows D-VSS-SGT to maintain high speed throughout the optimization process.
Key Results and Insights
Linear Convergence and Accuracy
Theoretical proofs and numerical simulations confirm that the error decreases geometrically, appearing as a straight downward line on a log-scale plot. This confirms the achievement of linear convergence in a stochastic distributed setting.
In comparative simulations, D-VSS-SGT demonstrates superior accuracy. While standard benchmarks like Distributed Stochastic Gradient Descent (D-SGD) and standard Distributed Gradient Tracking (D-SGT) plateau due to gradient noise, D-VSS-SGT continues to converge toward the true parameter.
Complexity and Efficiency
- Matching Centralized Efficiency: The "oracle complexity" (total samples needed for accuracy $\epsilon$) is $\mathcal{O}(1/\epsilon^2)$, matching centralized stochastic methods. This indicates no data-usage penalty for the distributed nature of the algorithm.
- Communication Efficiency: Because of linear convergence, the communication rounds required are only logarithmic relative to the desired precision ($\mathcal{O}(\ln(1/\epsilon))$). This is a significant advantage in systems where communication is more costly than local computation.
Conclusion and Future Work
While D-VSS-SGT marks a milestone in distributed optimization, several avenues for future research remain. The current framework requires strong convexity, leaving the adaptation to non-convex problems (like deep learning) as an open question. Additionally, the algorithm assumes synchronous updates and identical stepsizes across all agents. Future work may explore asynchronous updates, time-varying network topologies, and uncoordinated stepsizes to enhance the algorithm's robustness in diverse real-world environments.
Summary updated