arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.07441cs.LGcs.AI
收藏

重构深度神经网络:释放自然梯度下降的优化潜力

Reconstructing Deep Neural Networks: Unleashing the Optimization Potential of Natural Gradient Descent

School of Medical Technology, Beijing Institute of Technology(北京理工大学医学技术学院);AthenaEyesCO., LTD.(雅典娜眼有限公司);Khalifa University of Science and Technology(哈利法科技大学);School of Computer Science & Technology, Beijing Institute of Technology(北京理工大学计算机科学与技术学院);National Cancer Center/National Clinical Research Center for Cancer/Cancer Hospital, Chinese Academy of Medical Sciences and Pekin Union Medical College(中国医学科学院肿瘤医院(国家癌症中心/国家肿瘤临床医学研究中心)、北京协和医学院)

Weihua Liu, Said Boumaraf, Jianwu Li, Chaochao Lin, Xiabi Liu, Lijuan Niu, Naoufel Werghi

AI总结:

针对自然梯度下降(NGD)因费希尔矩阵求逆复杂度高难以用于深度网络训练的问题,提出结构化自然梯度下降(SNGD),通过重构网络将全局费希尔计算分解为局部计算加速训练,收敛快于NGD且效果相当,优于传统GD。

摘要:

自然梯度下降(NGD)是机器学习中一种强大的优化技术,但费希尔信息矩阵求逆的计算复杂度限制了其在深度神经网络训练中的应用。为克服这一挑战,我们提出了一种用于深度神经网络训练的新型优化方法,名为结构化自然梯度下降(SNGD)。理论上,我们证明了使用NGD优化原始网络,等价于使用快速梯度下降(GD)优化经参数矩阵结构变换后的重构网络。由此,我们通过在重构网络中构建局部费希尔层,将全局费希尔信息矩阵的计算分解为局部费希尔矩阵的高效计算,从而加快训练速度。在多种深度网络和数据集上的实验结果表明,SNGD在保持解的质量相当的同时,实现了比NGD更快的收敛速度。此外,我们的方法在效率和效果上均优于传统梯度下降方法。因此,我们提出的方法有望显著提升NGD在深度学习应用中的可扩展性和效率。我们的源代码可在https://github.com/Chaochao-Lin/SNGD 获取。

英文摘要:

Natural gradient descent (NGD) is a powerful optimization technique for machine learning, but the computational complexity of the inverse Fisher information matrix limits its application in training deep neural networks. To overcome this challenge, we propose a novel optimization method for training deep neural networks called structured natural gradient descent (SNGD). Theoretically, we demonstrate that optimizing the original network using NGD is equivalent to using fast gradient descent (GD) to optimize the reconstructed network with a structural transformation of the parameter matrix. Thereby, we decompose the calculation of the global Fisher information matrix into the efficient computation of local Fisher matrices via constructing local Fisher layers in the reconstructed network to speed up the training. Experimental results on various deep networks and datasets demonstrate that SNGD achieves faster convergence speed than NGD while retaining comparable solutions. Furthermore, our method outperforms traditional GDs in terms of efficiency and effectiveness. Thus, our proposed method has the potential to significantly improve the scalability and efficiency of NGD in deep learning applications. Our source code is available at https://github.com/Chaochao-Lin/SNGD.

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

↑