COLA: Communication-Efficient Decentralized Linear Learning

Lie He, An Bian, Martin Jaggi

Introduction

In the traditional machine learning paradigm, data is typically aggregated from user devices into a central server for training. This centralized approach introduces significant privacy risks and data ownership concerns. Decentralized machine learning offers an alternative: training a global model while keeping data strictly on the generating devices.

However, decentralized training faces three primary hurdles:

  1. The Consensus Problem: Real-world data is often non-i.i.d. (not identically distributed), making it difficult for devices to agree on a single optimal model.
  2. Communication Overhead: Inter-device communication is significantly slower than local computation.
  3. Network Volatility: Devices in a real-world network are unreliable; they may lose signal, run out of battery, or join/leave the network dynamically.

To address these challenges, the authors propose COLA (Communication-Efficient Decentralized Linear Learning), a framework designed specifically for generalized linear models such as Logistic Regression and Support Vector Machines (SVMs).

Methodology

COLA is a decentralized extension of the CoCoA framework. Rather than relying on a central coordinator, COLA utilizes a mixing matrix to enable "gossip" communication between neighboring nodes within an arbitrary network topology (e.g., ring or grid).

The technical foundation of COLA includes:

  • Primal-Dual Optimization: By optimizing both primal and dual problems simultaneously, COLA provides theoretical convergence guarantees often missing in purely stochastic methods.
  • Local Subproblems: Each device solves a local quadratic approximation of the global problem using its own data. This allows users to employ any standard single-machine solver, such as coordinate descent.
  • Gossip Mixing: Following local computation, nodes average their local estimates with immediate neighbors to propagate information across the network.
  • Local Certificates: Nodes can locally calculate a "duality gap," providing a progress metric for the entire network's convergence without central oversight.

Key Insights and Ideas

The Communication-Computation Trade-off

A central feature of COLA is the ability to tune the balance between local computation and global communication. By increasing the intensity of local work (represented by the parameter $\kappa$), the number of communication rounds required to reach convergence can be significantly reduced.

As shown in the figure above, increasing $\kappa$ leads to faster convergence in terms of total iterations (left). However, when considering wall-clock time (right), there is a "sweet spot" (e.g., $\kappa=1.0$) where the time spent on local computation optimally offsets the communication overhead.

Elasticity and Fault Tolerance

COLA treats network elasticity as a core design principle. Because the algorithm utilizes coordinate-wise updates, if a node leaves the network, its portion of the model remains "frozen" while the rest of the network continues. New nodes can join by initializing their variables to zero. Crucially, the global convergence proof remains valid under these dynamic conditions.

Parameter-Free Deployment

Unlike common baselines like Decentralized ADMM (D-ADMM), which require sensitive tuning of penalty parameters ($\rho$) to ensure convergence, COLA is largely "plug-and-play," making it highly practical for real-world engineering applications.

Key Results

The authors evaluated COLA against benchmarks like URL detection, Webspam classification, and the Epsilon dataset.

  • Efficiency: COLA outperformed state-of-the-art baselines (DIGing, D-ADMM) in both communication rounds and wall-clock time.
  • Topology Robustness: The algorithm remained stable across various network shapes, including sparsely connected rings.
  • Resilience: In simulations of "flaky" networks with high node dropout rates, COLA maintained a smooth, monotonic decrease in error, whereas other models often exhibited instability.

Limitations and Future Work

While COLA is a powerful tool for convex linear models, it does not currently address non-convex problems like Deep Neural Networks. Additionally, while the paper explores time-varying networks, the core analysis assumes symmetric (two-way) communication. Future work may extend COLA to directed graphs and incorporate communication compression techniques to further reduce bandwidth requirements in constrained environments.

Summary updated

BibTeX
@inproceedings{he2018cola,
  author = {Lie He and An Bian and Martin Jaggi},
  title = {{COLA: Communication-Efficient Decentralized Linear Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=S1Vw_wWObH},
}
Figure