Work

Making Asynchronous Stochastic Gradient Descent Work for Transformers

Year: 2019
Type: conference-paper
Abstract: Asynchronous stochastic gradient descent (SGD) converges poorly for Transformer models, so synchronous SGD has become the norm for Transformer training.This is unfortunate because asynchronous SGD is faster at raw training speed since it avoids waiting for synchronization.Moreover, the Transformer model is the basis for state-of-the-art models for several tasks, including machine translation, so training speed matters.To understand why asynchronous SGD under-performs, we blur the lines between asynchronous and synchronous methods.We find that summing several asynchronous updates, rather than applying them immediately, restores convergence behavior.With this method, the Transformer attains the same BLEU score 1.36 times as fast.
Language: English
Open Access status: gold
OpenAlex ID: W2949012179
FWCI: 0.2
Cites: 30
Cited by: 2
Related to: 20