arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.09160cs.LGcs.AImath.DS
收藏

识别等价训练动力学

Identifying Equivalent Training Dynamics

AIMdyn Inc.(AIMdyn公司);Johns Hopkins University(约翰斯·霍普金斯大学);UC Santa Barbara(加州大学圣巴巴拉分校)

William T. Redman, Juan M. Bello-Rivas, Maria Fonoberova, Ryan Mohr, Ioannis G. Kevrekidis, Igor Mezić

AI总结:

针对缺乏DNN训练动力学等价性识别方法的问题,该研究基于Koopman算子理论构建框架,通过特征值对比识别共轭/非共轭动力学,经多种架构验证有效,可为训练动力学研究提供新工具。

摘要:

对深度神经网络(DNN)参数在训练过程中经历的非线性演化的研究,已经揭示了具有不同动力学行为的多种状态。尽管对这些现象的深入理解有望推动训练效率与鲁棒性的提升,但目前缺乏识别DNN模型何时具备等价动力学的方法,限制了从已有工作中可获得的洞见。拓扑共轭是动力系统理论中的一个概念,它给出了动力学等价性的精确定义,为满足这一需求提供了可行路径。但一直以来,拓扑共轭的计算都颇具难度。\n我们借助Koopman算子理论的进展,开发了一个用于识别共轭与非共轭训练动力学的框架。为验证我们的方法,我们证明了对比Koopman特征值能够正确识别在线镜像下降(online mirror descent)与在线梯度下降(online gradient descent)之间已知的等价关系。随后我们将该方法用于:(a)识别浅层与宽层全连接神经网络之间的非共轭训练动力学;(b)刻画卷积神经网络训练动力学的早期阶段特征;(c)揭示经历与未经历grokking(泛化顿悟)的Transformer中存在的非共轭训练动力学。我们在一系列DNN架构上得到的结果,展现了该框架的灵活性,凸显了其为训练动力学研究带来新视角的潜力。

英文摘要:

Study of the nonlinear evolution deep neural network (DNN) parameters undergo during training has uncovered regimes of distinct dynamical behavior. While a detailed understanding of these phenomena has the potential to advance improvements in training efficiency and robustness, the lack of methods for identifying when DNN models have equivalent dynamics limits the insight that can be gained from prior work. Topological conjugacy, a notion from dynamical systems theory, provides a precise definition of dynamical equivalence, offering a possible route to address this need. However, topological conjugacies have historically been challenging to compute. By leveraging advances in Koopman operator theory, we develop a framework for identifying conjugate and non-conjugate training dynamics. To validate our approach, we demonstrate that comparing Koopman eigenvalues can correctly identify a known equivalence between online mirror descent and online gradient descent. We then utilize our approach to: (a) identify non-conjugate training dynamics between shallow and wide fully connected neural networks; (b) characterize the early phase of training dynamics in convolutional neural networks; (c) uncover non-conjugate training dynamics in Transformers that do and do not undergo grokking. Our results, across a range of DNN architectures, illustrate the flexibility of our framework and highlight its potential for shedding new light on training dynamics.

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

↑