Nonparametric Modern Hopfield Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Hu, Jerry Yao-Chieh, Chen, Bo-Yu, Wu, Dennis, Ruan, Feng, Liu, Han
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915332163108864
author Hu, Jerry Yao-Chieh
Chen, Bo-Yu
Wu, Dennis
Ruan, Feng
Liu, Han
author_facet Hu, Jerry Yao-Chieh
Chen, Bo-Yu
Wu, Dennis
Ruan, Feng
Liu, Han
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2404_03900
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Nonparametric Modern Hopfield Models
Hu, Jerry Yao-Chieh
Chen, Bo-Yu
Wu, Dennis
Ruan, Feng
Liu, Han
Machine Learning
Artificial Intelligence
Neural and Evolutionary Computing
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.
title Nonparametric Modern Hopfield Models
topic Machine Learning
Artificial Intelligence
Neural and Evolutionary Computing
url https://arxiv.org/abs/2404.03900