A Fast Randomized Incremental Gradient Method for Decentralized Nonconvex Optimization

Ran Xin, Usman A. Khan, Soummya Kar

TL;DR

This paper introduces GT-SAGA, a novel decentralized optimization algorithm that efficiently finds approximate solutions for complex, non-convex problems across a network of nodes. It achieves faster convergence and simpler implementation than existing methods, particularly in scenarios with heterogeneous data or large networks, by combining variance reduction at each node with network-wide gradient tracking.

What Problem Does This Paper Address?

Many modern applications, from distributed machine learning to control systems, involve optimizing a global objective function that is distributed across a network of nodes. Each node has its own local data, meaning the problem is a "decentralized finite-sum minimization." A key challenge is that these problems are often "non-convex," making them notoriously difficult to solve reliably. Traditional centralized methods struggle with large-scale distributed data due to communication bottlenecks and computational costs. Existing decentralized methods often require complex, multi-timescale implementations or suffer from slow convergence, especially when data is unevenly distributed across nodes or the network structure is unfavorable. This paper aims to develop a decentralized optimization method that is both computationally efficient and robust to these challenges, offering provable convergence guarantees.

Methods

The core of the paper is the GT-SAGA (Gradient Tracking - Stochastic Average Gradient) algorithm. It operates on a single timescale, simplifying implementation compared to prior two-timescale methods. GT-SAGA combines two key ideas:

  • Node-level Variance Reduction (SAGA-type): Each node maintains a local "gradient table" and uses a randomized incremental approach to estimate its local batch gradient. This technique, inspired by SAGA, reduces the variance of the gradient estimates by leveraging historical information, making it more accurate than simple stochastic gradient descent.
  • Network-level Gradient Tracking: Nodes communicate with their neighbors to maintain an estimate of the global gradient. This "gradient tracking" mechanism helps to overcome the challenges of decentralized operation and ensures that all nodes eventually agree on a good approximation of the global optimum.

The authors provide a rigorous convergence analysis for GT-SAGA under different assumptions, including general smooth non-convex functions and functions satisfying the Polyak–Łojaciewisz (PL) condition. They also introduce a novel analysis framework based on linear time-invariant (LTI) dynamics, which avoids complex Lyapunov function constructions.

Datasets

The paper uses several standard datasets for evaluating the performance of GT-SAGA in non-convex settings:

  • KDD98
  • Covertype
  • MiniBooNE
  • BNG(sonar)
  • nomao
  • a9a
  • w8a

These datasets are used to simulate non-convex binary classification problems. The authors distribute these datasets across nodes in various network topologies to test the algorithm's behavior under different conditions.

Key Insights and Ideas

  • Single-Timescale Simplicity: The most significant practical advantage of GT-SAGA is its single-timescale nature. This eliminates the need for complex synchronization steps and parameter tuning associated with two-timescale methods, making it much easier to implement, especially in dynamic or ad-hoc network environments.
  • Decoupled Heterogeneity and Network Effects: For general non-convex problems, the authors show that the convergence rate of GT-SAGA exhibits a separation between the effects of data heterogeneity across nodes and the network's connectivity. This means that in certain regimes (e.g., large local batch sizes or weakly connected networks), the algorithm's performance is less sensitive to data distribution imbalances.
  • Robustness to Heterogeneity: The numerical experiments demonstrate that GT-SAGA's convergence is not significantly affected by data heterogeneity, even in weakly connected networks, a scenario where other methods might struggle.
  • Linear Convergence Under PL Condition: For functions satisfying the Polyak–Łojaciewisz (PL) condition (a generalization of strong convexity), GT-SAGA achieves linear convergence to the global optimum. This is a significant theoretical result, as previous decentralized variance-reduced methods typically required strong convexity.
  • Network Topology-Independent Convergence: In specific "big-data" regimes (large local batch sizes), GT-SAGA achieves a convergence rate that is independent of the network topology, offering a substantial speedup compared to centralized methods.

Key Results

  • General Non-Convex Problems: GT-SAGA converges to a first-order stationary point in both almost sure and mean-squared senses. In the "big-data" regime, it achieves a network topology-independent iteration complexity, offering a linear speedup over centralized SAGA. In large-scale network regimes, it outperforms existing state-of-the-art decentralized variance-reduced methods.
  • Polyak–Łojaciewisz (PL) Condition: GT-SAGA exhibits linear convergence to an optimal solution in expectation. In the "big-data" regime, this linear rate becomes network topology-independent. This is the first linear rate result for decentralized variance-reduced methods under the PL condition without requiring strong convexity.
  • Numerical Validation: Experiments on various datasets and network topologies confirm the theoretical findings, showing GT-SAGA's fast convergence, robustness to data heterogeneity, and performance advantages in different regimes.

Limitations and Future Work

  • Storage Requirement: The paper notes that for GT-SAGA to practically implement, each node needs to retain a gradient table, which can be computationally expensive. However, they mention that for certain structured problems, this storage requirement can be significantly reduced.
  • Future Work: The authors suggest several avenues for future research, including:
  • Generalizing GT-SAGA to time-varying directed networks.
  • Extending the framework to zeroth-order gradient computation.
  • Incorporating weighted sampling techniques to potentially improve convergence rates further.

Summary updated

BibTeX
@article{xin2022fast,
  author = {Ran Xin and Usman A. Khan and Soummya Kar},
  title = {{A Fast Randomized Incremental Gradient Method for Decentralized Nonconvex Optimization}},
  journal = {IEEE Trans. Automatic Control},
  year = {2022},
  url = {https://openreview.net/forum?id=S07boc8zQ6},
}
Figure