We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

math.OC

Change to browse by:

References & Citations

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Mathematics > Optimization and Control

Title: Why are Adaptive Methods Good for Attention Models?

Abstract: 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.
Subjects: Optimization and Control (math.OC); Machine Learning (cs.LG)
Cite as: arXiv:1912.03194 [math.OC]
  (or arXiv:1912.03194v2 [math.OC] for this version)

Submission history

From: Jingzhao Zhang [view email]
[v1] Fri, 6 Dec 2019 15:58:29 GMT (287kb)
[v2] Fri, 23 Oct 2020 08:07:04 GMT (800kb,D)

Link back to: arXiv, form interface, contact.