Second-order optimization methods such as natural gradient descent have the potential to speed up training of neural networks by correcting for the curvature of the loss function. Unfortunately, the exact natural gradient is impractical to compute for large models, and most approximations either require an expensive iterative procedure or make crude approximations to the curvature. We present Kronecker Factors for Convolution (KFC), a tractable approximation to the Fisher matrix for convolutional networks based on a structured probabilistic model for the distribution over backpropagated derivatives. Similarly to the recently proposed Kronecker-Factored Approximate Curvature (K-FAC), each block of the approximate Fisher matrix decomposes as the Kronecker product of small matrices, allowing for efficient inversion. KFC captures important curvature information while still yielding comparably efficient updates to stochastic gradient descent (SGD). We show that the updates are invariant to commonly used reparameterizations, such as centering of the activations. In our experiments, approximate natural gradient descent with KFC was able to train convolutional networks several times faster than carefully tuned SGD. Furthermore, it was able to train the networks in 10-20 times fewer iterations than SGD, suggesting its potential applicability in a distributed setting.
Eigenvalue-corrected Natural Gradient Based on a New Approximation
Tianjin University(天津大学);Huawei Technologies(华为技术有限公司);Beijing University of Technology(北京工业大学)
使用二阶优化方法训练深度神经网络(DNN)吸引了许多研究人员。最近提出的方法,特征值校正的克罗内克因子分解(EKFAC)(George等人,2018),提出了一种将自然梯度更新视为对角方法的解释,并纠正了Kronecker因子特征基中不准确的重新缩放因子。Gao et al.(2020)考虑了一种新的自然梯度近似,它将Fisher信息矩阵(fisherinformation matrix)近似为一个常数乘以两个矩阵的Kronecker乘积,并保持近似前后的迹相等。在这项工作中,我们结合这两种方法的思想,并提出了迹限制的特征值校正的克罗内克因子分解(TEKFAC)。该方法不仅校正了Kronecker因子化特征基下的不精确重标度因子,还考虑了Gao et al.(2020)提出的新近似方法和有效阻尼技术。我们还讨论了Kronecker因子近似之间的区别和联系。从经验上讲,我们的方法在几个DNN上优于SGD与动量,Adam,EKFAC和TKFAC。
Kronecker-Factored Approximate Curvature for Modern Neural Network Architectures
University of Cambridge(剑桥大学);ETH Zurich(苏黎世联邦理工学院);Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);University of Tübingen(图宾根大学);Tübingen AI Center(图宾根人工智能中心)
Large-Scale Distributed Second-Order Optimization Using Kronecker-Factored Approximate Curvature for Deep Convolutional Neural Networks
School of Computing, Tokyo Institute of Technology(东京工业大学计算学院);NVIDIA(英伟达);Global Scientific Information and Computing Center, Tokyo Institute of Technology(东京工业大学全球科学信息与计算中心);RIKEN Center for Computational Science(理化学研究所计算科学中心)
Decentralized Riemannian natural gradient methods with Kronecker-product approximations
Massachusetts General Hospital(麻省总医院);Harvard Medical School(哈佛医学院);Harvard University(哈佛大学);Beijing International Center for Mathematical Research(北京国际数学研究中心);Peking University(北京大学);School of Engineering and Applied Science, Harvard University(哈佛大学工程与应用科学学院)
Near optimal sample complexity for matrix and tensor normal models via geodesic convexity
Department of Mathematics, Massachusetts Institute of Technology(麻省理工学院数学系);Cheriton School of Computer Science, University of Waterloo(滑铁卢大学丘成桐计算机科学学院);Computer Science Department, University of British Columbia(不列颠哥伦比亚大学计算机科学系);Ludwig-Maximilians-Universität München(慕尼黑路德维希-马克西米利安大学)
Efficient Approximations of the Fisher Matrix in Neural Networks using Kronecker Product Singular Value Decomposition
几项研究表明,自然梯度下降比普通的基于梯度下降的方法更有效地最小化目标函数的能力。然而,这种用于训练深度神经网络的方法的瓶颈在于在每次迭代时求解对应于Fisher信息矩阵(Fisher Information Matrix,NIM)的大型密集线性系统的成本过高。这激发了各种近似的精确的或经验的。其中最复杂的是KFAC,它涉及到一个Kronecker分解的块对角近似。仅需少量的额外成本,从精度的角度提出了KFAC的一些改进。这四种新方法的共同特点是它们依赖于一个直接的最小化问题,其解可以通过克罗内克积奇异值分解技术计算。在三个标准深度自动编码器基准上的实验结果表明,它们提供了更准确的近似值。此外,它们在优化速度方面优于KFAC和最先进的一阶方法。
KAISA: An Adaptive Second-Order Optimizer Framework for Deep Neural Networks
University of Chicago(芝加哥大学);University of Texas at Austin(得克萨斯大学奥斯汀分校);Texas Advanced Computing Center(得克萨斯高级计算中心);University of Wisconsin, Madison(威斯康星大学麦迪逊分校);Argonne National Laboratory(阿贡国家实验室)
A Kaczmarz-inspired approach to accelerate the optimization of neural network wavefunctions
University of California, Berkeley(加利福尼亚大学伯克利分校);The Simons Institute for the Theory of Computing(西蒙斯理论计算研究所);Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室)
针对神经网络波函数优化成本高的问题,提出结合 MinSR 与 Kaczmarz 方法的 SPRING 优化器,在小原子和分子上优于 MinSR 和 KFAC,显著加速达到化学精度。