arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2012.04728cs.LGcond-mat.dis-nncond-mat.stat-mechq-bio.NCstat.ML
收藏

神经力学:深度学习动力学中的对称性和破缺守恒律

Neural Mechanics: Symmetry and Broken Conservation Laws in Deep Learning Dynamics

Stanford University(斯坦福大学);Physics & Informatics Laboratories, NTT Research, Inc(NTT研究公司物理与信息实验室)

Daniel Kunin, Javier Sagastuy-Brena, Surya Ganguli, Daniel L. K. Yamins, Hidenori Tanaka

摘要:

理解神经网络参数在训练过程中的动态变化是为深度学习建立理论基础的关键挑战之一。一个主要的障碍是,网络在高维参数空间中的运动沿着来自真实世界数据集的复杂随机梯度经历离散的有限步。我们通过一个统一的理论框架来规避这一障碍,该框架基于嵌入在任何数据集都存在的网络架构中的内在对称性。我们发现,任何这样的对称性施加严格的几何约束梯度和海森,导致相关的守恒律连续时间限制的随机梯度下降(SGD),类似于物理学中的Noether定理。我们进一步表明,在实践中使用的有限学习率实际上可以打破这些对称诱导守恒律。我们应用有限差分方法的工具来推导修正的梯度流,这是一个微分方程,可以更好地近似SGD在有限学习率下的数值轨迹。我们结合修改后的梯度流与我们的框架的对称性,以获得精确的积分表达式的某些参数组合的动态。我们通过经验验证了我们在Tiny ImageNet上训练的VGG-16上学习动态的分析表达式。总的来说,通过利用对称性,我们的工作表明,我们可以分析地描述在有限的学习率和批量大小的各种参数组合的学习动态,用于在任何数据集上训练的最先进的架构。

英文摘要:

Understanding the dynamics of neural network parameters during training is one of the key challenges in building a theoretical foundation for deep learning. A central obstacle is that the motion of a network in high-dimensional parameter space undergoes discrete finite steps along complex stochastic gradients derived from real-world datasets. We circumvent this obstacle through a unifying theoretical framework based on intrinsic symmetries embedded in a network's architecture that are present for any dataset. We show that any such symmetry imposes stringent geometric constraints on gradients and Hessians, leading to an associated conservation law in the continuous-time limit of stochastic gradient descent (SGD), akin to Noether's theorem in physics. We further show that finite learning rates used in practice can actually break these symmetry induced conservation laws. We apply tools from finite difference methods to derive modified gradient flow, a differential equation that better approximates the numerical trajectory taken by SGD at finite learning rates. We combine modified gradient flow with our framework of symmetries to derive exact integral expressions for the dynamics of certain parameter combinations. We empirically validate our analytic expressions for learning dynamics on VGG-16 trained on Tiny ImageNet. Overall, by exploiting symmetry, our work demonstrates that we can analytically describe the learning dynamics of various parameter combinations at finite learning rates and batch sizes for state of the art architectures trained on any dataset.

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

↑