DADAO: Decoupled Accelerated Decentralized Asynchronous Optimization

Adel Nabli, Edouard Oyallon

TL;DR

DADAO is the first decentralized optimization algorithm to achieve Nesterov-style acceleration for both computation and communication while remaining fully asynchronous and decoupled. By modeling updates as independent Poisson processes, it eliminates the "synchronous lock" (waiting for slow nodes) and the "coupling lock" (waiting for computations to finish before communicating), outperforming state-of-the-art methods in communication efficiency.

What Problem Does This Paper Address?

In distributed machine learning, we often want to minimize a global objective function that is split across many nodes in a network. Traditional decentralized algorithms face two major bottlenecks:

  1. The Synchronous Lock: Most optimal methods are synchronous, meaning every node must finish its local computation before a global communication round can begin. A single "straggler" node can bring the entire process to a crawl.
  2. The Coupling Lock: In many existing frameworks, computation (calculating gradients) and communication (exchanging data with neighbors) are tied together. You can't send a message until you've finished a specific computation step. Since communication is often much slower than computation, this coupling leads to significant idle time.

While some asynchronous methods exist, they often lack "acceleration"—a technique that significantly speeds up convergence—or they rely on complex "inner loops" (like multi-consensus) that are difficult to implement efficiently in a truly decentralized, asynchronous environment.

Methods

DADAO (Decoupled Accelerated Decentralized Asynchronous Optimization) introduces a novel framework to break these locks:

  • Poisson Point Processes (PPPs): The authors model local gradient updates at each node and "gossip" communications along each edge as separate, independent Poisson processes. This means events happen at random intervals, allowing nodes to work at their own pace without a global clock.
  • Decoupling: Because these processes are independent, a node can gossip with a neighbor even if it hasn't finished its latest gradient calculation, and vice versa. This allows computation and communication to happen in parallel.
  • Continuized Framework: To analyze this chaotic-seeming asynchronous behavior, the authors use a "continuized" mathematical framework. They treat the discrete updates as jumps in a continuous-time Stochastic Differential Equation (SDE), which allows them to prove convergence rates using powerful tools from calculus.
  • Primal-Only Oracle: Unlike many accelerated methods that require expensive "dual" gradients or proximal operators, DADAO uses simple primal gradients, making it more practical for standard machine learning tasks.

Datasets

The authors evaluated DADAO on a decentralized linear regression task using:

  • Synthetic Datasets: Generated using scikit-learn's make_regression function.
  • Network Topologies: They tested the algorithm on various graph structures, including line graphs (150 nodes), complete graphs (250 nodes), and star graphs to study how the method scales with the number of nodes ($n$).

Key Insights and Ideas

  • Effective Resistance is Key: The paper highlights that for asynchronous gossip, the "maximal effective resistance" ($\chi_2$) of the graph is a more natural and powerful metric for convergence than the traditional spectral gap used in synchronous settings.
  • Acceleration for Both Worlds: DADAO is unique in achieving accelerated rates for both the number of gradients and the number of communications simultaneously. Most prior work accelerated one at the expense of the other or required synchronous rounds.
  • Simplicity Wins: By avoiding "ad-hoc" mechanisms like Gradient Tracking or Error Feedback, DADAO maintains a minimal fixed-point iteration structure that is easier to implement and analyze.

Key Results

DADAO achieves a theoretical complexity of $\mathcal{O}(n\sqrt{L/\mu}\log(1/\epsilon))$ for local gradients and $\mathcal{O}(n\sqrt{\chi_1\chi_2}\sqrt{L/\mu}\log(1/\epsilon))$ for communications to reach a precision $\epsilon$.

In practical simulations, DADAO shows a clear advantage:

  • Communication Efficiency: As seen in the comparison plots, DADAO requires significantly fewer total communications to reach the same accuracy as competitors like ADOM+ or MSDA, especially on sparse graphs like the line graph.
  • Scaling on Star Graphs: The authors proved that on star-shaped networks, DADAO is $\mathcal{O}(\sqrt{n})$ times more efficient in communication than the popular MSDA algorithm.
Figure 1. Comparison between ADOM+ (Kovalev et al., 2021a), the continuized framework (Even et al., 2021a), MSDA (Scaman et al., 2017) and DADAO, using the same data for the linear regression task, and the same graphs (from left to right: line with n = 150, complete with n = 250).

Limitations and Future Work

  • Absolute Constants: The authors note that while their asymptotic rates are optimal, the absolute constants in their convergence proofs (like the $8\sqrt{2}$ factor) are likely conservative and could be tightened in future work.
  • Instantaneous Events: The current theoretical model assumes that once a Poisson event "fires," the computation or communication happens instantaneously. While this is a standard simplification, real-world network delays could be explicitly integrated into the model.
  • Beyond Smooth Convexity: DADAO is designed for $L$-smooth and $\mu$-strongly convex functions. Extending these accelerated asynchronous benefits to non-smooth objectives or purely stochastic settings (where nodes use mini-batches instead of full gradients) remains an open challenge.

Summary updated

Abstract

This work introduces DADAO: the first decentralized, accelerated, asynchronous, primal, first-order algorithm to minimize a sum of $L$-smooth and $μ$-strongly convex functions distributed over a given network of size $n$. Our key insight is based on modeling the local gradient updates and gossip communication procedures with separate independent Poisson Point Processes. This allows us to decouple the computation and communication steps, which can be run in parallel, while making the whole approach completely asynchronous. This leads to communication acceleration compared to synchronous approaches. Our new method employs primal gradients and does not use a multi-consensus inner loop nor other ad-hoc mechanisms such as Error Feedback, Gradient Tracking, or a Proximal operator. By relating the inverse of the smallest positive eigenvalue of the Laplacian matrix $χ_1$ and the maximal resistance $χ_2\leq χ_1$ of the graph to a sufficient minimal communication rate between the nodes of the network, we show that our algorithm requires $\mathcal{O}(n\sqrt{\frac{L}μ}\log(\frac{1}ε))$ local gradients and only $\mathcal{O}(n\sqrt{χ_1χ_2}\sqrt{\frac{L}μ}\log(\frac{1}ε))$ communications to reach a precision $ε$, up to logarithmic terms. Thus, we simultaneously obtain an accelerated rate for both computations and communications, leading to an improvement over state-of-the-art works, our simulations further validating the strength of our relatively unconstrained method.
BibTeX
@inproceedings{nabli2023dadao,
  author = {Adel Nabli and Edouard Oyallon},
  title = {{DADAO: Decoupled Accelerated Decentralized Asynchronous Optimization}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=4k8saM66EH},
}
Figure