Tom: Leveraging trend of the observed gradients for faster convergence

Anirudh Maiya, Inumella Sricharan, Anshuman Pandey, Srinivas K. S
9/7/2021
cs.LG

Official code: AnirudhMaiya/Tom (0 stars, Python, MIT, PyTorch, last commit 2022-08-12).

Abstract

The success of deep learning can be attributed to various factors such as increase in computational power, large datasets, deep convolutional neural networks, optimizers etc. Particularly, the choice of optimizer affects the generalization, convergence rate, and training stability.

Show full abstract

Stochastic Gradient Descent (SGD) is a first order iterative optimizer that updates the gradient uniformly for all parameters. This uniform update may not be suitable across the entire training phase. A rudimentary solution for this is to employ a fine-tuned learning rate scheduler which decreases learning rate as a function of iteration. To eliminate the dependency of learning rate schedulers, adaptive gradient optimizers such as AdaGrad, AdaDelta, RMSProp, Adam employ a parameter-wise scaling term for learning rate which is a function of the gradient itself. We propose Tom (Trend over Momentum) optimizer, which is a novel variant of Adam that takes into account of the trend which is observed for the gradients in the loss landscape traversed by the neural network. In the proposed Tom optimizer, an additional smoothing equation is introduced to address the trend observed during the process of optimization. The smoothing parameter introduced for the trend requires no tuning and can be used with default values. Experimental results for classification datasets such as CIFAR-10, CIFAR-100 and CINIC-10 image datasets show that Tom outperforms Adagrad, Adadelta, RMSProp and Adam in terms of both accuracy and has a faster convergence. The source code is publicly made available at https://github.com/AnirudhMaiya/Tom

View on arXivView PDF

Code Implementations(1)

AnirudhMaiya/TomOfficial100%
PyTorchMIT

A novel optimizer that leverages the trend observed in the gradients (https://arxiv.org/pdf/2109.03820.pdf)

00PythonSep 5, 20214 years agoMIT
adaptive-optimizeroptimizerpytorch

Similar Papers

Cite this paper

@article{maiya2021tom,
  title  = {Tom: Leveraging trend of the observed gradients for faster convergence},
  author = {Anirudh Maiya and Inumella Sricharan and Anshuman Pandey and Srinivas K. S},
  year   = {2021},
  eprint = {2109.03820},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.03820}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.03820.svg)](https://codeofpaper.com/paper/2109.03820)

Discussion