AdaDelay: Delay Adaptive Distributed Stochastic Optimization

Suvrit Sra, Adams Wei Yu, Mu Li, Alexander J. SmolaAISTATS 2016

Introduction

In the era of large-scale distributed machine learning, the "Parameter Server" architecture has become standard. Worker nodes compute gradients asynchronously to avoid the "straggler" problem inherent in synchronous systems. However, this asynchrony introduces "stale gradients"—updates computed on outdated model parameters. Traditional asynchronous Stochastic Gradient Descent (SGD) algorithms often handle this staleness with pessimistic worst-case delay bounds, which can lead to overly conservative stepsizes and slow convergence.

The AdaDelay Algorithm

The authors propose AdaDelay, an asynchronous distributed SGD algorithm that scales stepsizes based on the actual delay ($\tau_t$) of each incoming gradient. The core innovation is a delay-sensitive stepsize: $$\alpha(t, \tau_t) = (L + \eta(t, \tau_t))^{-1}$$ where $\eta(t, \tau_t) \approx c\sqrt{t + \tau_t}$.

Unlike standard SGD, AdaDelay allows for non-monotonic stepsizes. If a "fresh" gradient arrives with low delay, the stepsize can increase, allowing the system to capitalize on high-quality information. Conversely, gradients from "stragglers" (high $\tau_t$) are penalized with smaller stepsizes, preventing them from destabilizing the model. This approach maintains a theoretically optimal convergence rate of $O(1/\sqrt{T})$ for stochastic convex optimization.

Experimental Evaluation

AdaDelay was evaluated on two massive click-through rate (CTR) prediction datasets:

  • Criteo: 1.5 billion examples and 360 million features.
  • CTR2: A proprietary dataset with 110 million examples and 1.9 billion unique features.

The algorithm was compared against AsyncAdaGrad and AdaptiveRevision within a high-performance parameter server framework.

Results and Discussion

AdaDelay demonstrates superior performance and scalability across both datasets. As shown in Figure 5, while AdaptiveRevision performs well on the smaller Criteo dataset, its performance degrades significantly on the larger CTR2 dataset. AdaDelay consistently maintains low relative LogLoss even as the number of workers scales to 1600.

Relative LogLoss performance for Criteo (a) and CTR2 (b) datasets as a function of worker count.

Furthermore, AdaDelay shows remarkable robustness in terms of predictive accuracy. Figure 6 illustrates that AdaDelay maintains a higher relative AUC (Area Under Curve) compared to AsyncAdaGrad as the system scales. This confirms that modeling actual delay is more effective than using constant worst-case assumptions.

Relative AUC performance on the CTR2 dataset, showing AdaDelay's superior scaling compared to AsyncAdaGrad.

Beyond accuracy, AdaDelay is highly memory-efficient. On the CTR2 dataset, it required only 97 GB of server memory, compared to 200 GB for AdaptiveRevision, which must cache delayed gradients. This makes AdaDelay far more practical for models with billions of parameters.

Conclusion

AdaDelay provides a robust and scalable solution for asynchronous distributed optimization. By adapting to real-time network delays, it achieves faster initial convergence and better final performance than traditional methods. Future work includes extending the theoretical guarantees to non-convex problems, such as deep neural networks, and exploring non-smooth optimization settings.

Summary updated

BibTeX
@inproceedings{sra2016adadelay,
  author = {Suvrit Sra and Adams Wei Yu and Mu Li and Alexander J. Smola},
  title = {{AdaDelay: Delay Adaptive Distributed Stochastic Optimization}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2016},
}
Figure