[Paper Review] Parallel Restarted SPIDER -- Communication Efficient Distributed Nonconvex Optimization with Optimal Computation Complexity
This paper proposes PR-SPIDER, a communication-efficient distributed nonconvex optimization algorithm that integrates variance reduction via the SPIDER gradient estimator into a parallel-restarted SGD framework. It achieves optimal $O( ilde{ ho}^{-1})$ communication complexity and optimal $O( ilde{ ho}^{-1})$ computation complexity for both finite-sum and online settings, significantly improving upon prior $O( ilde{ ho}^{-2})$ IFO complexity while maintaining linear speedup and supporting non-i.i.d. data distributions.
In this paper, we propose a distributed algorithm for stochastic smooth, non-convex optimization. We assume a worker-server architecture where $N$ nodes, each having $n$ (potentially infinite) number of samples, collaborate with the help of a central server to perform the optimization task. The global objective is to minimize the average of local cost functions available at individual nodes. The proposed approach is a non-trivial extension of the popular parallel-restarted SGD algorithm, incorporating the optimal variance-reduction based SPIDER gradient estimator into it. We prove convergence of our algorithm to a first-order stationary solution. The proposed approach achieves the best known communication complexity $O(ε^{-1})$ along with the optimal computation complexity. For finite-sum problems (finite $n$), we achieve the optimal computation (IFO) complexity $O(\sqrt{Nn}ε^{-1})$. For online problems ($n$ unknown or infinite), we achieve the optimal IFO complexity $O(ε^{-3/2})$. In both the cases, we maintain the linear speedup achieved by existing methods. This is a massive improvement over the $O(ε^{-2})$ IFO complexity of the existing approaches. Additionally, our algorithm is general enough to allow non-identical distributions of data across workers, as in the recently proposed federated learning paradigm.
Motivation & Objective
- To address the high communication and computation costs in distributed nonconvex optimization under large-scale, decentralized data.
- To develop a scalable algorithm that maintains linear speedup while achieving optimal convergence complexity.
- To support non-identical data distributions across workers, enabling applicability to federated learning settings.
- To reduce the iteration complexity (IFO complexity) for both finite-sum and online nonconvex problems to optimal rates.
Proposed method
- The algorithm extends parallel-restarted SGD by incorporating the SPIDER gradient estimator for variance reduction in distributed settings.
- Each worker computes local SPIDER gradients using mini-batches, and the server aggregates iterates and gradients at the end of each epoch.
- The method uses a restart mechanism where the algorithm restarts with a new initial point after every $m$ iterations to improve convergence.
- Communication occurs once per epoch, minimizing communication rounds while maintaining gradient accuracy through variance reduction.
- The algorithm handles both finite-sum and online problems by adjusting batch sizes and gradient estimators accordingly.
- It supports non-i.i.d. data distributions by allowing each worker to maintain its own local function and gradient estimator.
Experimental results
Research questions
- RQ1Can a distributed nonconvex optimization algorithm achieve optimal communication complexity $O( ilde{ ho}^{-1})$ while maintaining optimal computation complexity?
- RQ2Can the algorithm achieve $O( ilde{ ho}^{-1})$ IFO complexity for both finite-sum and online nonconvex problems?
- RQ3Does the algorithm maintain linear speedup across workers despite non-i.i.d. data distributions?
- RQ4Can variance reduction via SPIDER be effectively extended to a distributed, restarted framework for nonconvex optimization?
Key findings
- The proposed PR-SPIDER algorithm achieves optimal communication complexity of $O( ilde{ ho}^{-1})$ for both finite-sum and online problems.
- For finite-sum problems, the IFO complexity is $O\left(\frac{\sqrt{Nn}}{\epsilon}\right)$, which is optimal and represents a significant improvement over the prior $O(\tilde{\rho}^{-2})$ complexity.
- For online problems, the IFO complexity is $O\left(\frac{\sigma}{\epsilon^{3/2}} + \frac{\sigma^2}{\epsilon}\right)$, which is optimal and a major improvement over the previous $O(\tilde{\rho}^{-2})$ rate.
- The algorithm maintains linear speedup across $N$ workers, ensuring that the convergence rate scales favorably with the number of workers.
- The method is robust to non-i.i.d. data distributions, making it suitable for federated learning and other decentralized learning settings.
- Theoretical analysis confirms convergence to an $\epsilon$-first-order stationary point under standard smoothness and bounded variance assumptions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.