CProp: Adaptive Learning Rate Scaling from Past Gradient Conformity

Konpat Preechakul, Boonserm Kijsirikul
12/24/2019
cs.LGstat.ML

Official code: konpatp/cprop (8 stars, Jupyter Notebook, last commit 2020-01-24).

Abstract

Most optimizers including stochastic gradient descent (SGD) and its adaptive gradient derivatives face the same problem where an effective learning rate during the training is vastly different. A learning rate scheduling, mostly tuned by hand, is usually employed in practice.

Show full abstract

In this paper, we propose CProp, a gradient scaling method, which acts as a second-level learning rate adapting throughout the training process based on cues from past gradient conformity. When the past gradients agree on direction, CProp keeps the original learning rate. On the contrary, if the gradients do not agree on direction, CProp scales down the gradient proportionally to its uncertainty. Since it works by scaling, it could apply to any existing optimizer extending its learning rate scheduling capability. We put CProp to a series of tests showing significant gain in training speed on both SGD and adaptive gradient method like Adam. Codes are available at https://github.com/phizaz/cprop .

View on arXivView PDF

Code Implementations(1)

konpatp/cpropOfficial100%

CProp: Adaptive Learning Rate Scaling from Past Gradient Conformity

80Jupyter Notebook, PythonNov 17, 20196 years ago

Similar Papers

Cite this paper

@article{preechakul2019cprop,
  title  = {CProp: Adaptive Learning Rate Scaling from Past Gradient Conformity},
  author = {Konpat Preechakul and Boonserm Kijsirikul},
  year   = {2019},
  eprint = {1912.11493},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.11493}
}

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/1912.11493.svg)](https://codeofpaper.com/paper/1912.11493)

Discussion