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

Adaptive Serverless Learning

Hongchang Gao, Heng HuangarXiv 2020

Introduction

Large-scale machine learning often faces a critical trade-off between centralized coordination and decentralized scalability. While centralized architectures (C-PSGD) are common, they frequently suffer from communication bottlenecks at the master server. Decentralized "serverless" training via gossip protocols offers a solution but has historically been limited to standard SGD. This approach struggles with the sparse, categorical data prevalent in modern recommendation systems, which typically require adaptive learning rate methods like Adam.

This paper introduces D-Adam and CD-Adam, the first decentralized optimization algorithms that combine adaptive learning rates with significant reductions in communication overhead through periodic communication and message compression.

Problem Statement

Existing decentralized methods often rely on a uniform learning rate across all workers. This is suboptimal for several reasons:

  1. Data Heterogeneity: Local data properties vary across workers, making a global learning rate inefficient.
  2. Feature Sparsity: Tasks like click-through rate (CTR) prediction involve highly sparse features, where adaptive methods like Adam are essential for convergence.
  3. Communication Costs: Transmitting full-precision model parameters at every iteration is prohibitively expensive in large-scale networks.

Proposed Methods: D-Adam and CD-Adam

The authors propose two primary algorithms to address these challenges:

  1. D-Adam (Decentralized Adam): Each worker maintains a local Adam optimizer. To reduce network traffic, workers perform multiple local updates and only communicate with neighbors every $p$ iterations.
  2. CD-Adam (Compressed Decentralized Adam): This variant adds a compression layer where workers transmit quantized or sparsified differences between their current state and the last communicated state, further slashing bandwidth requirements.

A key theoretical contribution is the proof that these algorithms maintain a "linear speedup"—the convergence rate improves as more workers are added—despite the errors introduced by communication skipping and compression.

Experimental Results

The researchers evaluated D-Adam and CD-Adam on three benchmarks: CIFAR-10 (ResNet20), Criteo (DeepFM), and Movielens-20M (Wide&Deep).

Convergence and Robustness to Skipping

Experiments demonstrate that D-Adam maintains robust convergence even when skipping up to 16 iterations ($p=16$). As shown in the loss curves, the final accuracy remains largely unaffected by the frequency of communication, validating the theoretical "linear speedup" property.

Training loss across iterations for various datasets and communication skip intervals (p).

Communication Efficiency

The primary advantage of the proposed methods is their communication efficiency. In large-scale recommendation tasks (Criteo and Movielens), where embedding layers lead to massive models, D-Adam and CD-Adam reach target accuracy while transferring orders of magnitude less data compared to vanilla decentralized Adam.

Model performance (ACC/AUC) relative to the total data transferred (MB).

Conclusion

Adaptive serverless learning via D-Adam and CD-Adam effectively bridges the gap between the performance of adaptive optimizers and the scalability of decentralized networks. By allowing local adaptive rates and employing aggressive communication reduction techniques, these methods provide a robust framework for training complex models on large, sparse datasets. Future work may explore extensions to asynchronous settings and more complex network topologies.

Summary updated

BibTeX
@misc{gao2020adaptive,
  author = {Hongchang Gao and Heng Huang},
  title = {{Adaptive Serverless Learning}},
  year = {2020},
  eprint = {2008.10422},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.10422},
}
Figure