English

Randomized Forward Mode of Automatic Differentiation For Optimization Algorithms

Optimization and Control 2024-02-05 v3 Artificial Intelligence Machine Learning

Abstract

We present a randomized forward mode gradient (RFG) as an alternative to backpropagation. RFG is a random estimator for the gradient that is constructed based on the directional derivative along a random vector. The forward mode automatic differentiation (AD) provides an efficient computation of RFG. The probability distribution of the random vector determines the statistical properties of RFG. Through the second moment analysis, we found that the distribution with the smallest kurtosis yields the smallest expected relative squared error. By replacing gradient with RFG, a class of RFG-based optimization algorithms is obtained. By focusing on gradient descent (GD) and Polyak's heavy ball (PHB) methods, we present a convergence analysis of RFG-based optimization algorithms for quadratic functions. Computational experiments are presented to demonstrate the performance of the proposed algorithms and verify the theoretical findings.

Keywords

Cite

@article{arxiv.2310.14168,
  title  = {Randomized Forward Mode of Automatic Differentiation For Optimization Algorithms},
  author = {Khemraj Shukla and Yeonjong Shin},
  journal= {arXiv preprint arXiv:2310.14168},
  year   = {2024}
}

Comments

22 Pages, 7 Figures

R2 v1 2026-06-28T12:57:52.260Z