Acceleration in Distributed Optimization under Similarity

Ye Tian, Gesualdo Scutari, Tianyu Cao, Alexander V. Gasnikov

Abstract

Distributed optimization is a cornerstone of large-scale machine learning, enabling the processing of massive datasets across networks of agents. However, the communication overhead between machines often limits performance. This paper presents ACC-SONATA, a decentralized algorithm designed for mesh networks that achieves optimal communication complexity by leveraging "function similarity." By utilizing a relative condition number rather than the standard global condition number, ACC-SONATA significantly reduces the number of communication rounds needed to reach high-accuracy solutions.

Introduction

In distributed optimization, datasets are partitioned across multiple machines to parallelize computation. A significant challenge arises because communication between these machines is typically much slower than local computation. Standard accelerated methods, such as those based on Nesterov’s acceleration, have a communication complexity that scales with the square root of the condition number ($\sqrt{\kappa}$), where $\kappa = L/\mu$. For ill-conditioned problems common in high-dimensional learning, this leads to excessive network traffic.

While some "similarity-aware" algorithms exist, they often rely on a centralized master node (star topology). In contrast, many modern applications, such as edge computing and privacy-preserving sensor networks, operate on mesh networks where agents only communicate with immediate neighbors. ACC-SONATA bridges this gap, providing a decentralized approach that exploits data similarity on arbitrary network topologies.

The ACC-SONATA Framework

ACC-SONATA (Accelerated SONATA) integrates two core components to achieve its efficiency:

  1. The Inner Loop (SONATA): This decentralized component employs gradient tracking, where each agent maintains an estimate of the global gradient through neighbor communication. It utilizes "local surrogation," solving a local optimization problem with a surrogate function that captures the similarity ($\beta$) between local and global losses.
  2. The Outer Loop (Acceleration): The algorithm wraps the SONATA inner loop within an inexact accelerated proximal point framework. This Nesterov-style outer loop provides the necessary momentum to accelerate convergence.

The primary innovation lies in the analysis of Function Similarity. In scenarios where data is distributed i.i.d. across nodes, local loss functions closely resemble the global average. ACC-SONATA's complexity scales with $\sqrt{\beta/\mu}$ (the relative condition number) instead of $\sqrt{L/\mu}$. Since $\beta \ll L$ in similar datasets, this leads to a dramatic reduction in communication overhead.

Theoretical and Empirical Analysis

The theoretical superiority of ACC-SONATA is established by its ability to reach an $\epsilon$-solution in $\tilde{O}\left(\frac{\sqrt{\beta/\mu}}{1-\rho} \log \frac{1}{\epsilon}\right)$ communication steps, where $\rho$ represents the network connectivity. This rate decouples the network topology from the optimization difficulty, allowing for efficient performance even on sparse graphs.

Table 1: Comparison of decentralized optimization algorithms, highlighting ACC-SONATA's unique exploitation of similarity and its improved communication rate.

As shown in Table 1, ACC-SONATA is the first algorithm to exploit function similarity in a decentralized setting while achieving a rate dependent on the relative condition number. Empirical evaluations on synthetic ridge regression and real-world datasets (MNIST, COV1, HIGGS, and SUSY) confirm these findings. In ridge regression tests, the "full" version of ACC-SONATA reached target accuracy in approximately one-fifth of the communications required by other state-of-the-art methods like Mudag or APM-C. Furthermore, experiments on the HIGGS and MNIST datasets demonstrated that communication requirements actually decrease as local sample sizes grow, due to improved statistical similarity.

Conclusion

ACC-SONATA represents a significant advancement in decentralized optimization, matching theoretical lower complexity bounds for similarity-aware problems. By effectively performing "distributed preconditioning" through local subproblems, it overcomes the communication bottlenecks typical of ill-conditioned distributed tasks. While practical implementation requires careful tuning of the similarity parameter $\beta$ and strong convexity $\mu$, the framework's modularity and robustness to data size make it a powerful tool for large-scale, decentralized machine learning.

Summary updated

BibTeX
@inproceedings{tian2022acceleration,
  author = {Ye Tian and Gesualdo Scutari and Tianyu Cao and Alexander V. Gasnikov},
  title = {{Acceleration in Distributed Optimization under Similarity}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
}
Figure