Gradients without Backpropagation

02/17/2022
by   Atılım Güneş Baydin, et al.
0

Using backpropagation to compute gradients of objective functions for optimization has remained a mainstay of machine learning. Backpropagation, or reverse-mode differentiation, is a special case within the general family of automatic differentiation algorithms that also includes the forward mode. We present a method to compute gradients based solely on the directional derivative that one can compute exactly and efficiently via the forward mode. We call this formulation the forward gradient, an unbiased estimate of the gradient that can be evaluated in a single forward run of the function, entirely eliminating the need for backpropagation in gradient descent. We demonstrate forward gradient descent in a range of problems, showing substantial savings in computation and enabling training up to twice as fast in some cases.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/02/2021

Source-to-Source Automatic Differentiation of OpenMP Parallel Loops

This paper presents our work toward correct and efficient automatic diff...
research
06/12/2023

Can Forward Gradient Match Backpropagation?

Forward Gradients - the idea of using directional derivatives in forward...
research
09/13/2022

Optimization without Backpropagation

Forward gradients have been recently introduced to bypass backpropagatio...
research
06/01/2022

Nonsmooth automatic differentiation: a cheap gradient principle and other complexity results

We provide a simple model to estimate the computational costs of the bac...
research
07/17/2017

Current-mode Memristor Crossbars for Neuromemristive Systems

Motivated by advantages of current-mode design, this brief contribution ...
research
07/20/2020

Randomized Automatic Differentiation

The successes of deep learning, variational inference, and many other fi...
research
05/24/2019

Memorized Sparse Backpropagation

Neural network learning is typically slow since backpropagation needs to...

Please sign up or login with your details

Forgot password? Click here to reset