通过设计保证非零项的Hamilton深度神经网络
Hamiltonian Deep Neural Networks Guaranteeing Non-vanishing Gradients by Design
摘要:
深度神经网络(DNN)训练可能很困难,因为在通过反向传播进行权重优化期间梯度会消失和爆炸。为了解决这个问题,我们提出了一个通用类的哈密顿DNN(H-DNN),源于连续时间哈密顿系统的离散化,并包括几个现有的DNN架构的基础上常微分方程。我们的主要结果是,一组广泛的H-DNN通过设计确保了任意网络深度的非零梯度。这是通过证明,使用半隐式欧拉离散计划,梯度计算中涉及的向后灵敏度矩阵是辛的。我们还提供了一个上限的灵敏度矩阵的大小,并表明,爆炸梯度可以通过正则化控制。最后,我们通过对权重矩阵进行适当的稀疏性约束来实现H-DNN中的向后和向前传播算法的分布式实现。H-DNN在基准分类问题上表现出良好的性能,包括MNIST数据集的图像分类。
英文摘要:
Deep Neural Networks (DNNs) training can be difficult due to vanishing and exploding gradients during weight optimization through backpropagation. To address this problem, we propose a general class of Hamiltonian DNNs (H-DNNs) that stem from the discretization of continuous-time Hamiltonian systems and include several existing DNN architectures based on ordinary differential equations. Our main result is that a broad set of H-DNNs ensures non-vanishing gradients by design for an arbitrary network depth. This is obtained by proving that, using a semi-implicit Euler discretization scheme, the backward sensitivity matrices involved in gradient computations are symplectic. We also provide an upper-bound to the magnitude of sensitivity matrices and show that exploding gradients can be controlled through regularization. Finally, we enable distributed implementations of backward and forward propagation algorithms in H-DNNs by characterizing appropriate sparsity constraints on the weight matrices. The good performance of H-DNNs is demonstrated on benchmark classification problems, including image classification with the MNIST dataset.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。