NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

An Accelerated Decentralized Stochastic Proximal Algorithm for Finite Sums

Hadrien Hendrikx, Francis R. Bach, Laurent Massoulié

Introduction

Modern machine learning relies heavily on processing massive datasets that are often too large for a single machine to handle. To solve this, computations are distributed across multiple machines. However, distributed systems face two primary bottlenecks: communication and efficiency.

Centralized systems, where every node communicates with a master server, often suffer from "traffic jams" at the server level. Decentralized systems, where nodes only communicate with their immediate neighbors, are more robust but traditionally slower to converge. Furthermore, most decentralized algorithms rely on "batch" processing—requiring a machine to evaluate its entire local dataset before sending an update. This is significantly slower than "stochastic" methods, which update after processing just one or a few samples.

To bridge this gap, researchers have introduced ADFS (Accelerated Decentralized stochastic algorithm for Finite Sums). ADFS is a novel optimization method that allows multiple computers to collaborate on massive machine learning tasks without a central server. It is the first algorithm to successfully combine stochastic updates with mathematical "acceleration" (shortcuts for faster convergence) in a decentralized setting, achieving near-perfect linear scaling as more machines are added.

Methodology: The ADFS Approach

The authors built ADFS upon three clever technical pillars to overcome the limitations of existing decentralized algorithms:

1. The Augmented Graph

To unify the concepts of local computation and network communication, the authors conceptualize the network as an "augmented graph."

The Augmented Graph representation used in ADFS

Imagine each computer node in the network is the center of a star. The points of the star are "virtual nodes" representing individual data samples. By treating local data processing as just another "edge" (a virtual edge) in this expanded graph, the authors can use the same mathematical framework to optimize both computing (processing a sample) and communicating (sharing data with a neighboring machine).

2. Dual Problem Optimization

Instead of solving the original (primal) problem directly, ADFS operates on its "dual" formulation. This shift allows the algorithm to utilize the Accelerated Proximal Coordinate Gradient (APCG) method. APCG is a powerful technique that randomly selects edges—either a communication step between neighbors or a local computation step—to update, driving the system toward the optimal solution in fewer steps.

3. Arbitrary Sampling

The researchers extended existing APCG theory to accommodate "arbitrary sampling." This extension is crucial for real-world applications because the probability of a node performing a rapid local calculation is inherently much higher than the probability of it successfully completing a slower communication step with a neighbor.

Key Results and Performance

The algorithm was rigorously evaluated on three standard large-scale datasets (Higgs, Covtype, and RCV1) using 2D grid networks ranging from 4 to 100 nodes.

Comparison of ADFS with state-of-the-art decentralized algorithms

As shown in the comparison table above, ADFS stands out by successfully combining local synchrony with stochastic updates, leading to superior time complexity. Key insights from the results include:

  • Linear Scaling: On $n$ machines, ADFS can process $n$ times more data in the same amount of time it takes an optimal single-machine algorithm to process a single local batch. This scaling holds true until the network reaches a "critical size" where communication delays finally become the dominant bottleneck.
  • Local Synchrony: Unlike many algorithms that force every node to wait for a global "round" to finish, ADFS allows nodes to work at their own pace. They only synchronize with immediate neighbors when necessary, drastically reducing idle time.
  • Superiority over Batch Methods: In empirical simulations on a 100-node grid, ADFS significantly outperformed previous state-of-the-art decentralized methods like MSDA, ESDACD, and DSBA. It effectively "hides" the cost of communication by performing many fast local stochastic updates while waiting for network messages to travel.

Limitations and Future Work

While ADFS represents a significant leap forward, the authors note a few limitations and avenues for future research:

  • Proximal Operators: ADFS requires calculating "proximal operators" for the functions involved. While this is straightforward for common models like logistic regression, it can become computationally expensive for more complex, non-linear models.
  • Communication Delay Assumption: The current theoretical analysis assumes that network communication is at least slightly slower than a single local update (represented by a delay parameter $\tau > 1$). The algorithm's behavior in extremely high-speed networks where $\tau < 1$ remains to be fully explored.
  • Network Heterogeneity: The paper primarily focuses on "homogeneous" settings where all machines have similar computational power and data distributions. Extending ADFS to handle "heterogeneous" settings—where some machines are significantly slower or hold different data distributions—is a critical next step for real-world deployment.

Summary updated

BibTeX
@inproceedings{hendrikx2019accelerated,
  author = {Hadrien Hendrikx and Francis R. Bach and Laurent Massoulié},
  title = {{An Accelerated Decentralized Stochastic Proximal Algorithm for Finite Sums}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=S6v40oXxa-9},
}
Figure