arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.15673cs.LGcs.NE
收藏

加速Hopfield网络动力学:超越同步更新与前向欧拉法

Accelerating Hopfield Network Dynamics: Beyond Synchronous Updates and Forward Euler

Ghent University(根特大学);imec(imec研究院)

Cédric Goemaere, Johannes Deleu, Thomas Demeester

AI总结:

本文提出将Hopfield网络视为深度平衡模型,利用专门求解器和奇偶分裂技术,实现比传统同步更新快约两倍的异步并行收敛,并验证了其在能量最小化中的优势。

摘要:

Hopfield网络作为机器学习中一种基础的基于能量的模型,通过常微分方程(ODE)捕捉记忆检索动力学。该模型的输出,即ODE的平衡点,传统上通过使用前向欧拉法的同步更新来计算。本文旨在克服这种方法的一些缺点。我们提出了一种概念上的转变,将Hopfield网络视为深度平衡模型(DEQs)的实例。DEQ框架不仅允许使用专门的求解器,而且还为一种经验性推理技术提供了新的见解,我们将其称为“奇偶分裂”。我们对该方法的理论分析揭示了一种可并行的异步更新方案,其收敛速度应约为传统同步更新的两倍。实证评估验证了这些发现,展示了DEQ框架和奇偶分裂在数字模拟Hopfield网络中能量最小化的优势。代码可在https://github.com/cgoemaere/hopdeq获取。

英文摘要:

The Hopfield network serves as a fundamental energy-based model in machine learning, capturing memory retrieval dynamics through an ordinary differential equation (ODE). The model's output, the equilibrium point of the ODE, is traditionally computed via synchronous updates using the forward Euler method. This paper aims to overcome some of the disadvantages of this approach. We propose a conceptual shift, viewing Hopfield networks as instances of Deep Equilibrium Models (DEQs). The DEQ framework not only allows for the use of specialized solvers, but also leads to new insights on an empirical inference technique that we will refer to as 'even-odd splitting'. Our theoretical analysis of the method uncovers a parallelizable asynchronous update scheme, which should converge roughly twice as fast as the conventional synchronous updates. Empirical evaluations validate these findings, showcasing the advantages of both the DEQ framework and even-odd splitting in digitally simulating energy minimization in Hopfield networks. The code is available at https://github.com/cgoemaere/hopdeq

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

↑