A fast randomized incremental gradient method for decentralized non-convex optimization

Ran Xin, Usman A. Khan, Soummya Kar · OpenReview

Introduction

Decentralized optimization has become a cornerstone of modern machine learning, enabling model training across distributed networks of nodes—such as mobile devices or sensors—without the need for a central coordinator. However, practical implementation faces significant hurdles: the high computational cost of full-batch gradients, the stochastic noise inherent in sampling, and "client drift" caused by heterogeneous data distributions across nodes.

While variance-reduction techniques have been proposed to mitigate these issues, they often rely on complex "two-timescale" (double-loop) structures that require periodic full-batch computations and strict synchronization. This paper introduces GT-SAGA, a streamlined, single-timescale algorithm that addresses these challenges efficiently.

The GT-SAGA Framework

GT-SAGA integrates two powerful mechanisms into a unified, single-loop framework:

  1. Node-Level Variance Reduction (SAGA): Each node maintains a local gradient table. In each iteration, only one data sample is picked to update the table, providing a low-variance estimate of the local batch gradient at the cost of a single gradient evaluation.
  2. Network-Level Gradient Tracking (GT): Nodes communicate both their model states and estimates of the global average gradient. This tracking mechanism effectively cancels the bias introduced by data heterogeneity across the network.

By combining these, GT-SAGA avoids the need for periodic full-batch gradients, making it highly suitable for ad-hoc or large-scale decentralized networks.

Key Insights: Topology Independence and Linear Convergence

A significant theoretical contribution of this work is the decoupling of convergence rates from network topology in specific regimes. In the "big-data regime"—where local datasets are sufficiently large—the algorithm's performance becomes independent of the network's connectivity. This allows for a "linear speedup," where a network of $n$ nodes performs as efficiently as a centralized system.

Convergence performance of GT-SAGA across various network topologies in the big-data regime.

Furthermore, the paper provides the first proof that a decentralized variance-reduced method can achieve linear convergence on non-convex functions satisfying the Polyak-Łojasiewicz (PL) condition. This establishes GT-SAGA as a theoretically robust choice for a wide class of non-convex optimization problems.

Experimental Results

The authors evaluated GT-SAGA against standard baselines, including Decentralized SGD (DSGD) and the two-timescale GT-SARAH, across several large-scale binary classification datasets (e.g., KDD98, nomao, covertype).

Comparison of GT-SAGA against DSGD and GT-SARAH on the nomao dataset.

As shown in the figures, GT-SAGA consistently achieves faster convergence to lower stationary gaps. It requires significantly fewer total gradient evaluations than DSGD, which suffers from stochastic noise, and GT-SARAH, which is hampered by its periodic full-batch requirements. The algorithm's robustness to data heterogeneity ensures stable performance even when local data distributions vary significantly between nodes.

Conclusion and Future Directions

GT-SAGA represents a significant step forward in decentralized non-convex optimization, offering a computationally lean and theoretically sound alternative to existing methods. While it introduces a storage overhead due to the gradient table, this can be optimized for specific model classes like Generalized Linear Models. Future work may extend this framework to time-varying or directed network topologies and explore non-uniform sampling strategies to further enhance performance.

Summary updated

BibTeX
@article{xin2022fast,
  author = {Ran Xin and Usman A. Khan and Soummya Kar},
  title = {{A fast randomized incremental gradient method for decentralized non-convex optimization}},
  journal = {IEEE Trans. Automatic Control},
  year = {2022},
  url = {https://openreview.net/forum?id=S07boc8zQ6},
}
Figure