33
0

Faster Stochastic Optimization with Arbitrary Delays via Asynchronous Mini-Batching

Abstract

We consider the problem of asynchronous stochastic optimization, where an optimization algorithm makes updates based on stale stochastic gradients of the objective that are subject to an arbitrary (possibly adversarial) sequence of delays. We present a procedure which, for any given q(0,1]q \in (0,1], transforms any standard stochastic first-order method to an asynchronous method with convergence guarantee depending on the qq-quantile delay of the sequence. This approach leads to convergence rates of the form O(τq/qT+σ/qT)O(\tau_q/qT+\sigma/\sqrt{qT}) for non-convex and O(τq2/(qT)2+σ/qT)O(\tau_q^2/(q T)^2+\sigma/\sqrt{qT}) for convex smooth problems, where τq\tau_q is the qq-quantile delay, generalizing and improving on existing results that depend on the average delay. We further show a method that automatically adapts to all quantiles simultaneously, without any prior knowledge of the delays, achieving convergence rates of the form O(infqτq/qT+σ/qT)O(\inf_{q} \tau_q/qT+\sigma/\sqrt{qT}) for non-convex and O(infqτq2/(qT)2+σ/qT)O(\inf_{q} \tau_q^2/(q T)^2+\sigma/\sqrt{qT}) for convex smooth problems. Our technique is based on asynchronous mini-batching with a careful batch-size selection and filtering of stale gradients.

View on arXiv
Comments on this paper