用反向传播曲率估计Hessian函数
Estimating the Hessian by Back-propagating Curvature
摘要:
在这项工作中,我们开发的曲率传播(CP),有效地计算使用计算图计算的任何函数的Hessian无偏近似的一般技术。在大约两个梯度评估的代价下,CP可以给出整个Hessian的秩1近似,并且可以重复应用以给出Hessian的任何或所有条目的越来越精确的无偏估计。特别令人感兴趣的是对角线的海森,没有一般的方法是已知的存在,既有效又准确。我们在实验中表明,CP在实践中工作得很好,例如,用相对少量的工作就可以非常准确地估计神经网络的Hessian。我们还将CP应用于分数匹配,其中Hessian的对角线在分数匹配目标中起着不可或缺的作用,并且通常使用效率低下的算法精确计算,这些算法无法扩展到更大和更复杂的模型。
英文摘要:
In this work we develop Curvature Propagation (CP), a general technique for efficiently computing unbiased approximations of the Hessian of any function that is computed using a computational graph. At the cost of roughly two gradient evaluations, CP can give a rank-1 approximation of the whole Hessian, and can be repeatedly applied to give increasingly precise unbiased estimates of any or all of the entries of the Hessian. Of particular interest is the diagonal of the Hessian, for which no general approach is known to exist that is both efficient and accurate. We show in experiments that CP turns out to work well in practice, giving very accurate estimates of the Hessian of neural networks, for example, with a relatively small amount of work. We also apply CP to Score Matching, where a diagonal of a Hessian plays an integral role in the Score Matching objective, and where it is usually computed exactly using inefficient algorithms which do not scale to larger and more complex models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。