Variance-Reduced Decentralized Stochastic Optimization With Accelerated Convergence

Ran Xin, Usman A. Khan, Soummya KarIEEE TSP 2019 · DOI

Introduction

In the era of massive-scale machine learning, datasets are frequently too large to be processed on a single machine or are distributed across various locations due to privacy constraints. Decentralized optimization has emerged as a critical paradigm, allowing a network of nodes to collaboratively solve a global optimization problem without a central coordinator.

The standard approach, Decentralized Stochastic Gradient Descent (DSGD), involves nodes performing local updates and sharing information with immediate neighbors. However, DSGD is hindered by two primary challenges: inner noise from stochastic sampling and data heterogeneity (non-IID data) across nodes. These factors often lead to a steady-state error or require a diminishing learning rate that significantly slows convergence. This paper introduces the GT-VR framework to overcome these limitations, achieving fast, linear convergence and a near-perfect linear speedup.

The GT-VR Framework

The proposed framework, Gradient Tracking - Variance Reduction (GT-VR), integrates two sophisticated mechanisms to ensure robust performance in decentralized settings:

  1. Local Variance Reduction: To mitigate the noise inherent in stochastic mini-batch sampling, each node employs variance reduction techniques such as SAGA or SVRG. These methods allow nodes to maintain an accurate estimate of their local batch gradient, effectively "cleaning" the stochastic noise over time.
  2. Global Gradient Tracking: To address data heterogeneity, the framework utilizes a dynamic consensus mechanism known as gradient tracking. This ensures that every node moves toward the global optimum rather than just its local one, neutralizing the bias introduced by dissimilar datasets across the network.

Two specific algorithms are derived from this framework: GT-SAGA, which is faster but requires more memory to store previous gradients, and GT-SVRG, which is more memory-efficient but involves periodic full-gradient computations.

Key Insights: Topology and Speedup

A significant contribution of this work is the analysis of these algorithms in the "big data" regime. When the number of local samples per node is large, the convergence rate becomes largely independent of the network topology. Furthermore, the framework demonstrates a linear speedup: as the number of nodes increases, the computation time required per node to reach a target accuracy decreases proportionally.

Figure 1: Performance of GT-SAGA and GT-SVRG across different network topologies and the demonstration of linear speedup as the number of nodes increases.

As shown in the figure above, the optimality gap for both algorithms remains consistent across directed ring, exponential, and complete graphs. Additionally, the speedup plot confirms that the framework scales efficiently, making it ideal for large-scale distributed systems.

Experimental Results

The algorithms were evaluated on several standard benchmarks, including Fashion-MNIST, Higgs, and a9a, using regularized logistic regression models. The experiments compared GT-SAGA and GT-SVRG against state-of-the-art baselines like DSGD, DSA, and DAVRG.

Figure 4: Comparison of optimality gap and test accuracy across Fashion-MNIST, Higgs, and a9a datasets, showing the superior convergence of GT-VR methods.

The results indicate that GT-SAGA and GT-SVRG consistently achieve a linear convergence rate, reaching an optimality gap as low as $10^{-14}$ while baseline methods often plateau much earlier. In terms of test accuracy, the proposed methods reach peak performance significantly faster than standard DSGD variants, demonstrating their practical utility for real-world machine learning tasks.

Conclusion and Future Work

The GT-VR framework provides a robust solution for decentralized optimization, effectively handling both stochastic noise and data heterogeneity. By achieving linear convergence and linear speedup, GT-SAGA and GT-SVRG set a new standard for performance in large-scale distributed learning.

Future research directions include extending these theoretical guarantees to non-convex problems common in deep learning, addressing potential synchronization bottlenecks in GT-SVRG caused by "straggler" nodes, and developing communication-efficient variants that reduce the frequency of data exchange between nodes.

Summary updated

BibTeX
@article{xin2019variance,
  author = {Ran Xin and Usman A. Khan and Soummya Kar},
  title = {{Variance-Reduced Decentralized Stochastic Optimization With Accelerated Convergence}},
  journal = {IEEE Trans. Signal Process.},
  year = {2019},
  doi = {10.1109/tsp.2020.3031071},
}
Figure