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

GradVis:深度神经网络训练过程中优化曲面的可视化和二阶分析

GradVis: Visualization and Second Order Analysis of Optimization Surfaces during the Training of Deep Neural Networks

Fraunhofer ITWM(弗劳恩霍夫信息技术与数学研究所);TU Kaiserslautern(凯泽斯劳滕工业大学);Fraunhofer Center Machine Learning(弗劳恩霍夫机器学习中心);Offenburg University(奥芬堡应用技术大学)

Avraam Chatzimichailidis, Franz-Josef Pfreundt, Nicolas R. Gauger, Janis Keuper

摘要:

目前用于深度神经网络的训练方法归结为非常高维和非凸优化问题,这些问题通常由广泛的随机梯度下降方法来解决。虽然这些方法往往在实践中起作用,但在理论上对收敛和泛化保证等关键方面的理解仍然存在许多差距,这是由优化表面(损失景观)的属性引起的。为了获得更深入的见解,一些最近的出版物提出了可视化和分析优化表面的方法。然而,这些方法的计算成本非常高,几乎不可能在更大的网络上使用它们。在本文中,我们介绍了GradVis Lens,这是一个开源库,用于在Tensorflow和PyTorch中高效、可扩展地可视化和分析深度神经网络损失情况。引入更有效的数学公式和新的并行化方案,GradVis允许绘制优化表面和轨迹的2D和3D投影,以及大型网络的高分辨率二阶梯度信息。

英文摘要:

Current training methods for deep neural networks boil down to very high dimensional and non-convex optimization problems which are usually solved by a wide range of stochastic gradient descent methods. While these approaches tend to work in practice, there are still many gaps in the theoretical understanding of key aspects like convergence and generalization guarantees, which are induced by the properties of the optimization surface (loss landscape). In order to gain deeper insights, a number of recent publications proposed methods to visualize and analyze the optimization surfaces. However, the computational cost of these methods are very high, making it hardly possible to use them on larger networks. In this paper, we present the GradVis Toolbox, an open source library for efficient and scalable visualization and analysis of deep neural network loss landscapes in Tensorflow and PyTorch. Introducing more efficient mathematical formulations and a novel parallelization scheme, GradVis allows to plot 2d and 3d projections of optimization surfaces and trajectories, as well as high resolution second order gradient information for large networks.

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

↑