arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.18434cs.LGcond-mat.dis-nn
收藏

探索现代 Hopfield 网络中的温度依赖相变

Exploring the Temperature-Dependent Phase Transition in Modern Hopfield Networks

IDLab, Ghent University – imec(根特大学-IDLab(校际微电子中心));Ghent University(根特大学)

Felix Koulischer, Cédric Goemaere, Tom van der Meersch, Johannes Deleu, Thomas Demeester

AI总结:

本文通过简化现代 Hopfield 网络研究逆温度超参数 β 对能量极小值分布的影响,发现系统在临界温度处发生相变,且动力学由依赖存储模式分布与规模的有效逆温度决定,为优化 Transformers 超参数选择提供启示。

摘要:

近期,Transformers 与现代 Hopfield 网络(MHNs)之间联系的发现,重新激发了从基于物理能量的视角研究神经网络的兴趣。本文聚焦于逆温度超参数 $β$ 对 MHN 能量极小值分布的关键影响。为此,我们在一个存储等距归一化模式的简化 MHN 中追踪能量极小值的分布。该网络在临界温度 $β_{\ ext{c}}$ 处表现出相变:随着 $β$ 增大,系统从单一全局吸引子转变为高度模式特异性的极小值。重要的是,动力学并非仅由超参数 $β$ 单独支配,而是由一个有效逆温度 $β_{\ ext{eff}}$ 决定,该有效逆温度还依赖于所存储模式的分布和规模。认识到超参数在 MHN 中的作用,未来可能有助于 Transformers 领域的研究者优化其初始选择,从而潜在地减少进行耗时耗能的超参数微调的必要性。

英文摘要:

The recent discovery of a connection between Transformers and Modern Hopfield Networks (MHNs) has reignited the study of neural networks from a physical energy-based perspective. This paper focuses on the pivotal effect of the inverse temperature hyperparameter $β$ on the distribution of energy minima of the MHN. To achieve this, the distribution of energy minima is tracked in a simplified MHN in which equidistant normalised patterns are stored. This network demonstrates a phase transition at a critical temperature $β_{\text{c}}$, from a single global attractor towards highly pattern specific minima as $β$ is increased. Importantly, the dynamics are not solely governed by the hyperparameter $β$ but are instead determined by an effective inverse temperature $β_{\text{eff}}$ which also depends on the distribution and size of the stored patterns. Recognizing the role of hyperparameters in the MHN could, in the future, aid researchers in the domain of Transformers to optimise their initial choices, potentially reducing the necessity for time and energy expensive hyperparameter fine-tuning.

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

↑