Communication-Efficient Variance-Reduced Decentralized Stochastic Optimization Over Time-Varying Directed Graphs

Yiyue Chen, Abolfazl Hashemi, Haris Vikalo · DOI

In the world of large-scale machine learning, "decentralized" is the name of the game. Instead of one giant supercomputer, we often have a swarm of devices—phones, sensors, or edge servers—collaboratively training a model. But real-world networks are messy: connections are often one-way (directed) and flicker in and out over time (time-varying).

A recent paper by Yiyue Chen, Abolfazl Hashemi, and Haris Vikalo introduces Di-CS-SVRG, a new algorithm designed to handle these exact headaches while keeping communication costs low and convergence speeds high.

TL;DR

The authors present the first decentralized optimization framework that combines communication sparsification, variance reduction, and gradient tracking for time-varying directed graphs. Their algorithm, Di-CS-SVRG, achieves a provably linear convergence rate for strongly convex problems, significantly reducing both the computational and communication overhead compared to existing methods.

What Problem Does This Paper Address?

Decentralized optimization aims to minimize a global objective function that is the sum of local functions stored across $n$ nodes. While many algorithms exist for this, they often fall short in realistic scenarios:

  1. Network Topology: Most assume undirected, static graphs. In reality, links are often uni-directional and dynamic.
  2. Communication Bottlenecks: Modern models have millions of parameters. Sending full vectors between nodes every iteration is prohibitively expensive.
  3. Stochastic Noise: Using small batches of data (stochastic gradients) saves computation but introduces noise that slows down convergence.

Existing "variance-reduced" methods were mostly limited to static, undirected networks. This paper fills that gap, tackling the "triple threat" of directed links, time-varying connectivity, and the need for communication efficiency.

Methods

The authors propose Di-CS-SVRG (Directed Communication-Sparsified Stochastic Variance-Reduced Gradient Descent). It integrates three key components:

  • Sparsification: To save bandwidth, nodes don't send their entire parameter vector. Instead, they use a sparsification operator $Q(\cdot)$ to send only a subset of components.
  • Gradient Tracking: This technique uses auxiliary variables to track the global gradient across the network. It allows the algorithm to use a fixed step size, which is the secret sauce for achieving fast, linear convergence rather than the typical sublinear "crawl" of standard SGD.
  • Variance Reduction (SVRG): By periodically computing a full local gradient and using it to "correct" stochastic estimates in an inner loop, the algorithm cancels out the noise inherent in sampling small data subsets.
  • Re-normalized Mixing: Because sparsification effectively "breaks" the stochasticity of network weight matrices, the authors introduced a novel re-normalization rule. This ensures the network remains balanced even when communication is lossy.

Datasets

The researchers evaluated their algorithm on two main fronts:

  • Synthetic Linear Regression: A controlled environment with 10 nodes, where each node has 200 local samples of a 64-dimensional problem. This was used to verify the theoretical linear convergence rates.
  • Real-world Logistic Regression: They used the Stackoverflow dataset, performing multi-class classification on vectorized text features. This tested the algorithm's performance on high-dimensional, real-world data.

Key Insights and Ideas

  • Sparsification as Link Failure: One of the cleverest insights is treating the act of not sending a coordinate (due to sparsification) as a temporary, coordinate-specific link failure. This allowed the authors to leverage and extend consensus theory for time-varying graphs.
  • Overcoming the Exactness-Speed Dilemma: Usually, you have to choose between a fixed step size (fast but converges to a "neighborhood" of the truth) or a diminishing step size (slow but reaches the exact truth). By combining gradient tracking with SVRG, they get the best of both worlds: exact convergence at high speed.
  • Robustness to Sparsity: The math shows that even with aggressive sparsification (sending only a small fraction of the data), the algorithm still converges linearly, though the "slope" of that convergence might be shallower.

Key Results

  • Linear Convergence: The paper provides a rigorous proof that for smooth and strongly convex functions, the error drops exponentially.
  • Superior Efficiency: In the Stackoverflow experiments, Di-CS-SVRG reached a 90% correct classification rate using significantly fewer gradient computations than full-gradient methods and lower communication costs than other stochastic methods.
  • Bandwidth Savings: For a fixed accuracy level, the sparsified version ($q=0.05$, meaning only 5% of components are sent) incurred a much smaller total communication cost than any other considered algorithm.
  • Scalability: Tests on networks of up to 100 nodes showed that the algorithm remains stable and effective as the network grows, though larger networks naturally require more communication rounds to reach consensus.

Limitations and Future Work

  • Convexity Constraints: The current theoretical guarantees are strictly for smooth, strongly convex functions. While many ML problems fit this, many (like deep neural networks) do not.
  • Hyperparameter Sensitivity: Like all SVRG-based methods, the performance depends on choosing the right inner-loop length ($T$) and step size ($\alpha$).
  • Future Directions: The authors explicitly mention that extending this framework to non-convex optimization is a primary goal for future research, which would open the door to training massive decentralized deep learning models on edge devices.

Summary updated

BibTeX
@article{chen2022communication,
  author = {Yiyue Chen and Abolfazl Hashemi and Haris Vikalo},
  title = {{Communication-Efficient Variance-Reduced Decentralized Stochastic Optimization Over Time-Varying Directed Graphs}},
  journal = {IEEE Trans. Automatic Control},
  year = {2022},
  doi = {10.1109/tac.2021.3133372},
}

Loading related content...

Figure