Communication-Efficient Distributed Optimization in Networks with Gradient Tracking and Variance Reduction

Boyue Li, Shicong Cen, Yuxin Chen, Yuejie Chi

Abstract

This paper introduces Network-DANE, a decentralized optimization algorithm that brings the efficiency of approximate Newton methods to peer-to-peer networks without requiring a central server. By combining "gradient tracking" with multiple rounds of local communication, the authors achieve linear convergence and significantly reduce the communication-computation bottleneck in distributed machine learning. We also extend this framework to stochastic settings with Network-SVRG and Network-SARAH. Empirical evaluations on logistic regression and MNIST demonstrate that these methods outperform standard decentralized baselines in both convergence speed and communication efficiency.

Introduction

Most distributed optimization algorithms rely on a master/slave architecture, such as a Parameter Server, where a central node aggregates information from all workers. However, in many modern applications—including multi-agent robotics and privacy-sensitive federated learning—a central hub may be a bottleneck or simply non-existent.

In these decentralized network settings, agents can only communicate with their immediate neighbors. The primary challenge is that agents lack access to the "global" gradient of the loss function, which is essential for fast convergence. Standard decentralized methods, such as Decentralized Gradient Descent (DGD), often face a "speed vs. accuracy" dilemma: they either converge slowly or require a vanishing step size that prevents them from reaching the exact optimal solution.

Proposed Framework: Network-DANE

The authors propose a framework to adapt centralized communication-efficient algorithms to decentralized networks. Their primary contribution, Network-DANE, is built upon three key pillars:

  1. Approximate Newton-Type Updates: Instead of simple gradient steps, agents solve a local subproblem that mimics a second-order (Newton) update. This is based on the DANE algorithm, originally designed for centralized systems.
  2. Gradient Tracking: Since there is no central server to compute the global gradient, agents use a "dynamic average consensus" scheme. They maintain and update an estimate of the global gradient by communicating only with their neighbors.
  3. Multiple Mixing Rounds ($K$): The algorithm allows agents to perform $K$ rounds of communication (gossiping) per optimization step. This helps the network reach a better consensus on parameters and gradients before taking the next optimization step.

To handle large-scale datasets where computing full gradients is expensive, the authors also introduce Network-SVRG and Network-SARAH. These variants incorporate variance reduction techniques to accelerate local stochastic computations.

Key Insights

The Power of Gradient Tracking

Gradient tracking acts as the essential "glue" in this framework. It allows decentralized agents to behave as if they have access to a central server by effectively "tracking" the global average gradient through local interactions. This eliminates the steady-state error typically found in DGD with constant step sizes.

Data Homogeneity and Convergence

The authors introduce a parameter $\beta$ to quantify data similarity across agents. They prove that if local datasets are similar (low $\beta$), Network-DANE converges significantly faster, effectively leveraging data similarity to reduce communication overhead.

The $K$-Round Trade-off

There is a critical trade-off regarding the number of communication rounds ($K$). While more communication improves consensus, it increases per-iteration overhead. The paper demonstrates that for poorly connected networks, increasing $K$ can actually reduce the total communication needed to reach a target accuracy.

Figure 4: The trade-off between iterations and communication rounds for different values of K. Increasing K can lead to faster convergence in terms of iterations but requires more communication rounds.

Experimental Results

The researchers evaluated their algorithms using synthetic data for logistic regression and the MNIST dataset for training a one-hidden-layer neural network.

Linear Convergence and Robustness

For strongly convex problems, Network-DANE is proven to converge linearly to the global optimum. Unlike first-order methods like DGD or EXTRA, Network-DANE's performance remains remarkably stable even when the problem is "ill-conditioned" (high condition number $\kappa$).

Figure 1: Comparison of Network-DANE against baselines for logistic regression. Network-DANE (orange) remains efficient and maintains fast convergence even as the condition number increases from 10 to 10^4.

Neural Network Performance

Even though the theoretical guarantees focus on convex cases, experiments on MNIST showed that Network-SVRG and Network-SARAH reached high testing accuracy faster and with less computation than decentralized SGD or ADMM. This suggests the framework's utility extends to practical non-convex optimization tasks.

Limitations and Future Work

While promising, the current work has several limitations. The algorithm assumes synchronous updates, which may be impractical in networks with "straggler" nodes; developing an asynchronous version is a key next step. Additionally, while empirical results on neural networks are strong, theoretical convergence guarantees are currently limited to strongly convex or quadratic functions. Finally, the algorithm introduces hyperparameters like the regularization term $\mu$ and mixing count $K$, which may require tuning based on specific network topologies.

Summary updated

BibTeX
@inproceedings{li2020communication,
  author = {Boyue Li and Shicong Cen and Yuxin Chen and Yuejie Chi},
  title = {{Communication-Efficient Distributed Optimization in Networks with Gradient Tracking and Variance Reduction}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2020},
}
Figure