ADADELTA: An Adaptive Learning Rate Method
Written for the Research library (claude-opus-5-5) from the paper text, in our own words: the license "arXiv — non-exclusive licence to distribute" does not allow redistributing the text itself. Original — arxiv.org/pdf/1212.5701
Summary
Plain stochastic gradient descent needs a hand-tuned global learning rate. ADAGRAD adapts the rate for each parameter, but it still has a global step size, and its sum of squared gradients keeps growing, so steps eventually shrink to almost nothing. Zeiler's ADADELTA fixes both problems with two changes. First, it replaces ADAGRAD's full history of squared gradients with an exponentially decaying average, so the denominator reflects only recent gradients. Second, it scales each step by a decaying RMS of earlier parameter updates. This gives updates the same units as the parameters, like a diagonal Newton-style step, and removes the global learning rate. It costs very little more computation than SGD. The author tests it on MNIST digit classification on a single machine and on a large speech-recognition network trained on Google's distributed system. ADADELTA converges quickly and beats ADAGRAD on speech frame accuracy, using the same two hyperparameters throughout. Because it largely removes learning-rate tuning, it became a widely used optimizer for deep networks.
Key points
- The update keeps two running averages with decay ρ, one for squared gradients and one for squared updates. Each step is the gradient times the ratio RMS[Δx]ₜ₋₁ / RMS[g]ₜ, and a small ε stabilizes both RMS terms.
- The same settings (ρ = 0.95, ε = 1e-6) were used for MNIST and speech without retuning.
- The speech model had 4 hidden layers of 2560 units each, using logistic or ReLU activations. Its input was 26 frames of 40 log-energy filter-bank features, and its output was 8,000 senone labels. It was trained on several hundred hours of US English from Voice Search, Voice IME and read speech.
- With 100 replicas, ADADELTA was ahead of ADAGRAD for the whole run. With 200 replicas (ReLU), the gradients were much noisier, but it still quickly reached the same frame accuracy as ADAGRAD and momentum.
- The MNIST analysis shows three things. Lower layers get larger effective steps, which offsets vanishing gradients. Late in training, the step sizes approach 1 while the actual updates shrink, which works like built-in annealing. Well-tuned momentum can still pull slightly ahead late in training.
Cited by
- Semi-supervised Contextual Historical Text Normalization
- Morphological Word Embeddings for Arabic Neural Machine Translation in Low-Resource Settings
- Fine-grained Analysis of Sentence Embeddings Using Auxiliary Prediction Tasks
- Towards String-To-Tree Neural Machine Translation
- Neural Module Networks
- Learning to Compose Neural Networks for Question Answering
- Neural Machine Translation by Jointly Learning to Align and Translate
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Improved Neural Machine Translation with a Syntax-Aware Encoder and Decoder
- Named Entity Recognition with Bidirectional LSTM-CNNs
- On the Properties of Neural Machine Translation: Encoder-Decoder Approaches
- Attention-Based Models for Speech Recognition
- Simple and Effective Multi-Paragraph Reading Comprehension
- Are we there yet? Encoder-decoder neural networks as cognitive models of English past tense inflection
- Multi-Task Learning for Multiple Language Translation
- Linguistic realisation as machine translation: Comparing different MT models for AMR-to-text generation
- On Using Monolingual Corpora in Neural Machine Translation
- Toward Multilingual Neural Machine Translation with Universal Encoder and Decoder
- Deep Semantic Role Labeling: What Works and What's Next
- Lexically Constrained Decoding for Sequence Generation Using Grid Beam Search
- Convolutional Neural Networks for Sentence Classification
- Sequential Short-Text Classification with Recurrent and Convolutional Neural Networks
- Discourse Parsing with Attention-based Hierarchical Neural Networks
- Delete, Retrieve, Generate: A Simple Approach to Sentiment and Style Transfer
- The Ubuntu Dialogue Corpus: A Large Dataset for Research in Unstructured Multi-Turn Dialogue Systems
- End-to-end Sequence Labeling via Bi-directional LSTM-CNNs-CRF
- Colors in Context: A Pragmatic Neural Model for Grounded Language Understanding
- SummaRuNNer: A Recurrent Neural Network based Sequence Model for Extractive Summarization of Documents
- Transfer Learning across Low-Resource, Related Languages for Neural Machine Translation
- Dissecting Contextual Word Embeddings: Architecture and Representation
- Using the Output Embedding to Improve Language Models
- Reporting Score Distributions Makes a Difference: Performance Study of LSTM-networks for Sequence Tagging
- Edinburgh Neural Machine Translation Systems for WMT 16
- Nematus: a Toolkit for Neural Machine Translation
- Bidirectional Attention Flow for Machine Comprehension
- Inference is Everything: Recasting Semantic Resources into a Unified Evaluation Framework
- Attention-Based Bidirectional Long Short-Term Memory Networks for Relation Classification
Cite
@misc{zeiler2012adadelta,
title = {{ADADELTA: An Adaptive Learning Rate Method}},
author = {Zeiler, Matthew D.},
year = {2012},
doi = {10.48550/arxiv.1212.5701},
eprint = {1212.5701},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1212.5701}
}References
- H. Robinds and S. Monro, “A stochastic approximation method,” Annals of Mathematical Statistics, vol. 22, pp. 400–407, 1951. find
- D.E. Rumelhart, G.E. Hinton, and R.J. Williams, “Learning representations by back-propagating errors,” Nature, vol. 323, pp. 533–536, 1986. find
- J. Duchi, E. Hazan, and Y. Singer, “Adaptive subgradient methods for online leaning and stochastic optimization,” in COLT, 2010. find
- J. Dean, G. Corrado, R. Monga, K. Chen, M. Devin, Q. Le, M. Mao, M. Ranzato, A. Senior, P. Tucker, K. Yang, and A. Ng, “Large scale distributed deep networks,” in NIPS, 2012. find
- S. Becker and Y. LeCun, “Improving the convergence of back-propagation learning with second order methods,” Tech. Rep., Department of Computer Science, University of Toronto, Toronto, ON, Canada, 1988. find
- T. Schaul, S. Zhang, and Y. LeCun, “No more pesky learning rates,” arXiv:1206.1106, 2012. — [arXiv:1206.1106](https://arxiv.org/abs/1206.1106) find
- N. Jaitly, P. Nguyen, A. Senior, and V. Vanhoucke, “Application of pretrained deep neural networks to large vocabulary speech recognition,” in Interspeech, 2012. find