深度学习的哈密顿-雅可比理论
The Hamilton-Jacobi Theory of Deep Learning
AI总结:
本文通过将神经网络训练精确识别为哈密顿-雅可比初值问题的搜索,建立了深度学习与粘性哈密顿-雅可比方程之间的严格对应关系,并统一了残差网络、Transformer、RNN等架构,导出了最优泛化率、对抗鲁棒性等定量结果。
摘要:
在本文中,神经网络训练被精确地识别为通过哈密顿-雅可比初值问题的搜索:每个梯度步选择粘性哈密顿-雅可比方程的初始数据,其Hopf-Cole传播子最佳拟合观测值;在推理时,输入是评估该解的空间点,初始条件已编码在权重中。这种对应对于log-sum-exp层是精确的,对于更广泛的架构(残差网络、Transformer和循环架构(RNN、LSTM、SSM))是结构性的,它们离散化同一类哈密顿-雅可比方程,具有依赖于架构的哈密顿量和粘性。一个单一的变形参数ε在交换图中统一了所有四个视角(网络、热带代数、粘性PDE、凸优化),并在Lipschitz条件下封闭。定量结果包括:固定t时的极小极大最优泛化率O(n^{-1/(d+2)});由ε控制的对抗鲁棒性;残差网络的反向传播作为哈密顿系统的协态方程(庞特里亚金最大值原理);通过PDE求积与数据内在维度一致的标度指数;以及闭式O(N)影响函数(softmax归因权重π_j),其熵景观随着ε增加经历折叠分岔,每个分岔合并归因盆地。
英文摘要:
In this paper, training a neural network is identified, exactly, as a search through Hamilton--Jacobi initial-value problems: each gradient step selects the initial data of a viscous Hamilton--Jacobi equation whose Hopf--Cole propagator best fits the observations; at inference, the input is the spatial point at which that solution is evaluated and the initial condition is already encoded in the weights. The correspondence is exact for log-sum-exp layers, with ReLU, sigmoid, SiLU, and GELU each an exact limit, gradient, or moment of the same object, and exact in composition across depth and width, with a quantified error at finite depth that vanishes in the joint limit. It is structural for residual networks, transformers, and recurrent networks (RNNs, LSTMs, SSMs), each discretizing the same class of equations, at a named and quantified approximation error. A single deformation parameter $\varepsilon$ unifies all four perspectives (network, tropical algebra, viscous PDE, convex optimization) in a commutative diagram closed under Lipschitz conditions. Quantitative consequences include: the minimax optimal generalization rate $O(n^{-1/(d+2)})$ for fixed $t$; adversarial robustness controlled by $\varepsilon$; backpropagation as the co-state equation of the Hamiltonian system for residual networks (Pontryagin Maximum Principle); scaling exponents consistent with data intrinsic dimension via PDE quadrature; and a closed-form $O(N)$ influence function (softmax attribution weights $π_j$) whose entropy landscape undergoes fold bifurcations as $\varepsilon$ increases, each merging attribution basins.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。