计算机科学 > 计算与语言
[提交于 2021年11月30日]
标题:Making Asynchronous Stochastic Gradient Descent Work for Transformers
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Asynchronous stochastic gradient descent (SGD) is attractive from a speed perspective because workers do not wait for synchronization. However, the Transformer model converges poorly with asynchronous SGD, resulting in substantially lower quality compared to synchronous SGD. To investigate why this is the case, we isolate differences between asynchronous and synchronous methods to investigate batch size and staleness effects. We find that summing several asynchronous updates, rather than applying them immediately, restores convergence behavior. With this hybrid method, Transformer training for neural machine translation task reaches a near-convergence level 1.36x faster in single-node multi-GPU training with no impact on model quality.
提交历史
来自:Alham Fikri Aji[v1] 2021年11月30日 星期二 00:00:00 UTC