Towards More Efficient Stochastic Decentralized Learning: Faster Convergence and Sparse Communication

Zebang Shen, Aryan Mokhtari, Tengfei Zhou, Peilin Zhao, Hui Qian

Introduction

In decentralized learning, data is spread across a network of computers (nodes) that can only communicate with their immediate neighbors. The goal is to train a global model collaboratively without ever centralizing the data. However, existing methods face significant hurdles: they often require computationally heavy "full gradient" calculations, suffer massive performance drops when data is poorly scaled (ill-conditioned), and create severe network bottlenecks by transmitting entire dense model vectors during every update.

This paper introduces DSBA (Decentralized Stochastic Backward Aggregation), a novel algorithm that makes decentralized machine learning significantly faster and more communication-efficient. By shifting the optimization problem into a "monotone operator" framework, DSBA achieves a linear convergence rate that is highly resilient to poorly behaved data and allows nodes to communicate using sparse updates.

The DSBA Approach

DSBA overcomes traditional bottlenecks by combining three clever techniques:

  1. Monotone Operator Framework: Instead of treating the problem as simple function minimization, the authors generalize it to finding the root of a "monotone operator." This mathematical abstraction allows DSBA to handle standard regression as well as complex tasks like AUC (Area Under Curve) maximization, which involves comparing pairs of data points.
  2. Stochastic Proximal Updates: Unlike deterministic methods that process all data at once, DSBA is stochastic—it picks one data point at a time. It uses a "resolvent" (or proximal) operator, which is more stable than a standard gradient step, helping the algorithm stay on track even with noisy, single-point updates.
  3. Sparse Communication Scheme: The authors realized that if the underlying data is sparse, the updates to the model are often sparse too. They developed a communication protocol where nodes only transmit the non-zero components of their updates. Neighbors can then reconstruct the full model locally, drastically reducing the amount of data sent over the network.

Key Innovations

  • Linear Dependence on Condition Number ($\kappa$): Most previous decentralized stochastic methods have a convergence rate that depends on the square of the condition number ($\kappa^2$). DSBA improves this to a linear dependence ($\kappa$). In practical terms, if a problem is twice as difficult, DSBA takes twice as long, whereas older methods might take four times as long.
  • The AUC Breakthrough: AUC maximization is notoriously difficult in decentralized settings because it relies on a pairwise loss (comparing positive and negative samples). Usually, this requires nodes to swap data or execute multiple rounds of communication. By framing AUC as a minimax problem, DSBA handles it as seamlessly as standard logistic regression.

Experimental Validation

The researchers evaluated DSBA on three standard high-dimensional, sparse benchmarks from the LIBSVM library: news20-binary, rcv1, and sector.

DSBA consistently reached high accuracy levels much faster than state-of-the-art methods like DSA, EXTRA, and SSDA. Crucially, it proved that you do not have to trade computation for communication: DSBA is the fastest in terms of passes over the data ("epochs") while simultaneously being the leanest in terms of total data sent over the network ("doubles").

Ridge Regression Performance

For Ridge Regression tasks, DSBA demonstrates a clear advantage in both computational efficiency (epochs) and communication cost (doubles) compared to baseline methods.

AUC Maximization Performance

The benefits are even more pronounced in AUC Maximization, where DSBA rapidly converges to an optimal AUC score while drastically minimizing the required communication bandwidth.

Limitations and Future Work

While highly effective, DSBA does have a few limitations:

  • The Resolvent Requirement: DSBA requires computing a resolvent in each step. For Ridge Regression, this has a simple closed-form solution, but for Logistic Regression, it requires a 1D Newton iteration. This adds a layer of implementation complexity compared to simple gradient descent.
  • Sparsity Dependency: The communication benefits of DSBA are tied to the natural sparsity of the dataset. If the data is inherently dense, the communication advantage over other linear-convergent methods diminishes.
  • Static Networks: The current theoretical analysis assumes a fixed network graph. Extending this framework to time-varying or asynchronous networks—where nodes might temporarily go offline or suffer from high latency—remains an open area for future exploration.

Summary updated

BibTeX
@inproceedings{shen2018towards,
  author = {Zebang Shen and Aryan Mokhtari and Tengfei Zhou and Peilin Zhao and Hui Qian},
  title = {{Towards More Efficient Stochastic Decentralized Learning: Faster Convergence and Sparse Communication}},
  booktitle = {International Conference on Machine Learning},
  year = {2018},
  url = {https://openreview.net/forum?id=H1Er9jZ_-r},
}
Figure