Preprint
Gradients without backpropagation
- Abstract:
- 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.
- Publication status:
- Published
- Peer review status:
- Not peer reviewed
Actions
Access Document
- Files:
-
-
(Preview, Pre-print, pdf, 4.2MB, Terms of use)
-
- Preprint server copy:
- 10.48550/arxiv.2202.08587
Authors
- Preprint server:
- arXiv
- Publication date:
- 2022-02-17
- DOI:
- Language:
-
English
- Pubs id:
-
1506077
- Local pid:
-
pubs:1506077
- Deposit date:
-
2024-05-16
- ARK identifier:
Terms of use
- Copyright holder:
- Baydin et al
- Copyright date:
- 2022
If you are the owner of this record, you can report an update to it here: Report update to this record