Can Forward Gradient Match Backpropagation?

06/12/2023
by   Louis Fournier, et al.
0

Forward Gradients - the idea of using directional derivatives in forward differentiation mode - have recently been shown to be utilizable for neural network training while avoiding problems generally associated with backpropagation gradient computation, such as locking and memorization requirements. The cost is the requirement to guess the step direction, which is hard in high dimensions. While current solutions rely on weighted averages over isotropic guess vector distributions, we propose to strongly bias our gradient guesses in directions that are much more promising, such as feedback obtained from small, local auxiliary networks. For a standard computer vision neural network, we conduct a rigorous study systematically covering a variety of combinations of gradient targets and gradient guesses, including those previously presented in the literature. We find that using gradients obtained from a local loss as a candidate direction drastically improves on random noise in Forward Gradient methods.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/17/2022

Gradients without Backpropagation

Using backpropagation to compute gradients of objective functions for op...
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
05/22/2023

The Integrated Forward-Forward Algorithm: Integrating Forward-Forward and Shallow Backpropagation With Local Losses

The backpropagation algorithm, despite its widespread use in neural netw...
research
09/13/2022

Optimization without Backpropagation

Forward gradients have been recently introduced to bypass backpropagatio...
research
10/07/2022

Scaling Forward Gradient With Local Losses

Forward gradient learning computes a noisy directional gradient and is a...
research
03/25/2018

Neural Nets via Forward State Transformation and Backward Loss Transformation

This article studies (multilayer perceptron) neural networks with an emp...
research
12/28/2017

Gradient Regularization Improves Accuracy of Discriminative Models

Regularizing the gradient norm of the output of a neural network with re...

Please sign up or login with your details

Forgot password? Click here to reset