Introduction
Decentralized optimization involves a network of agents, such as IoT devices or sensors, collaborating to minimize a global objective function without a central coordinator. This paradigm faces two significant practical challenges: directed communication and device asynchronicity. In many real-world scenarios, communication is asymmetric (e.g., one-way broadcasts), and requiring every node to compute gradients at every step is computationally prohibitive due to varying device availability and power constraints.
While "Push-Pull" methods have successfully addressed directed graphs using gradient tracking, they typically assume full participation in every iteration. Naive device sampling—where only a subset of nodes updates at each step—introduces noise that can destabilize convergence. This paper introduces Push–Pull with Device Sampling (PPDS), an algorithm designed to maintain linear convergence in asynchronous, directed networks by integrating network-level variance reduction.
Methodology: The PPDS Framework
PPDS is built upon three core components that allow it to handle the complexities of decentralized, asynchronous environments:
- Push–Pull Communication: To navigate directed graphs, PPDS utilizes two distinct mixing matrices. A row-stochastic matrix "pulls" decision variables toward a consensus across the network, while a column-stochastic matrix "pushes" gradient information. This dual-matrix approach ensures that the total mass of the gradients is preserved even when communication is asymmetric.
- Device Sampling: Unlike synchronous methods, PPDS allows for partial participation. At each iteration, only a random subset of active nodes computes a local gradient, significantly reducing the per-iteration computational load.
- Network-Level Variance Reduction: To counteract the noise introduced by sampling, PPDS employs a memory mechanism inspired by the SAGA algorithm. Each node stores its most recently computed gradient. When a node is inactive, the network utilizes this stored value. This "network-level" variance reduction ensures the gradient tracker provides a stable approximation of the true global gradient.
A key feature of PPDS is the decoupling of computation and communication. Inactive nodes do not compute new gradients but continue to participate in the communication mixing step, maintaining network connectivity and information flow.
Experimental Evaluation
The performance of PPDS was evaluated using both synthetic and real-world datasets:
- Synthetic Ridge Regression: Conducted on 100 devices connected via a Random Geometric Graph (RGG).
- Real-World EMNIST Logistic Regression: This task involved handwritten character recognition across 50 devices. To simulate statistical heterogeneity, data was distributed such that each worker's local dataset originated from a specific writer.
Key Insights and Results
The theoretical and empirical analysis of PPDS yielded several significant findings:
- Linear Convergence: The authors provide mathematical proof that PPDS achieves linear convergence for strongly convex and smooth functions. Notably, this holds even when the expected mixing matrices are not doubly stochastic—a major relaxation of standard assumptions in decentralized optimization.
- Computational Efficiency: Empirical results demonstrate that PPDS significantly outperforms standard Decentralized Gradient Descent (DGD) and synchronous Push-Pull. It achieves target accuracy levels with far fewer local gradient computations, making it ideal for resource-constrained environments.
- Robustness to Asynchronicity: By allowing nodes to remain communicationally active while computationally "asleep," PPDS maintains the benefits of gradient tracking without the overhead of full synchronization.
Limitations and Future Directions
While PPDS shows great promise, its current theoretical guarantees are restricted to strongly convex and smooth objectives. Extending this analysis to non-convex landscapes, common in deep learning, remains an open area for research. Additionally, while qualitative linear convergence is proven for general directed graphs, explicit rates are currently limited to simpler cases involving uniform sampling and doubly stochastic matrices.
Future work may involve integrating PPDS with local stochastic gradient descent (sampling data within nodes) and gradient compression techniques to further optimize communication efficiency in large-scale deployments.
Summary updated