arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2503.09980cond-mat.stat-mechcs.LGphysics.data-anq-bio.NC
收藏

热力学对准静态深度神经网络能耗的限制

Thermodynamic cost of inference and learning in physical neural networks

Center for Functional Nanomaterials, Brookhaven National Laboratory, Upton, NY 11973, USA(功能纳米材料中心,布鲁赫萨尔国家实验室,Upton,纽约州11973,美国)

Alexei V. Tkachenko

AI总结:

本文通过热力学框架为准静态深度神经网络提供能耗限制,揭示推理的可逆性与训练的应力松弛机制,并推导出训练能耗的通用下限。

摘要:

深度神经网络(DNN)的快速成长使其在训练和推理过程中的能耗问题受到越来越多关注。在这里,我们通过将现代前馈架构映射到一个物理自由能功能上,建立了准静态模拟DNN能耗的热力学界限。该框架为准静态DNN提供了直接的统计力学解释。结果表明,推理可以在热力学可逆的方式下进行,最小能量成本趋于零,与限制数字硬件的兰道尔限制形成对比。重要的是,推理对应于松弛到一个唯一的自由能最小值,F_min=0,允许所有约束得到满足而无残余应力。相比之下,训练过度约束系统:同时固定输入和输出会生成应力,这些应力通过架构向后传播,重现了反向传播的规则。参数退火然后松弛这些应力,提供了一条纯物理的学习路径,而无需显式的损失函数。我们进一步推导出一个通用训练能耗下限,E<2NDkT,该下限与可训练参数数量和数据集大小成正比。

英文摘要:

How much of the energy consumed by artificial neural networks is set by physics rather than by implementation? For irreversible digital hardware the reference is Landauer's principle, which charges $k_B T\ln 2$ per erased bit. We map a generic feedforward network onto a physical Hamiltonian in which each layer relation is an elastic compatibility constraint, and obtain two exact bounds. First, its equilibrium free energy is independent of the input and of every weight and bias, at all temperatures, so quasi-static inference requires no work whatsoever: no thermodynamic cost attaches to computation itself. Second, at finite speed the work exceeds the squared Wasserstein-2 distance between the initial and final thermal states, divided by the protocol duration. Relaxed to an entropic measure of distinguishability, this identifies the cost with the information separating successive inputs, about $k_B T$ per dimension of the widest layer at the fastest usable speed. Learning is fundamentally different: writing the parameters carries an irreducible cost of a few $k_B T$ each that survives the quasi-static limit. The thermodynamic price of a neural network is therefore set by its memory rather than its arithmetic. Simulations confirm both bounds: the inference work saturates the transport bound to within four percent, and accuracy collapses once the dissipated work falls below the thermal scale.

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

↑