OCLGDec 6, 2019

Why are Adaptive Methods Good for Attention Models?

arXiv:1912.03194v2121 citations
Originality Incremental advance
AI Analysis

This work addresses a key bottleneck in optimizing attention models like BERT, offering practical improvements for NLP practitioners, though it is incremental in nature.

The paper investigates why adaptive gradient methods outperform SGD in attention models, attributing it to heavy-tailed noise in stochastic gradients and providing tight convergence bounds for adaptive methods under such conditions. It introduces ACClip, an adaptive coordinate-wise clipping algorithm, and demonstrates superior performance on BERT pretraining and finetuning tasks.

While stochastic gradient descent (SGD) is still the \emph{de facto} algorithm in deep learning, adaptive methods like Clipped SGD/Adam have been observed to outperform SGD across important tasks, such as attention models. The settings under which SGD performs poorly in comparison to adaptive methods are not well understood yet. In this paper, we provide empirical and theoretical evidence that a heavy-tailed distribution of the noise in stochastic gradients is one cause of SGD's poor performance. We provide the first tight upper and lower convergence bounds for adaptive gradient methods under heavy-tailed noise. Further, we demonstrate how gradient clipping plays a key role in addressing heavy-tailed gradient noise. Subsequently, we show how clipping can be applied in practice by developing an \emph{adaptive} coordinate-wise clipping algorithm (ACClip) and demonstrate its superior performance on BERT pretraining and finetuning tasks.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes