Beyond Backpropagation: Optimization with Multi-Tangent Forward Gradients

Katharina Flügel, Daniel Coquelin, Marie Weiel, Achim Streit, Markus Götz
10/23/2024
cs.LGcs.AI

No official code found. Best implementation: Helmholtz-AI-Energy/frog (6 stars, MIT, last commit 2025-01-29).

Abstract

The gradients used to train neural networks are typically computed using backpropagation. While an efficient way to obtain exact gradients, backpropagation is computationally expensive, hinders parallelization, and is biologically implausible. Forward gradients are an approach to approximate the gradients from directional derivatives along random tangents computed by forward-mode automatic differentiation. So far, research has focused on using a single tangent per step. This paper provides an in-depth analysis of multi-tangent forward gradients and introduces an improved approach to combining the forward gradients from multiple tangents based on orthogonal projections. We demonstrate that increasing the number of tangents improves both approximation quality and optimization performance across various tasks.

View on arXivView PDF

Code Implementations(1)

MIT

Beyond Backpropagation: Optimization with Multi-Tangent Forward Gradients

60PythonOct 23, 20241 years agoMIT

Similar Papers

Cite this paper

@article{flgel2024beyond,
  title  = {Beyond Backpropagation: Optimization with Multi-Tangent Forward Gradients},
  author = {Katharina Flügel and Daniel Coquelin and Marie Weiel and Achim Streit and Markus Götz},
  year   = {2024},
  eprint = {2410.17764},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.17764v1}
}

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

Discussion