DADAO: Decoupled Accelerated Decentralized Asynchronous Optimization

Adel Nabli, Edouard Oyallon

TL;DR: DADAO is a novel algorithm for decentralized machine learning that completely decouples a node's local computations from its network communications. By modeling these two processes as independent random events, DADAO achieves mathematically proven "accelerated" convergence rates without the bottlenecks of waiting for slow nodes (stragglers) or relying on complex synchronization loops.

The Bottlenecks of Decentralized Optimization

In decentralized optimization, a network of devices (like edge sensors or a cluster of computers) works together to train a machine learning model without a central coordinating server. To do this, nodes alternate between computing local updates (gradients) and sharing information with their neighbors (gossiping).

However, existing algorithms suffer from two major bottlenecks:

  1. The Synchronous Lock: Many algorithms require all nodes to finish their current step before any node can move to the next round. This makes the entire network only as fast as its slowest node or connection (the "straggler problem").
  2. The Coupled Lock: Even in asynchronous setups, algorithms often force a strict sequence: a node must compute a gradient before it can communicate. This coupling prevents nodes from doing math and talking to neighbors in parallel.

Attempts to fix these locks usually introduce massive complexity, such as nested "inner loops," dual-oracle requirements, or "gradient tracking" mechanisms that are notoriously difficult to implement in a truly asynchronous environment. The authors set out to build a simple, primal-only algorithm that solves both locks simultaneously while maintaining blazing-fast (accelerated) convergence.

The DADAO Approach

The authors introduce DADAO (Decoupled Accelerated Decentralized Asynchronous Optimization). Their core innovation relies on the "continuized framework," which models discrete events using continuous-time mathematics.

Here is how DADAO works:

  • Independent Poisson Point Processes (P.P.P.s): Instead of a fixed schedule, DADAO models gradient computations and network communications as independent random events. A node computes a gradient whenever its internal "computation timer" rings, and it gossips with a neighbor whenever its "communication timer" rings.
  • Decoupling: Because these timers are completely independent, computation and communication are decoupled and can happen in parallel.
  • Primal-Only & Loop-Free: DADAO uses a straightforward fixed-point iteration with a Nesterov-style momentum variable. It avoids the heavy baggage of previous methods—no multi-consensus inner loops, no Error Feedback, and no Gradient Tracking.
  • Continuous Analysis, Discrete Execution: While the mathematical proofs rely on continuous Stochastic Differential Equations (SDEs) and Lyapunov functions, the actual algorithm implemented on the hardware is purely discrete and event-based.

Key Insights

  • Breaking the Coupled Lock: By proving that gradient steps and gossip steps don't need to happen in a strict sequence, the authors unlock a new level of parallelization for decentralized networks.
  • Graph Resistance over Spectral Gap: Historically, the speed of decentralized algorithms was bounded by the "spectral gap" of the network graph. The authors prove that by looking at the maximal effective resistance of the graph alongside its algebraic connectivity, you can establish much tighter, faster theoretical bounds for communication.
  • Simplicity is Sufficient for Acceleration: DADAO proves that you don't need complex, memory-heavy mechanisms like Gradient Tracking to achieve Nesterov-like acceleration in an asynchronous setting. A cleverly designed momentum state is enough.

Key Results

  • Theoretical Speed Limits: DADAO achieves an accelerated gradient complexity of $\mathcal{O}(n \sqrt{L/\mu} \log(1/\epsilon))$ and an accelerated communication complexity of $\mathcal{O}(n \sqrt{\chi_1 \chi_2} \sqrt{L/\mu} \log(1/\epsilon))$. It is the first primal method to achieve accelerated rates for both simultaneously.
Empirical measurement of computation and communication rates scaling with network size on a star graph, matching theoretical bounds.
  • Topology Dominance: Mathematically, DADAO requires strictly fewer communications than state-of-the-art synchronous methods (like MSDA or ADOM+) on highly connected graphs (like complete graphs), and fewer gradient computations than standard continuized frameworks on sparse graphs (like line/cycle graphs).
  • Empirical Validation: In simulations of up to 250 nodes on synthetic regression datasets, DADAO consistently matched or outperformed competing algorithms. For example, DADAO required an order of magnitude fewer communication steps to reach the target precision compared to MSDA.
Convergence comparison of DADAO against state-of-the-art methods in terms of gradient and communication complexity.

Limitations and Future Work

  • No Delays: The theoretical model assumes that computations and communications happen instantaneously. In the real world, network latency and compute times create overlapping delays, which are not accounted for in this proof.
  • Homogeneous Nodes: The analysis assumes all nodes compute gradients at the exact same average rate, which isn't always true in heterogeneous edge networks.
  • Future Directions: The authors suggest extending this framework to handle time-varying networks (where connections drop in and out), incorporating real-world delays, adapting it for stochastic gradients (rather than full-batch), and applying it to less smooth or non-convex objective functions (like deep neural networks).

Summary updated

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