arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.08587cs.LGstat.ML
收藏

不带反向传播的递归

Gradients without Backpropagation

University of Oxford(牛津大学);National University of Ireland Maynooth(爱尔兰国立梅努斯大学);Microsoft(微软);University of British Columbia(不列颠哥伦比亚大学)

Atılım Güneş Baydin, Barak A. Pearlmutter, Don Syme, Frank Wood, Philip Torr

摘要:

使用反向传播来计算目标函数的梯度以进行优化一直是机器学习的支柱。反向传播或反向模式微分是自动微分算法的一般家族中的一个特例,该算法还包括正向模式。我们提出了一种方法来计算梯度的基础上完全的方向导数,可以通过正向模式准确和有效地计算。我们称这种公式为前向梯度,这是一种对梯度的无偏估计,可以在函数的单次前向运行中进行评估,完全消除了梯度下降中对反向传播的需要。我们在一系列问题中展示了前向梯度下降,显示出计算上的大幅节省,并且在某些情况下能够以两倍的速度进行训练。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑