arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.23982cond-mat.dis-nncond-mat.stat-mechcs.AIcs.LGmath.PR
收藏

深度神经网络作为哈密顿量

Deep Neural Nets as Hamiltonians

University of Maryland(马里兰大学);Institute for Advanced Study(高等研究院);Princeton University(普林斯顿大学)

Mike Winer, Boris Hanin

AI总结:

本文将随机初始化的多层感知机视为输入上的哈密顿量,利用复本技巧精确解析计算了无限宽度极限下能量景观的熵,并推导求解鞍点方程,揭示了不同激活函数下能量景观呈现复本对称或完全复本对称性破缺等丰富行为。

摘要:

神经网络是其输入和参数的复杂函数。深度学习理论中的许多先前工作分析在网络参数的随机初始化下,网络输出在一组固定输入(例如训练数据集)上的分布。本文的目的是考虑相反的情况:我们将随机初始化的多层感知机(MLP)视为其输入上的哈密顿量。对于网络参数的典型实现,我们研究了该哈密顿量诱导的能量景观特性,重点关注无限宽度极限下近全局最小值的结构。具体而言,我们使用复本技巧执行精确的解析计算,给出给定能量下的熵(空间的体积对数)。我们进一步推导了鞍点方程,描述了从随机MLP诱导的吉布斯分布中独立同分布采样的输入之间的重叠。对于线性激活函数,我们精确求解了这些鞍点方程。但我们也针对多种深度和激活函数(包括 $\tanh$、$\sin$、$\text{ReLU}$ 以及成形非线性函数)进行了数值求解。我们发现,即使在无限宽度下,也存在丰富多样的行为。例如,对于 $\sin$ 等某些非线性函数,我们发现随机MLP的能量景观表现出完全的复本对称性破缺,而浅层 $\tanh$ 和 ReLU 网络或深层成形 MLP 则是复本对称的。

英文摘要:

Neural networks are complex functions of both their inputs and parameters. Much prior work in deep learning theory analyzes the distribution of network outputs at a fixed a set of inputs (e.g. a training dataset) over random initializations of the network parameters. The purpose of this article is to consider the opposite situation: we view a randomly initialized Multi-Layer Perceptron (MLP) as a Hamiltonian over its inputs. For typical realizations of the network parameters, we study the properties of the energy landscape induced by this Hamiltonian, focusing on the structure of near-global minimum in the limit of infinite width. Specifically, we use the replica trick to perform an exact analytic calculation giving the entropy (log volume of space) at a given energy. We further derive saddle point equations that describe the overlaps between inputs sampled iid from the Gibbs distribution induced by the random MLP. For linear activations we solve these saddle point equations exactly. But we also solve them numerically for a variety of depths and activation functions, including $\tanh, \sin, \text{ReLU}$, and shaped non-linearities. We find even at infinite width a rich range of behaviors. For some non-linearities, such as $\sin$, for instance, we find that the landscapes of random MLPs exhibit full replica symmetry breaking, while shallow $\tanh$ and ReLU networks or deep shaped MLPs are instead replica symmetric.

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

↑