Sparse and Structured Hopfield Networks

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Santos, Saul, Niculae, Vlad, McNamee, Daniel, Martins, Andre F. T.
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911904244432896
author Santos, Saul
Niculae, Vlad
McNamee, Daniel
Martins, Andre F. T.
author_facet Santos, Saul
Niculae, Vlad
McNamee, Daniel
Martins, Andre F. T.
contents Modern Hopfield networks have enjoyed recent interest due to their connection to attention in transformers. Our paper provides a unified framework for sparse Hopfield networks by establishing a link with Fenchel-Young losses. The result is a new family of Hopfield-Fenchel-Young energies whose update rules are end-to-end differentiable sparse transformations. We reveal a connection between loss margins, sparsity, and exact memory retrieval. We further extend this framework to structured Hopfield networks via the SparseMAP transformation, which can retrieve pattern associations instead of a single pattern. Experiments on multiple instance learning and text rationalization demonstrate the usefulness of our approach.
format Preprint
id arxiv_https___arxiv_org_abs_2402_13725
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Sparse and Structured Hopfield Networks
Santos, Saul
Niculae, Vlad
McNamee, Daniel
Martins, Andre F. T.
Machine Learning
Modern Hopfield networks have enjoyed recent interest due to their connection to attention in transformers. Our paper provides a unified framework for sparse Hopfield networks by establishing a link with Fenchel-Young losses. The result is a new family of Hopfield-Fenchel-Young energies whose update rules are end-to-end differentiable sparse transformations. We reveal a connection between loss margins, sparsity, and exact memory retrieval. We further extend this framework to structured Hopfield networks via the SparseMAP transformation, which can retrieve pattern associations instead of a single pattern. Experiments on multiple instance learning and text rationalization demonstrate the usefulness of our approach.
title Sparse and Structured Hopfield Networks
topic Machine Learning
url https://arxiv.org/abs/2402.13725