arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.12673cs.LGcs.AIcs.CVstat.ML
收藏

关于稀疏现代 Hopfield 模型

On Sparse Modern Hopfield Model

Northwestern University(西北大学);National Taiwan University(国立台湾大学)

Jerry Yao-Chieh Hu, Donglin Yang, Dennis Wu, Chenwei Xu, Bo-Yu Chen, Han Liu

AI总结:

本文提出稀疏现代 Hopfield 模型,利用稀疏熵正则项的凸共轭推导闭合形式能量与检索动力学,证明其一步近似等价于稀疏注意力,并给出更紧的误差界及指数级记忆容量,实验显示其在多种场景下优于稠密模型。

摘要:

我们引入稀疏现代 Hopfield 模型,作为现代 Hopfield 模型的稀疏扩展。与其稠密对应模型类似,稀疏现代 Hopfield 模型具备一种记忆检索动力学,其一步近似对应于稀疏注意力机制。在理论上,我们的关键贡献是利用稀疏熵正则项的凸共轭,有原则地推导出闭合形式的稀疏 Hopfield 能量。在此基础上,我们从稀疏能量函数推导出稀疏记忆检索动力学,并证明其一步近似等价于稀疏结构注意力。重要的是,我们给出了一个依赖于稀疏度的记忆检索误差界,该误差界可证明比其稠密对应版本更紧。因此,我们识别并讨论了稀疏性带来益处的条件。此外,我们证明稀疏现代 Hopfield 模型保持了其稠密对应模型的稳健理论性质,包括快速不动点收敛和指数级记忆容量。在实验上,我们使用合成数据集和真实世界数据集证明,稀疏 Hopfield 模型在许多情况下优于其稠密对应模型。

英文摘要:

We introduce the sparse modern Hopfield model as a sparse extension of the modern Hopfield model. Like its dense counterpart, the sparse modern Hopfield model equips a memory-retrieval dynamics whose one-step approximation corresponds to the sparse attention mechanism. Theoretically, our key contribution is a principled derivation of a closed-form sparse Hopfield energy using the convex conjugate of the sparse entropic regularizer. Building upon this, we derive the sparse memory retrieval dynamics from the sparse energy function and show its one-step approximation is equivalent to the sparse-structured attention. Importantly, we provide a sparsity-dependent memory retrieval error bound which is provably tighter than its dense analog. The conditions for the benefits of sparsity to arise are therefore identified and discussed. In addition, we show that the sparse modern Hopfield model maintains the robust theoretical properties of its dense counterpart, including rapid fixed point convergence and exponential memory capacity. Empirically, we use both synthetic and real-world datasets to demonstrate that the sparse Hopfield model outperforms its dense counterpart in many situations.

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

↑