arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.03900stat.MLcs.AIcs.LGcs.NE
收藏

非参数现代 Hopfield 模型

Nonparametric Modern Hopfield Models

Department of Computer Science, Northwestern University, Evanston, IL, USA(计算机科学系,西北大学,伊利诺伊州埃文斯顿);Department of Physics and Computer Science, National Taiwan University, Taipei, Taiwan(物理与计算机科学系,国立台湾大学,台湾台北);Department of Statistics and Data Science, Northwestern University, Evanston, IL, USA(统计与数据科学系,西北大学,伊利诺伊州埃文斯顿)

Jerry Yao-Chieh Hu, Bo-Yu Chen, Dennis Wu, Feng Ruan, Han Liu

AI总结:

本文将现代 Hopfield 模型的记忆存储与检索解释为非参数回归,提出次二次复杂度的稀疏结构化变体及多种扩展,并验证其理论性质与实验效果。

摘要:

我们为兼容深度学习的现代 Hopfield 模型提出了一种非参数解释,并利用这一新视角首次推出高效变体。我们的关键贡献源于将现代 Hopfield 模型中的记忆存储与检索过程解释为一个受一组查询-记忆对约束的非参数回归问题。有趣的是,我们的框架不仅恢复了原始稠密现代 Hopfield 模型的已知结果,还通过引入具有次二次复杂度的 sparse-structured(稀疏结构化)现代 Hopfield 模型,填补了文献中关于高效现代 Hopfield 模型的空白。我们证明,该稀疏模型继承了其稠密对应模型的优良理论性质——与 transformer attention 的联系、不动点收敛性和指数级记忆容量。此外,我们通过构建一系列现代 Hopfield 模型作为扩展来展示框架的多功能性,包括 linear、random masked、top-K 和 positive random feature 现代 Hopfield 模型。在实验方面,我们在合成与现实场景中的记忆检索和学习任务上验证了该框架。

英文摘要:

We present a nonparametric interpretation for deep learning compatible modern Hopfield models and utilize this new perspective to debut efficient variants. Our key contribution stems from interpreting the memory storage and retrieval processes in modern Hopfield models as a nonparametric regression problem subject to a set of query-memory pairs. Interestingly, our framework not only recovers the known results from the original dense modern Hopfield model but also fills the void in the literature regarding efficient modern Hopfield models, by introducing \textit{sparse-structured} modern Hopfield models with sub-quadratic complexity. We establish that this sparse model inherits the appealing theoretical properties of its dense analogue -- connection with transformer attention, fixed point convergence and exponential memory capacity. Additionally, we showcase the versatility of our framework by constructing a family of modern Hopfield models as extensions, including linear, random masked, top-$K$ and positive random feature modern Hopfield models. Empirically, we validate our framework in both synthetic and realistic settings for memory retrieval and learning tasks.

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

↑