Beyond Backpropagation: Optimization with Multi-Tangent Forward Gradients
Katharina Flügel, Daniel Coquelin, Marie Weiel, Charlotte Debus, Achim Streit, Markus Götz
TL;DR
This work addresses the bottlenecks of backpropagation by proposing multi-tangent forward gradients as a BP-free alternative. It introduces an orthogonal-projection method to aggregate directional derivatives from multiple random tangents, yielding more accurate gradient approximations within the span of the tangents. Empirical results show that increasing the number of tangents improves both direction and magnitude of the gradient estimate and enhances optimization across synthetic and real networks, though a gap to the true gradient remains for large-scale models. The findings highlight potential for BP-free training with improved parallelism, while underscoring the need for efficient tangent sampling and robust learning-rate strategies to close the remaining gap.
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.
