arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.02624cs.LGstat.ML
收藏

ViViT:通过广义高斯-牛顿低秩结构的曲率访问

ViViT: Curvature access through the generalized Gauss-Newton's low-rank structure

University of Tübingen(蒂宾根大学);MPI for Intelligent Systems(马克斯·普朗克智能系统研究所)

Felix Dangel, Lukas Tatzel, Philipp Hennig

摘要:

Hessian或其广义Gauss-Newton(GGN)近似形式的曲率对于依赖局部模型的损失来训练、压缩或解释深度网络的算法是有价值的。现有的方法基于隐式乘法通过自动微分或克罗内克因子块对角近似不考虑噪声的小批量。我们提出了ViViT,曲率模型,利用GGN的低秩结构,而无需进一步的近似。它允许有效的计算特征值,特征向量,以及每个样本的一阶和二阶方向导数。该表示在一次向后传递中与梯度并行计算,并提供了细粒度的成本-精度权衡,这使得它可以扩展。我们证明了这一点,通过进行性能基准测试和证实ViViT的有用性,通过研究噪声对GGN的结构特性的影响,在神经网络训练。

英文摘要:

Curvature in form of the Hessian or its generalized Gauss-Newton (GGN) approximation is valuable for algorithms that rely on a local model for the loss to train, compress, or explain deep networks. Existing methods based on implicit multiplication via automatic differentiation or Kronecker-factored block diagonal approximations do not consider noise in the mini-batch. We present ViViT, a curvature model that leverages the GGN's low-rank structure without further approximations. It allows for efficient computation of eigenvalues, eigenvectors, as well as per-sample first- and second-order directional derivatives. The representation is computed in parallel with gradients in one backward pass and offers a fine-grained cost-accuracy trade-off, which allows it to scale. We demonstrate this by conducting performance benchmarks and substantiate ViViT's usefulness by studying the impact of noise on the GGN's structural properties during neural network training.

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

↑