arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2302.09726cs.LG
收藏

精确可扩展隐式微分的Nystrom方法

Nystrom Method for Accurate and Scalable Implicit Differentiation

RIKEN(理化学研究所);Kyoto University(京都大学)

Ryuichiro Hataya, Makoto Yamada

摘要:

基于梯度的隐微分双层优化算法的难点在于估计关于神经网络参数的逆Hessian向量积。本文提出了解决这个问题的Nystrom方法和伍德伯里矩阵恒等式,利用低秩的海森。与共轭梯度法和Neumann级数逼近法等迭代逼近方法相比,该方法避免了数值不稳定性,无需迭代即可进行矩阵运算。因此,该方法在各种任务中工作稳定,并且比迭代近似更快。在整个实验中,包括大规模的超参数优化和元学习,我们证明了Nystrom方法始终实现可比的,甚至优于其他方法的性能。源代码可从https://github.com/moskomule/hypergrad获得。

英文摘要:

The essential difficulty of gradient-based bilevel optimization using implicit differentiation is to estimate the inverse Hessian vector product with respect to neural network parameters. This paper proposes to tackle this problem by the Nystrom method and the Woodbury matrix identity, exploiting the low-rankness of the Hessian. Compared to existing methods using iterative approximation, such as conjugate gradient and the Neumann series approximation, the proposed method avoids numerical instability and can be efficiently computed in matrix operations without iterations. As a result, the proposed method works stably in various tasks and is faster than iterative approximations. Throughout experiments including large-scale hyperparameter optimization and meta learning, we demonstrate that the Nystrom method consistently achieves comparable or even superior performance to other approaches. The source code is available from https://github.com/moskomule/hypergrad.

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

↑