SOTAVerified

Beyond Backpropagation: Optimization with Multi-Tangent Forward Gradients

2024-10-23Code Available0· sign in to hype

Katharina Flügel, Daniel Coquelin, Marie Weiel, Achim Streit, Markus Götz

Code Available — Be the first to reproduce this paper.

Reproduce

Code

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.

Reproductions